38#include "../../base/base_uses.f90" 
   43   LOGICAL, 
PRIVATE, 
PARAMETER :: debug_this_module = .true.
 
   44   CHARACTER(len=*), 
PARAMETER, 
PRIVATE :: moduleN = 
'input_cp2k_barostats' 
   60      TYPE(
section_type), 
POINTER                        :: subsection, thermo_section
 
   62      cpassert(.NOT. 
ASSOCIATED(section))
 
   64                          description=
"Parameters of barostat.", &
 
   65                          n_keywords=1, n_subsections=0, repeats=.false.)
 
   67      NULLIFY (keyword, subsection, thermo_section)
 
   69                          description=
"Initial pressure", &
 
   70                          usage=
"PRESSURE real", &
 
   71                          default_r_val=0._dp, unit_str=
'bar')
 
   76                          description=
"Barostat time constant", &
 
   77                          usage=
"TIMECON real", &
 
   84                          description=
"Barostat initial temperature. If not set, the ensemble temperature is used instead.", &
 
   85                          usage=
"TEMPERATURE real", type_of_var=
real_t, &
 
   91                          description=
"Maximum oscillation of the Barostat temperature imposed by rescaling.", &
 
   92                          usage=
"TEMP_TOL real", default_r_val=0._dp, &
 
   98                          description=
"For NPT_F only: allows the screening of one or more components of the virial in order"// &
 
   99                          " to relax the cell only along specific cartesian axis", &
 
  100                          usage=
"VIRIAL (XYZ | X | Y | Z | XY| XZ | YZ)", &
 
  101                          enum_c_vals=
s2a(
"XYZ", 
"X", 
"Y", 
"Z", 
"XY", 
"XZ", 
"YZ"), &
 
  119      CALL create_print_section(subsection)
 
 
  130   SUBROUTINE create_print_section(section)
 
  135      cpassert(.NOT. 
ASSOCIATED(section))
 
  138                          description=
"Collects all print_keys for barostat", &
 
  139                          n_keywords=1, n_subsections=0, repeats=.false.)
 
  142                                       description=
"Controls the output of kinetic energy, and potential energy "// &
 
  143                                       "of the defined barostat.", print_level=
high_print_level, common_iter_levels=1, &
 
  147   END SUBROUTINE create_print_section
 
Barostat structure: module containing barostat available for MD.
 
integer, parameter, public do_clv_y
 
integer, parameter, public do_clv_xyz
 
integer, parameter, public do_clv_yz
 
integer, parameter, public do_clv_xy
 
integer, parameter, public do_clv_z
 
integer, parameter, public do_clv_xz
 
integer, parameter, public do_clv_x
 
routines to handle the output, The idea is to remove the decision of wheter to output and what to out...
 
integer, parameter, public high_print_level
 
subroutine, public cp_print_key_section_create(print_key_section, location, name, description, print_level, each_iter_names, each_iter_values, add_last, filename, common_iter_levels, citations, unit_str)
creates a print_key section
 
real(kind=dp) function, public cp_unit_to_cp2k(value, unit_str, defaults, power)
converts to the internal cp2k units to the given unit
 
Defines the basic variable types.
 
integer, parameter, public dp
 
Utilities for string manipulations.