58 NULLIFY (keyword, section, print_key)
61 description=
"Controls the printing properties during an MD/Optimization run", &
62 n_keywords=1, n_subsections=1, repeats=.true.)
65 variants=[
"MEMORY"], &
66 description=
"Whether overall memory usage should be sampled and printed "// &
67 "at each MD/Optimization step.", &
68 usage=
"MEMORY_INFO LOGICAL", &
69 default_l_val=.true., lone_keyword_l_val=.true.)
74 description=
"Controls the output of the trajectory", &
76 filename=
"", unit_str=
"angstrom")
78 description=
"Specifies the format of the output file for the trajectory.")
83 print_key, __location__,
"SHELL_TRAJECTORY", &
84 description=
"Controls the output of the trajectory of shells when the shell-model is used ", &
86 filename=
"", unit_str=
"angstrom")
88 description=
"Specifies the format of the output file for the trajectory of shells.")
93 description=
"Controls the output of the trajectory of cores when the shell-model is used ", &
95 filename=
"", unit_str=
"angstrom")
97 description=
"Specifies the format of the output file for the trajectory of cores.")
102 description=
"Controls the output of the simulation cell. "// &
103 "For later analysis of the trajectory it is recommendable that the "// &
104 "frequency of printing is the same as the one used for the trajectory file.", &
111 description=
"Controls the output of the atomic velocities. "// &
112 "The default unit for the atomic velocities $v$ is bohr/au_time. "// &
113 "The kinetic energy $K_i$ in [hartree] of an atom $i$ with mass $m_i$ in "// &
114 "atomic mass units [amu] (or just [u]) and velocity $v_i$ can be obtained by "// &
115 "$K_i = \frac{1}{2}f_u\,m_i\,v_i^2$ with $f_u = 1822.888$ as conversion factor "// &
116 "from [u] to [a.u.]. $f_u$ is printed in full precision in the top of the CP2K "// &
117 "output for print level MEDIUM or higher.", &
119 filename=
"", unit_str=
"bohr*au_t^-1")
121 description=
"Specifies the format of the output file for the velocities.")
126 description=
"Controls the output of the velocities of shells when the shell model is used", &
128 filename=
"", unit_str=
"bohr*au_t^-1")
130 description=
"Specifies the format of the output file for the velocities of shells.")
135 description=
"controls the output of the velocities of cores when the shell model is used", &
137 filename=
"", unit_str=
"bohr*au_t^-1")
139 description=
"Specifies the format of the output file for the velocities of cores.")
148 description=
"Controls the dumping of the final "// &
149 "geometry and cell for optimization tasks. ", &
153 description=
"Print the final structure as CIF. Currently the "// &
154 "structure will always be dumped with the space "// &
155 "group `P 1` and a single symmetry-equivalent "// &
156 "position `x, y, z` for all of the atoms.", &
157 usage=
"PRINT_CIF T", default_l_val=.true., &
158 lone_keyword_l_val=.true.)
163 description=
"Print the final structure as XYZ. The cell "// &
164 "information is available in the comment line according "// &
165 "to the extended XYZ specification as the `Lattice=...` "// &
166 "field, and the unit is angstrom for both the cell vectors "// &
167 "and the atomic coordinates.", &
168 usage=
"PRINT_XYZ T", default_l_val=.true., &
169 lone_keyword_l_val=.true.)
177 print_key, __location__,
"FORCE_MIXING_LABELS", &
178 description=
"Controls the output of the force mixing (FORCE_EVAL&QMMM&FORCE_MIXING) labels", &
182 description=
"Specifies the format of the output file for the force mixing labels.")
187 description=
"Controls the output of the forces", &
189 filename=
"", unit_str=
"hartree*bohr^-1")
191 description=
"Specifies the format of the output file for the forces.")
196 description=
"Controls the output of the forces on shells when shell-model is used", &
198 filename=
"", unit_str=
"hartree*bohr^-1")
200 description=
"Specifies the format of the output file for the forces on shells.")
205 description=
"Controls the output of the forces on cores when shell-model is used", &
207 filename=
"", unit_str=
"hartree*bohr^-1")
209 description=
"Specifies the format of the output file for the forces on cores.")
214 description=
"Controls the output of the energies of the two "// &
215 "regular FORCE_EVALS in the MIXED method "// &
216 "printed is step,time,Etot,E_F1,E_F2,CONS_QNT", &
223 description=
"Controls the output of the stress tensor", &
230 description=
"Controls the output of the polarisability tensor during an MD run", &
237 description=
"Controls the dumping of the restart file during runs. "// &
238 "By default keeps a short history of three restarts. See also RESTART_HISTORY", &
239 each_iter_names=
s2a(
"MD"), each_iter_values=[20], &
243 CALL keyword_create(keyword, __location__, name=
"BACKUP_COPIES", &
244 description=
"Specifies the maximum number of backup copies.", &
245 usage=
"BACKUP_COPIES {int}", &
250 CALL keyword_create(keyword, __location__, name=
"SPLIT_RESTART_FILE", &
251 description=
"If specified selected input sections, which are growing with the "// &
252 "number of atoms in the system, are written to another restart file "// &
253 "in binary format instead of the default restart file in human "// &
254 "readable ASCII format. This split of the restart file may "// &
255 "provide significant memory savings and an accelerated I/O for "// &
256 "systems with a very large number of atoms", &
257 usage=
"SPLIT_RESTART_FILE yes", &
258 default_l_val=.false., &
259 lone_keyword_l_val=.true.)
267 description=
"Dumps unique restart files during the run keeping all of them. "// &
268 "Most useful if recovery is needed at a later point.", &
270 each_iter_names=
s2a(
"MD",
"GEO_OPT",
"ROT_OPT"), each_iter_values=[500, 500, 500], &
276 description=
"Dumps the translation vector applied along an MD (if any). Useful"// &
277 " for postprocessing of QMMM trajectories in which the QM fragment is continuously"// &
278 " centered in the QM box", &
297 LOGICAL,
INTENT(IN) :: pos
298 CHARACTER(LEN=*),
INTENT(IN) :: description
300 cpassert(
ASSOCIATED(section))
301 cpassert(.NOT.
ASSOCIATED(keyword))
306 keyword, __location__, name=
"FORMAT", &
307 description=description, usage=
"FORMAT (ATOMIC|DCD|PDB|XMOL|XYZ|EXTXYZ)", &
309 enum_c_vals=
s2a(
"ATOMIC",
"DCD",
"DCD_ALIGNED_CELL",
"PDB",
"XMOL",
"XYZ",
"EXTXYZ"), &
311 enum_desc=
s2a(
"Write only the coordinates X,Y,Z without element symbols to a formatted file", &
312 "Write the coordinates (no element labels) and the cell information to a binary file", &
313 "Like DCD, but the dumped coordinates refer to an aligned cell following the common convention: "// &
314 "the cell vector **a** is aligned with the *x* axis and the cell vector **b** lies in "// &
315 "the *xy* plane. This allows the reconstruction of scaled coordinates from the DCD data only.", &
316 "Write the atomic information in PDB format to a formatted file", &
317 "Mostly known as XYZ format, provides in a formatted file: element_symbol X Y Z", &
318 "Alias name for XMOL", &
319 "Extended XYZ format including cell information. "// &
320 "For details see [ASE](https://ase-lib.org/ase/io/formatoptions.html#extxyz) "// &
321 "and [OVITO](https://www.ovito.org/manual/reference/file_formats/input/xyz.html)."))
326 variants=[
"CHARGE_O"], &
327 description=
"Write the MM charges to the OCCUP field of the PDB file", &
328 usage=
"CHARGE_OCCUP logical", &
329 default_l_val=.false., lone_keyword_l_val=.true.)
334 variants=[
"CHARGE_B"], &
335 description=
"Write the MM charges to the BETA field of the PDB file", &
336 usage=
"CHARGE_BETA logical", &
337 default_l_val=.false., lone_keyword_l_val=.true.)
341 CALL keyword_create(keyword, __location__, name=
"CHARGE_EXTENDED", &
342 description=
"Write the MM charges to the very last field of the PDB file (starting from column 81)", &
343 usage=
"CHARGE_EXTENDED logical", &
344 default_l_val=.false., lone_keyword_l_val=.true.)
351 description=description, usage=
"FORMAT (ATOMIC|DCD|XMOL|XYZ|EXTXYZ)", &
353 enum_c_vals=
s2a(
"ATOMIC",
"DCD",
"XMOL",
"XYZ",
"EXTXYZ"), &
355 enum_desc=
s2a(
"Write only the coordinates X,Y,Z without element symbols to a formatted file", &
356 "Write the coordinates (no element labels) and the cell information to a binary file", &
357 "Mostly known as XYZ format, provides in a formatted file: element_symbol X Y Z", &
358 "Alias name for XMOL", &
359 "Extended XYZ format including cell information. "// &
360 "For details see [ASE](https://ase-lib.org/ase/io/formatoptions.html#extxyz) "// &
361 "and [OVITO](https://www.ovito.org/manual/reference/file_formats/input/xyz.html)."))
367 CALL keyword_create(keyword, __location__, name=
"PRINT_ATOM_KIND", &
368 description=
"Write the atom kind given in the subsys section instead of the element symbol. "// &
369 "Only valid for the XMOL and EXTXYZ format.", &
370 usage=
"PRINT_ATOM_KIND logical", &
371 default_l_val=.false., lone_keyword_l_val=.true.)