|
CP2K 2.5 (Revision 12981)
|
set of type/routines to handle the storage of results in force_envs More...
Classes | |
| interface | put_results |
| interface | get_results |
Functions | |
| subroutine | put_result_r1 (results, description, values, error) |
| Store a 1D array of reals in result_list. | |
| subroutine | put_result_r2 (results, description, values, error) |
| Store a 2D array of reals in result_list. | |
| subroutine | get_result_r1 (results, description, values, nval, n_rep, n_entries, error) |
| gets the required part out of the result_list | |
| subroutine | get_result_r2 (results, description, values, nval, n_rep, n_entries, error) |
| gets the required part out of the result_list | |
| subroutine | get_nreps (results, description, n_rep, n_entries, type_in_use, error) |
| gets the required part out of the result_list | |
| subroutine, public | cp_results_erase (results, description, nval, error) |
| erase a part of result_list | |
| subroutine, public | cp_results_mp_bcast (results, source, para_env, error) |
| broadcast results type | |
Variables | |
| CHARACTER(len=*), parameter, private | moduleN = 'cp_result_methods' |
set of type/routines to handle the storage of results in force_envs
| subroutine,public cp_result_methods::cp_results_erase | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length),optional | description, | ||
| INTEGER,optional | nval, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
erase a part of result_list
| nval | : if more than one entry for a given description is given you may choose which entry you want to delete |
Definition at line 354 of file cp_result_methods.f90.
References cp_result_types::cp_result_clean(), cp_result_types::cp_result_copy(), cp_result_types::cp_result_create(), cp_result_types::cp_result_release(), cp_result_types::cp_result_value_copy(), cp_result_types::cp_result_value_create(), and CPPostcondition.
Referenced by fist_force::fist_dipole(), force_env_methods::mixed_energy_forces(), mixed_environment_utils::mixed_map_forces(), qs_moments::qs_moment_berry_phase(), qs_moments::qs_moment_locop(), and qs_scf_post_gpw::qs_scf_post_loc_dip().
Here is the call graph for this function:
Here is the caller graph for this function:| subroutine,public cp_result_methods::cp_results_mp_bcast | ( | TYPE(cp_result_type),pointer | results, |
| INTEGER,intent(in) | source, | ||
| TYPE(cp_para_env_type),pointer | para_env, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
broadcast results type
Definition at line 433 of file cp_result_methods.f90.
References cp_result_types::cp_result_clean(), cp_result_types::cp_result_value_create(), cp_result_types::cp_result_value_init(), CPPostcondition, get_nreps(), and input_val_types::integer_t.
Referenced by replica_types::rep_env_sync_results().
Here is the call graph for this function:
Here is the caller graph for this function:| subroutine cp_result_methods::get_nreps | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length) | description, | ||
| INTEGER,optional | n_rep, | ||
| INTEGER,optional | n_entries, | ||
| INTEGER,optional | type_in_use, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
gets the required part out of the result_list
| n_rep | : integer indicating how many times the section exists in result_list |
| n_entries | : gets the number of lines used for a given description |
Definition at line 293 of file cp_result_methods.f90.
References CPPostcondition, and input_val_types::integer_t.
Referenced by cp_results_mp_bcast().
Here is the caller graph for this function:| subroutine cp_result_methods::get_result_r1 | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length) | description, | ||
| REAL(KIND=dp),dimension(:) | values, | ||
| INTEGER,optional | nval, | ||
| INTEGER,optional | n_rep, | ||
| INTEGER,optional | n_entries, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
gets the required part out of the result_list
| nval | : if more than one entry for a given description is given you may choose which entry you want |
| n_rep | : integer indicating how many times the section exists in result_list |
| n_entries | : gets the number of lines used for a given description |
Definition at line 134 of file cp_result_methods.f90.
References CPPostcondition.
| subroutine cp_result_methods::get_result_r2 | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length) | description, | ||
| REAL(KIND=dp),dimension(:, :) | values, | ||
| INTEGER,optional | nval, | ||
| INTEGER,optional | n_rep, | ||
| INTEGER,optional | n_entries, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
gets the required part out of the result_list
| nval | : if more than one entry for a given description is given you may choose which entry you want |
| n_rep | : integer indicating how many times the section exists in result_list |
| n_entries | : gets the number of lines used for a given description |
Definition at line 214 of file cp_result_methods.f90.
References CPPostcondition.
| subroutine cp_result_methods::put_result_r1 | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length) | description, | ||
| REAL(KIND=dp),dimension(:) | values, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
Store a 1D array of reals in result_list.
Definition at line 58 of file cp_result_methods.f90.
References cp_result_types::cp_result_value_init(), cp_result_types::cp_result_value_p_reallocate(), and CPPostcondition.
Here is the call graph for this function:| subroutine cp_result_methods::put_result_r2 | ( | TYPE(cp_result_type),pointer | results, |
| CHARACTER(LEN=default_string_length) | description, | ||
| REAL(KIND=dp),dimension(:, :) | values, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
Store a 2D array of reals in result_list.
Definition at line 94 of file cp_result_methods.f90.
References cp_result_types::cp_result_value_init(), cp_result_types::cp_result_value_p_reallocate(), and CPPostcondition.
Here is the call graph for this function:| CHARACTER(len=*),parameter,private cp_result_methods::moduleN = 'cp_result_methods' |
Definition at line 34 of file cp_result_methods.f90.
1.7.3