24 #include "./base/base_uses.f90"
30 CHARACTER(len=*),
PARAMETER,
PRIVATE :: moduleN =
'rel_control_types'
31 LOGICAL,
PRIVATE,
PARAMETER :: debug_this_module = .true.
35 PUBLIC :: rel_control_type
57 INTEGER :: rel_DKH_order
58 INTEGER :: rel_ZORA_type
59 INTEGER :: rel_transformation
60 INTEGER :: rel_z_cutoff
61 INTEGER :: rel_potential
62 END TYPE rel_control_type
76 TYPE(rel_control_type),
INTENT(OUT) :: rel_control
81 rel_control%rel_DKH_order = 2
84 rel_control%rel_z_cutoff = 1
101 TYPE(rel_control_type),
INTENT(IN) :: rel_control
103 mark_used(rel_control)
119 TYPE(rel_control_type),
INTENT(INOUT) :: rel_control
120 TYPE(section_vals_type),
POINTER :: dft_section
122 TYPE(section_vals_type),
POINTER :: rel_section
124 cpassert(
ASSOCIATED(dft_section))
128 i_val=rel_control%rel_method)
130 i_val=rel_control%rel_DKH_order)
132 i_val=rel_control%rel_zora_type)
134 i_val=rel_control%rel_transformation)
136 i_val=rel_control%rel_z_cutoff)
138 i_val=rel_control%rel_potential)
parameters that control a relativistic calculation
subroutine, public rel_c_create(rel_control)
allocates and initializes an rel control object with the default values
subroutine, public rel_c_read_parameters(rel_control, dft_section)
reads the parameters of the relativistic section into the given rel_control
subroutine, public rel_c_release(rel_control)
releases the given rel_control (see cp2k/doc/ReferenceCounting.html)