(git:ede6ae9)
Loading...
Searching...
No Matches
qs_cdft_opt_types::cdft_opt_type Type Reference

contains the parameters needed by CDFT specific optimizers More...

Data Fields

logical build_jacobian = .FALSE.
 
logical broyden_update = .FALSE.
 
logical continue_ls = .FALSE.
 
logical jacobian_restart = .FALSE.
 
real(kind=dp) newton_step = 0.0_dp
 
real(kind=dp) newton_step_save = 0.0_dp
 
real(kind=dp) factor_ls = 0.0_dp
 
real(kind=dp), dimension(:), allocatable jacobian_step
 
real(kind=dp), dimension(:), pointer jacobian_vector => NULL()
 
integer jacobian_type = -1
 
integer broyden_type = -1
 
integer, dimension(2) jacobian_freq = -1
 
integer, dimension(2) ijacobian = -1
 
integer max_ls = -1
 

Detailed Description

contains the parameters needed by CDFT specific optimizers

Parameters
build_jacobianlogical which determines if the inverse Jacobian should be computed
jacobian_stepthe step size for calculating the finite difference Jacobian
newton_stepthe step size used by the Newton optimizer with values between 0 and 1
newton_step_savepermanent copy of the above
jacobian_typethe finite difference scheme to compute the Jacobian
broyden_typethe variant of Broyden's method to use
jacobian_freqcontrol parameters defining how often the Jacobian is built
ijacobiancounter to track how many SCF iterations/energy evaluations have passed since the last Jacobian rebuild
broyden_updatelogical which determines if a Broyden update is needed
max_lsthe maximum number of backtracking line search steps to perform
continue_lscontinue line search until max steps are reached or until the gradient no longer decreases
factor_lsline search parameter used in generating a new step size
History
created [03.2018]
Author
Nico Holmberg [03.2018]

Definition at line 65 of file qs_cdft_opt_types.F.

Field Documentation

◆ build_jacobian

logical qs_cdft_opt_types::cdft_opt_type::build_jacobian = .FALSE.

Definition at line 66 of file qs_cdft_opt_types.F.

◆ broyden_update

logical qs_cdft_opt_types::cdft_opt_type::broyden_update = .FALSE.

Definition at line 67 of file qs_cdft_opt_types.F.

◆ continue_ls

logical qs_cdft_opt_types::cdft_opt_type::continue_ls = .FALSE.

Definition at line 68 of file qs_cdft_opt_types.F.

◆ jacobian_restart

logical qs_cdft_opt_types::cdft_opt_type::jacobian_restart = .FALSE.

Definition at line 69 of file qs_cdft_opt_types.F.

◆ newton_step

real(kind=dp) qs_cdft_opt_types::cdft_opt_type::newton_step = 0.0_dp

Definition at line 70 of file qs_cdft_opt_types.F.

◆ newton_step_save

real(kind=dp) qs_cdft_opt_types::cdft_opt_type::newton_step_save = 0.0_dp

Definition at line 71 of file qs_cdft_opt_types.F.

◆ factor_ls

real(kind=dp) qs_cdft_opt_types::cdft_opt_type::factor_ls = 0.0_dp

Definition at line 72 of file qs_cdft_opt_types.F.

◆ jacobian_step

real(kind=dp), dimension(:), allocatable qs_cdft_opt_types::cdft_opt_type::jacobian_step

Definition at line 73 of file qs_cdft_opt_types.F.

◆ jacobian_vector

real(kind=dp), dimension(:), pointer qs_cdft_opt_types::cdft_opt_type::jacobian_vector => NULL()

Definition at line 75 of file qs_cdft_opt_types.F.

◆ jacobian_type

integer qs_cdft_opt_types::cdft_opt_type::jacobian_type = -1

Definition at line 77 of file qs_cdft_opt_types.F.

◆ broyden_type

integer qs_cdft_opt_types::cdft_opt_type::broyden_type = -1

Definition at line 78 of file qs_cdft_opt_types.F.

◆ jacobian_freq

integer, dimension(2) qs_cdft_opt_types::cdft_opt_type::jacobian_freq = -1

Definition at line 79 of file qs_cdft_opt_types.F.

◆ ijacobian

integer, dimension(2) qs_cdft_opt_types::cdft_opt_type::ijacobian = -1

Definition at line 80 of file qs_cdft_opt_types.F.

◆ max_ls

integer qs_cdft_opt_types::cdft_opt_type::max_ls = -1

Definition at line 81 of file qs_cdft_opt_types.F.


The documentation for this type was generated from the following file: