|
CP2K 2.4 (Revision 12889)
|
parameters that control an scf iteration More...
Classes | |
| struct | outer_scf_control_type |
| contains the parameters needed by a scf run More... | |
| struct | smear_type |
| struct | diagonalization_type |
| struct | scf_control_type |
Functions | |
| subroutine, public | scf_c_create (scf_control, error) |
| allocates and initializes an scf control object with the default values | |
| subroutine, public | scf_c_retain (scf_control, error) |
| retains the given scf_control (see cp2k/doc/ReferenceCounting.html) | |
| subroutine, public | scf_c_release (scf_control, error) |
| releases the given scf_control (see cp2k/doc/ReferenceCounting.html) | |
| subroutine, public | scf_c_read_parameters (scf_control, dft_section, error) |
| reads the parameters of the scf section into the given scf_control | |
| subroutine, public | init_smear (smear, error) |
| subroutine, public | read_smear_section (smear, smear_section, error) |
| subroutine, public | scf_c_write_parameters (scf_control, dft_section, error) |
| writes out the scf parameters | |
| subroutine | ot_diag_read_input (settings, scf_section, error) |
Variables | |
| CHARACTER(len=*), parameter, private | moduleN = 'scf_control_types' |
| LOGICAL, parameter, private | debug_this_module = .TRUE. |
| INTEGER, save | last_scf_c_id_nr = 0 |
parameters that control an scf iteration
| subroutine,public scf_control_types::init_smear | ( | TYPE(smear_type),pointer | smear, |
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
Definition at line 534 of file scf_control_types.f90.
References CPPostcondition, and input_constants::smear_energy_window.
Referenced by scf_c_read_parameters(), and xas_methods::xas_env_init().
Here is the caller graph for this function:| subroutine scf_control_types::ot_diag_read_input | ( | TYPE(qs_ot_settings_type) | settings, |
| TYPE(section_vals_type),pointer | scf_section, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) | [private] |
Definition at line 796 of file scf_control_types.f90.
References cp_output_handling::cp_print_key_finished_output(), qs_ot_types::ot_readwrite_input(), and timings::timeset().
Referenced by scf_c_read_parameters().
Here is the call graph for this function:
Here is the caller graph for this function:| subroutine,public scf_control_types::read_smear_section | ( | TYPE(smear_type),pointer | smear, |
| TYPE(section_vals_type),pointer | smear_section, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
Definition at line 559 of file scf_control_types.f90.
References CPPostcondition, and input_constants::smear_list.
Referenced by scf_c_read_parameters().
Here is the caller graph for this function:| subroutine,public scf_control_types::scf_c_create | ( | TYPE(scf_control_type),pointer | scf_control, |
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
allocates and initializes an scf control object with the default values
| scf_control | the object to initialize |
| error | variable to control error logging, stopping,... see module cp_error_handling |
Definition at line 161 of file scf_control_types.f90.
References input_constants::atomic_guess, CPPostcondition, input_constants::direct_p_mix, input_constants::high_spin_roks, last_scf_c_id_nr, and timings::timeset().
Referenced by qs_environment::qs_init_subsys().
Here is the call graph for this function:
Here is the caller graph for this function:| subroutine,public scf_control_types::scf_c_read_parameters | ( | TYPE(scf_control_type),pointer | scf_control, |
| TYPE(section_vals_type),pointer | dft_section, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
reads the parameters of the scf section into the given scf_control
| scf_control | the object that wil contain the values read |
| error | controls log and error handling |
Definition at line 359 of file scf_control_types.f90.
References input_constants::core_guess, input_constants::diag_ot, input_constants::general_roks, input_constants::high_spin_roks, init_smear(), input_constants::ot_algo_taylor_or_diag, ot_diag_read_input(), read_smear_section(), termination::stop_program(), and timings::timeset().
Here is the call graph for this function:| subroutine,public scf_control_types::scf_c_release | ( | TYPE(scf_control_type),pointer | scf_control, |
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
releases the given scf_control (see cp2k/doc/ReferenceCounting.html)
| scf_control | the object to free |
| error | variable to control error logging, stopping,... see module cp_error_handling |
Definition at line 318 of file scf_control_types.f90.
References CPPostcondition.
Referenced by qs_environment_types::qs_env_release(), and qs_environment_types::set_qs_env().
Here is the caller graph for this function:| subroutine,public scf_control_types::scf_c_retain | ( | TYPE(scf_control_type),pointer | scf_control, |
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
retains the given scf_control (see cp2k/doc/ReferenceCounting.html)
| scf_control | the object to retain |
| error | variable to control error logging, stopping,... see module cp_error_handling |
Definition at line 286 of file scf_control_types.f90.
| subroutine,public scf_control_types::scf_c_write_parameters | ( | TYPE(scf_control_type),pointer | scf_control, |
| TYPE(section_vals_type),pointer | dft_section, | ||
| TYPE(cp_error_type),intent(inout) | error | ||
| ) |
writes out the scf parameters
| scf_control | the object you want to print |
| error | controls log and error handling |
Definition at line 616 of file scf_control_types.f90.
References cp_output_handling::cp_print_key_finished_output(), cp_units::cp_unit_from_cp2k(), input_cp2k_dft::create_scf_section(), input_enumeration_types::enum_i2c(), input_constants::general_roks, input_constants::high_spin_roks, input_keyword_types::keyword_get(), input_constants::outer_scf_becke_constraint, input_constants::outer_scf_ddapc_constraint, input_constants::outer_scf_none, input_constants::outer_scf_optimizer_bisect, input_constants::outer_scf_optimizer_diis, input_constants::outer_scf_optimizer_none, input_constants::outer_scf_optimizer_sd, input_constants::outer_scf_s2_constraint, input_constants::outer_scf_scp, input_section_types::section_get_keyword(), input_constants::smear_energy_window, input_constants::smear_fermi_dirac, and timings::timeset().
Here is the call graph for this function:| LOGICAL,parameter,private scf_control_types::debug_this_module = .TRUE. |
Definition at line 55 of file scf_control_types.f90.
Definition at line 57 of file scf_control_types.f90.
Referenced by scf_c_create().
| CHARACTER(len=*),parameter,private scf_control_types::moduleN = 'scf_control_types' |
Definition at line 54 of file scf_control_types.f90.
1.7.3