nomad-parser-plugins-atomistic 1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. atomisticparsers/__init__.py +400 -0
  2. atomisticparsers/amber/__init__.py +19 -0
  3. atomisticparsers/amber/__main__.py +31 -0
  4. atomisticparsers/amber/metainfo/__init__.py +19 -0
  5. atomisticparsers/amber/metainfo/amber.py +495 -0
  6. atomisticparsers/amber/parser.py +42 -0
  7. atomisticparsers/asap/__init__.py +19 -0
  8. atomisticparsers/asap/__main__.py +31 -0
  9. atomisticparsers/asap/metainfo/__init__.py +19 -0
  10. atomisticparsers/asap/metainfo/asap.py +75 -0
  11. atomisticparsers/asap/parser.py +197 -0
  12. atomisticparsers/bopfox/__init__.py +19 -0
  13. atomisticparsers/bopfox/__main__.py +31 -0
  14. atomisticparsers/bopfox/metainfo/__init__.py +19 -0
  15. atomisticparsers/bopfox/metainfo/bopfox.py +225 -0
  16. atomisticparsers/bopfox/parser.py +808 -0
  17. atomisticparsers/dftbplus/__init__.py +19 -0
  18. atomisticparsers/dftbplus/__main__.py +31 -0
  19. atomisticparsers/dftbplus/metainfo/__init__.py +19 -0
  20. atomisticparsers/dftbplus/metainfo/dftbplus.py +217 -0
  21. atomisticparsers/dftbplus/parser.py +500 -0
  22. atomisticparsers/dlpoly/__init__.py +19 -0
  23. atomisticparsers/dlpoly/__main__.py +31 -0
  24. atomisticparsers/dlpoly/metainfo/__init__.py +19 -0
  25. atomisticparsers/dlpoly/metainfo/dl_poly.py +312 -0
  26. atomisticparsers/dlpoly/parser.py +798 -0
  27. atomisticparsers/gromacs/__init__.py +19 -0
  28. atomisticparsers/gromacs/__main__.py +31 -0
  29. atomisticparsers/gromacs/metainfo/__init__.py +19 -0
  30. atomisticparsers/gromacs/metainfo/gromacs.py +2388 -0
  31. atomisticparsers/gromacs/parser.py +1581 -0
  32. atomisticparsers/gromos/__init__.py +19 -0
  33. atomisticparsers/gromos/__main__.py +31 -0
  34. atomisticparsers/gromos/metainfo/__init__.py +19 -0
  35. atomisticparsers/gromos/metainfo/gromos.py +1995 -0
  36. atomisticparsers/gromos/parser.py +58 -0
  37. atomisticparsers/gulp/__init__.py +19 -0
  38. atomisticparsers/gulp/__main__.py +31 -0
  39. atomisticparsers/gulp/metainfo/__init__.py +19 -0
  40. atomisticparsers/gulp/metainfo/gulp.py +1117 -0
  41. atomisticparsers/gulp/parser.py +1316 -0
  42. atomisticparsers/h5md/__init__.py +19 -0
  43. atomisticparsers/h5md/__main__.py +31 -0
  44. atomisticparsers/h5md/metainfo/__init__.py +19 -0
  45. atomisticparsers/h5md/metainfo/h5md.py +239 -0
  46. atomisticparsers/h5md/parser.py +901 -0
  47. atomisticparsers/lammps/__init__.py +19 -0
  48. atomisticparsers/lammps/__main__.py +31 -0
  49. atomisticparsers/lammps/metainfo/__init__.py +19 -0
  50. atomisticparsers/lammps/metainfo/lammps.py +1417 -0
  51. atomisticparsers/lammps/parser.py +1753 -0
  52. atomisticparsers/libatoms/__init__.py +19 -0
  53. atomisticparsers/libatoms/__main__.py +31 -0
  54. atomisticparsers/libatoms/metainfo/__init__.py +19 -0
  55. atomisticparsers/libatoms/metainfo/lib_atoms.py +251 -0
  56. atomisticparsers/libatoms/parser.py +38 -0
  57. atomisticparsers/namd/__init__.py +19 -0
  58. atomisticparsers/namd/__main__.py +31 -0
  59. atomisticparsers/namd/metainfo/__init__.py +19 -0
  60. atomisticparsers/namd/metainfo/namd.py +1605 -0
  61. atomisticparsers/namd/parser.py +312 -0
  62. atomisticparsers/tinker/__init__.py +19 -0
  63. atomisticparsers/tinker/__main__.py +31 -0
  64. atomisticparsers/tinker/metainfo/__init__.py +18 -0
  65. atomisticparsers/tinker/metainfo/tinker.py +1363 -0
  66. atomisticparsers/tinker/parser.py +685 -0
  67. atomisticparsers/utils/__init__.py +22 -0
  68. atomisticparsers/utils/mdanalysis.py +662 -0
  69. atomisticparsers/utils/parsers.py +226 -0
  70. atomisticparsers/xtb/__init__.py +19 -0
  71. atomisticparsers/xtb/__main__.py +32 -0
  72. atomisticparsers/xtb/metainfo/__init__.py +19 -0
  73. atomisticparsers/xtb/metainfo/xtb.py +256 -0
  74. atomisticparsers/xtb/parser.py +979 -0
  75. nomad_parser_plugins_atomistic-1.0.dist-info/LICENSE +202 -0
  76. nomad_parser_plugins_atomistic-1.0.dist-info/METADATA +327 -0
  77. nomad_parser_plugins_atomistic-1.0.dist-info/RECORD +80 -0
  78. nomad_parser_plugins_atomistic-1.0.dist-info/WHEEL +5 -0
  79. nomad_parser_plugins_atomistic-1.0.dist-info/entry_points.txt +15 -0
  80. nomad_parser_plugins_atomistic-1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1417 @@
1
+ #
2
+ # Copyright The NOMAD Authors.
3
+ #
4
+ # This file is part of NOMAD.
5
+ # See https://nomad-lab.eu for further info.
6
+ #
7
+ # Licensed under the Apache License, Version 2.0 (the "License");
8
+ # you may not use this file except in compliance with the License.
9
+ # You may obtain a copy of the License at
10
+ #
11
+ # http://www.apache.org/licenses/LICENSE-2.0
12
+ #
13
+ # Unless required by applicable law or agreed to in writing, software
14
+ # distributed under the License is distributed on an "AS IS" BASIS,
15
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ # See the License for the specific language governing permissions and
17
+ # limitations under the License.
18
+ #
19
+ import numpy as np # pylint: disable=unused-import
20
+ import typing # pylint: disable=unused-import
21
+ from nomad.metainfo import ( # pylint: disable=unused-import
22
+ MSection,
23
+ MCategory,
24
+ Category,
25
+ Package,
26
+ Quantity,
27
+ Section,
28
+ SubSection,
29
+ SectionProxy,
30
+ Reference,
31
+ )
32
+ import runschema.run # pylint: disable=unused-import
33
+ import runschema.calculation # pylint: disable=unused-import
34
+ import runschema.method # pylint: disable=unused-import
35
+ import runschema.system # pylint: disable=unused-import
36
+ import simulationworkflowschema
37
+
38
+
39
+ m_package = Package()
40
+
41
+
42
+ class System(runschema.system.System):
43
+ m_def = Section(validate=False, extends_base_section=True)
44
+
45
+ x_lammps_atom_positions_image_index = Quantity(
46
+ type=np.int32,
47
+ shape=['number_of_atoms', 3],
48
+ unit='dimensionless',
49
+ description="""
50
+ PBC image flag index.
51
+ """,
52
+ )
53
+
54
+ x_lammps_atom_positions_scaled = Quantity(
55
+ type=np.float64,
56
+ shape=['number_of_atoms', 3],
57
+ unit='dimensionless',
58
+ description="""
59
+ Position of the atoms in a scaled format [0, 1].
60
+ """,
61
+ )
62
+
63
+ x_lammps_atom_positions_wrapped = Quantity(
64
+ type=np.float64,
65
+ shape=['number_of_atoms', 3],
66
+ unit='meter',
67
+ description="""
68
+ Position of the atoms wrapped back to the periodic box.
69
+ """,
70
+ )
71
+
72
+ x_lammps_trj_timestep_store = Quantity(
73
+ type=str,
74
+ shape=[],
75
+ description="""
76
+ tmp
77
+ """,
78
+ )
79
+
80
+ x_lammps_trj_number_of_atoms_store = Quantity(
81
+ type=str,
82
+ shape=[],
83
+ description="""
84
+ tmp
85
+ """,
86
+ )
87
+
88
+ x_lammps_trj_box_bound_store = Quantity(
89
+ type=str,
90
+ shape=[],
91
+ description="""
92
+ tmp
93
+ """,
94
+ )
95
+
96
+ x_lammps_trj_box_bounds_store = Quantity(
97
+ type=str,
98
+ shape=[],
99
+ description="""
100
+ tmp
101
+ """,
102
+ )
103
+
104
+ x_lammps_trj_variables_store = Quantity(
105
+ type=str,
106
+ shape=[],
107
+ description="""
108
+ tmp
109
+ """,
110
+ )
111
+
112
+ x_lammps_trj_atoms_store = Quantity(
113
+ type=str,
114
+ shape=[],
115
+ description="""
116
+ tmp
117
+ """,
118
+ )
119
+
120
+
121
+ class MolecularDynamics(simulationworkflowschema.MolecularDynamics):
122
+ m_def = Section(validate=False, extends_base_section=True)
123
+
124
+ x_lammps_barostat_target_pressure = Quantity(
125
+ type=np.float64,
126
+ shape=[],
127
+ unit='pascal',
128
+ description="""
129
+ MD barostat target pressure.
130
+ """,
131
+ )
132
+
133
+ x_lammps_barostat_tau = Quantity(
134
+ type=np.float64,
135
+ shape=[],
136
+ unit='second',
137
+ description="""
138
+ MD barostat relaxation time.
139
+ """,
140
+ )
141
+
142
+ x_lammps_barostat_type = Quantity(
143
+ type=str,
144
+ shape=[],
145
+ description="""
146
+ MD barostat type, valid values are defined in the barostat_type wiki page.
147
+ """,
148
+ )
149
+
150
+ x_lammps_integrator_dt = Quantity(
151
+ type=np.float64,
152
+ shape=[],
153
+ unit='second',
154
+ description="""
155
+ MD integration time step.
156
+ """,
157
+ )
158
+
159
+ x_lammps_integrator_type = Quantity(
160
+ type=str,
161
+ shape=[],
162
+ description="""
163
+ MD integrator type, valid values are defined in the integrator_type wiki page.
164
+ """,
165
+ )
166
+
167
+ x_lammps_langevin_gamma = Quantity(
168
+ type=np.float64,
169
+ shape=[],
170
+ unit='second',
171
+ description="""
172
+ Langevin thermostat damping factor.
173
+ """,
174
+ )
175
+
176
+ x_lammps_number_of_steps_requested = Quantity(
177
+ type=np.float64,
178
+ shape=[],
179
+ description="""
180
+ Number of requested MD integration time steps.
181
+ """,
182
+ )
183
+
184
+ x_lammps_thermostat_level = Quantity(
185
+ type=str,
186
+ shape=[],
187
+ description="""
188
+ MD thermostat level (see wiki: single, multiple, regional).
189
+ """,
190
+ )
191
+
192
+ x_lammps_thermostat_target_temperature = Quantity(
193
+ type=np.float64,
194
+ shape=[],
195
+ unit='kelvin',
196
+ description="""
197
+ MD thermostat target temperature.
198
+ """,
199
+ )
200
+
201
+ x_lammps_thermostat_tau = Quantity(
202
+ type=np.float64,
203
+ shape=[],
204
+ unit='second',
205
+ description="""
206
+ MD thermostat relaxation time.
207
+ """,
208
+ )
209
+
210
+ x_lammps_thermostat_type = Quantity(
211
+ type=str,
212
+ shape=[],
213
+ description="""
214
+ MD thermostat type, valid values are defined in the thermostat_type wiki page.
215
+ """,
216
+ )
217
+
218
+
219
+ class Interaction(runschema.method.Interaction):
220
+ m_def = Section(validate=False, extends_base_section=True)
221
+
222
+ x_lammps_interaction_atom_to_atom_type_ref = Quantity(
223
+ type=runschema.method.AtomParameters,
224
+ shape=['number_of_atoms_per_interaction'],
225
+ description="""
226
+ Reference to the atom type of each interaction atoms.
227
+ """,
228
+ )
229
+
230
+ x_lammps_number_of_defined_pair_interactions = Quantity(
231
+ type=np.int32,
232
+ shape=[],
233
+ description="""
234
+ Number of defined pair interactions (L-J pairs).
235
+ """,
236
+ )
237
+
238
+ x_lammps_pair_interaction_atom_type_ref = Quantity(
239
+ type=runschema.method.AtomParameters,
240
+ shape=[
241
+ 'x_lammps_number_of_defined_pair_interactions',
242
+ 'number_of_atoms_per_interaction',
243
+ ],
244
+ description="""
245
+ Reference to the atom type for pair interactions.
246
+ """,
247
+ )
248
+
249
+ x_lammps_pair_interaction_parameters = Quantity(
250
+ type=np.float64,
251
+ shape=['x_lammps_number_of_defined_pair_interactions', 2],
252
+ description="""
253
+ Pair interactions parameters.
254
+ """,
255
+ )
256
+
257
+ x_lammps_molecule_interaction_atom_to_atom_type_ref = Quantity(
258
+ type=runschema.method.AtomParameters,
259
+ shape=['number_of_atoms_per_interaction'],
260
+ description="""
261
+ Reference to the atom type of each molecule interaction atoms.
262
+ """,
263
+ )
264
+
265
+ x_lammps_number_of_defined_molecule_pair_interactions = Quantity(
266
+ type=np.int32,
267
+ shape=[],
268
+ description="""
269
+ Number of defined pair interactions within a molecule (L-J pairs).
270
+ """,
271
+ )
272
+
273
+ x_lammps_pair_molecule_interaction_parameters = Quantity(
274
+ type=np.float64,
275
+ shape=['number_of_defined_molecule_pair_interactions', 2],
276
+ description="""
277
+ Molecule pair interactions parameters.
278
+ """,
279
+ )
280
+
281
+ x_lammps_pair_molecule_interaction_to_atom_type_ref = Quantity(
282
+ type=runschema.method.AtomParameters,
283
+ shape=[
284
+ 'x_lammps_number_of_defined_pair_interactions',
285
+ 'number_of_atoms_per_interaction',
286
+ ],
287
+ description="""
288
+ Reference to the atom type for pair interactions within a molecule.
289
+ """,
290
+ )
291
+
292
+
293
+ class x_lammps_section_input_output_files(MSection):
294
+ """
295
+ Section to store input and output file names
296
+ """
297
+
298
+ m_def = Section(validate=False)
299
+
300
+ x_lammps_inout_file_data = Quantity(
301
+ type=str,
302
+ shape=[],
303
+ description="""
304
+ Lammps input data file.
305
+ """,
306
+ )
307
+
308
+ x_lammps_inout_file_trajectory = Quantity(
309
+ type=str,
310
+ shape=[],
311
+ description="""
312
+ Lammps input trajectory file.
313
+ """,
314
+ )
315
+
316
+
317
+ class x_lammps_section_control_parameters(MSection):
318
+ """
319
+ Section to store the input and output control parameters
320
+ """
321
+
322
+ m_def = Section(validate=False)
323
+
324
+ x_lammps_inout_control_anglecoeff = Quantity(
325
+ type=str,
326
+ shape=[],
327
+ description="""
328
+ Specify the angle force field coefficients for one or more angle types.
329
+ """,
330
+ )
331
+
332
+ x_lammps_inout_control_anglestyle = Quantity(
333
+ type=str,
334
+ shape=[],
335
+ description="""
336
+ Set the formula(s) LAMMPS uses to compute angle interactions between triplets of
337
+ atoms, which remain in force for the duration of the simulation.
338
+ """,
339
+ )
340
+
341
+ x_lammps_inout_control_atommodify = Quantity(
342
+ type=str,
343
+ shape=[],
344
+ description="""
345
+ Modify certain attributes of atoms defined and stored within LAMMPS, in addition
346
+ to what is specified by the atom_style command.
347
+ """,
348
+ )
349
+
350
+ x_lammps_inout_control_atomstyle = Quantity(
351
+ type=str,
352
+ shape=[],
353
+ description="""
354
+ Define what style of atoms to use in a simulation.
355
+ """,
356
+ )
357
+
358
+ x_lammps_inout_control_balance = Quantity(
359
+ type=str,
360
+ shape=[],
361
+ description="""
362
+ This command adjusts the size and shape of processor sub-domains within the
363
+ simulation box, to attempt to balance the number of atoms or particles and thus
364
+ indirectly the computational cost (load) more evenly across processors.
365
+ """,
366
+ )
367
+
368
+ x_lammps_inout_control_bondcoeff = Quantity(
369
+ type=str,
370
+ shape=[],
371
+ description="""
372
+ Specify the bond force field coefficients for one or more bond type.
373
+ """,
374
+ )
375
+
376
+ x_lammps_inout_control_bondstyle = Quantity(
377
+ type=str,
378
+ shape=[],
379
+ description="""
380
+ Set the formula(s) LAMMPS uses to compute bond interactions between pairs of atoms.
381
+ """,
382
+ )
383
+
384
+ x_lammps_inout_control_bondwrite = Quantity(
385
+ type=str,
386
+ shape=[],
387
+ description="""
388
+ Write energy and force values to a file as a function of distance for the
389
+ currently defined bond potential.
390
+ """,
391
+ )
392
+
393
+ x_lammps_inout_control_boundary = Quantity(
394
+ type=str,
395
+ shape=[],
396
+ description="""
397
+ Set the style of boundaries for the global simulation box in each dimension.
398
+ """,
399
+ )
400
+
401
+ x_lammps_inout_control_box = Quantity(
402
+ type=str,
403
+ shape=[],
404
+ description="""
405
+ Set attributes of the simulation box.
406
+ """,
407
+ )
408
+
409
+ x_lammps_inout_control_changebox = Quantity(
410
+ type=str,
411
+ shape=[],
412
+ description="""
413
+ Change the volume and/or shape and/or boundary conditions for the simulation box.
414
+ """,
415
+ )
416
+
417
+ x_lammps_inout_control_clear = Quantity(
418
+ type=str,
419
+ shape=[],
420
+ description="""
421
+ This command deletes all atoms, restores all settings to their default values,
422
+ and frees all memory allocated by LAMMPS.
423
+ """,
424
+ )
425
+
426
+ x_lammps_inout_control_commmodify = Quantity(
427
+ type=str,
428
+ shape=[],
429
+ description="""
430
+ This command sets parameters that affect the inter-processor communication of atom
431
+ information that occurs each timestep as coordinates and other properties are
432
+ exchanged between neighboring processors and stored as properties of ghost atoms.
433
+ """,
434
+ )
435
+
436
+ x_lammps_inout_control_commstyle = Quantity(
437
+ type=str,
438
+ shape=[],
439
+ description="""
440
+ This command sets the style of inter-processor communication of atom information
441
+ that occurs each timestep as coordinates and other properties are exchanged
442
+ between neighboring processors and stored as properties of ghost atoms.
443
+ """,
444
+ )
445
+
446
+ x_lammps_inout_control_compute = Quantity(
447
+ type=str,
448
+ shape=[],
449
+ description="""
450
+ Define a computation that will be performed on a group of atoms.
451
+ """,
452
+ )
453
+
454
+ x_lammps_inout_control_computemodify = Quantity(
455
+ type=str,
456
+ shape=[],
457
+ description="""
458
+ Modify one or more parameters of a previously defined compute.
459
+ """,
460
+ )
461
+
462
+ x_lammps_inout_control_createatoms = Quantity(
463
+ type=str,
464
+ shape=[],
465
+ description="""
466
+ This command creates atoms (or molecules) on a lattice, or a single atom
467
+ (or molecule), or a random collection of atoms (or molecules), as an alternative
468
+ to reading in their coordinates explicitly via a read_data or read_restart command.
469
+ """,
470
+ )
471
+
472
+ x_lammps_inout_control_createbonds = Quantity(
473
+ type=str,
474
+ shape=[],
475
+ description="""
476
+ Create bonds between pairs of atoms that meet a specified distance criteria.
477
+ """,
478
+ )
479
+
480
+ x_lammps_inout_control_createbox = Quantity(
481
+ type=str,
482
+ shape=[],
483
+ description="""
484
+ This command creates a simulation box based on the specified region.
485
+ """,
486
+ )
487
+
488
+ x_lammps_inout_control_deleteatoms = Quantity(
489
+ type=str,
490
+ shape=[],
491
+ description="""
492
+ Delete the specified atoms.
493
+ """,
494
+ )
495
+
496
+ x_lammps_inout_control_deletebonds = Quantity(
497
+ type=str,
498
+ shape=[],
499
+ description="""
500
+ Turn off (or on) molecular topology interactions, i.e. bonds, angles, dihedrals,
501
+ impropers.
502
+ """,
503
+ )
504
+
505
+ x_lammps_inout_control_dielectric = Quantity(
506
+ type=str,
507
+ shape=[],
508
+ description="""
509
+ Set the dielectric constant for Coulombic interactions (pairwise and long-range)
510
+ to this value.
511
+ """,
512
+ )
513
+
514
+ x_lammps_inout_control_dihedralcoeff = Quantity(
515
+ type=str,
516
+ shape=[],
517
+ description="""
518
+ Specify the dihedral force field coefficients for one or more dihedral types.
519
+ """,
520
+ )
521
+
522
+ x_lammps_inout_control_dihedralstyle = Quantity(
523
+ type=str,
524
+ shape=[],
525
+ description="""
526
+ Set the formula(s) LAMMPS uses to compute dihedral interactions between quadruplets
527
+ of atoms, which remain in force for the duration of the simulation.
528
+ """,
529
+ )
530
+
531
+ x_lammps_inout_control_dimension = Quantity(
532
+ type=str,
533
+ shape=[],
534
+ description="""
535
+ Set the dimensionality of the simulation.
536
+ """,
537
+ )
538
+
539
+ x_lammps_inout_control_displaceatoms = Quantity(
540
+ type=str,
541
+ shape=[],
542
+ description="""
543
+ Displace a group of atoms.
544
+ """,
545
+ )
546
+
547
+ x_lammps_inout_control_dump = Quantity(
548
+ type=str,
549
+ shape=[],
550
+ description="""
551
+ Dump a snapshot of atom quantities to one or more files every N timesteps in one
552
+ of several styles.
553
+ """,
554
+ )
555
+
556
+ x_lammps_inout_control_dynamicalmatrix = Quantity(
557
+ type=str,
558
+ shape=[],
559
+ description="""
560
+ Calculate the dynamical matrix by finite difference of the selected group.
561
+ """,
562
+ )
563
+
564
+ x_lammps_inout_control_echo = Quantity(
565
+ type=str,
566
+ shape=[],
567
+ description="""
568
+ This command determines whether LAMMPS echoes each input script command to the
569
+ screen and/or log file as it is read and processed.
570
+ """,
571
+ )
572
+
573
+ x_lammps_inout_control_fix = Quantity(
574
+ type=str,
575
+ shape=[],
576
+ description="""
577
+ Set a fix that will be applied to a group of atoms. In LAMMPS, a “fix” is any
578
+ operation that is applied to the system during timestepping or minimization
579
+ """,
580
+ )
581
+
582
+ x_lammps_inout_control_fixmodify = Quantity(
583
+ type=str,
584
+ shape=[],
585
+ description="""
586
+ Modify one or more parameters of a previously defined fix.
587
+ """,
588
+ )
589
+
590
+ x_lammps_inout_control_group = Quantity(
591
+ type=str,
592
+ shape=[],
593
+ description="""
594
+ Identify a collection of atoms as belonging to a group.
595
+ """,
596
+ )
597
+
598
+ x_lammps_inout_control_group2ndx = Quantity(
599
+ type=str,
600
+ shape=[],
601
+ description="""
602
+ Write or read a Gromacs style index file in text format that associates atom IDs
603
+ with the corresponding group definitions. The group2ndx command will write group
604
+ definitions to an index file.
605
+ """,
606
+ )
607
+
608
+ x_lammps_inout_control_ndx2group = Quantity(
609
+ type=str,
610
+ shape=[],
611
+ description="""
612
+ Write or read a Gromacs style index file in text format that associates atom IDs
613
+ with the corresponding group definitions. The ndx2group command will create of
614
+ update group definitions from those stored in an index file.
615
+ """,
616
+ )
617
+
618
+ x_lammps_inout_control_hyper = Quantity(
619
+ type=str,
620
+ shape=[],
621
+ description="""
622
+ Run a bond-boost hyperdynamics (HD) simulation where time is accelerated by
623
+ application of a bias potential to one or more pairs of nearby atoms in the system.
624
+ """,
625
+ )
626
+
627
+ x_lammps_inout_control_if = Quantity(
628
+ type=str,
629
+ shape=[],
630
+ description="""
631
+ This command provides an if-then-else capability within an input script.
632
+ """,
633
+ )
634
+
635
+ x_lammps_inout_control_impropercoeff = Quantity(
636
+ type=str,
637
+ shape=[],
638
+ description="""
639
+ Specify the improper force field coefficients for one or more improper types.
640
+ """,
641
+ )
642
+
643
+ x_lammps_inout_control_improperstyle = Quantity(
644
+ type=str,
645
+ shape=[],
646
+ description="""
647
+ Set the formula(s) LAMMPS uses to compute improper interactions between
648
+ quadruplets of atoms, which remain in force for the duration of the simulation.
649
+ """,
650
+ )
651
+
652
+ x_lammps_inout_control_include = Quantity(
653
+ type=str,
654
+ shape=[],
655
+ description="""
656
+ This command opens a new input script file and begins reading LAMMPS commands
657
+ from that file.
658
+ """,
659
+ )
660
+
661
+ x_lammps_inout_control_info = Quantity(
662
+ type=str,
663
+ shape=[],
664
+ description="""
665
+ Print out information about the current internal state of the running LAMMPS process.
666
+ """,
667
+ )
668
+
669
+ x_lammps_inout_control_jump = Quantity(
670
+ type=str,
671
+ shape=[],
672
+ description="""
673
+ This command closes the current input script file, opens the file with the
674
+ specified name, and begins reading LAMMPS commands from that file.
675
+ """,
676
+ )
677
+
678
+ x_lammps_inout_control_kiminit = Quantity(
679
+ type=str,
680
+ shape=[],
681
+ description="""
682
+ The set of kim_commands provide a high-level wrapper around the Open Knowledgebase
683
+ of Interatomic Models (OpenKIM) repository of interatomic models (IMs)
684
+ (potentials and force fields), so that they can be used by LAMMPS scripts.
685
+ """,
686
+ )
687
+
688
+ x_lammps_inout_control_kiminteractions = Quantity(
689
+ type=str,
690
+ shape=[],
691
+ description="""
692
+ The set of kim_commands provide a high-level wrapper around the Open Knowledgebase
693
+ of Interatomic Models (OpenKIM) repository of interatomic models (IMs)
694
+ (potentials and force fields), so that they can be used by LAMMPS scripts.
695
+ """,
696
+ )
697
+
698
+ x_lammps_inout_control_kimquery = Quantity(
699
+ type=str,
700
+ shape=[],
701
+ description="""
702
+ The set of kim_commands provide a high-level wrapper around the Open Knowledgebase
703
+ of Interatomic Models (OpenKIM) repository of interatomic models (IMs)
704
+ (potentials and force fields), so that they can be used by LAMMPS scripts.
705
+ """,
706
+ )
707
+
708
+ x_lammps_inout_control_kimparam = Quantity(
709
+ type=str,
710
+ shape=[],
711
+ description="""
712
+ The set of kim_commands provide a high-level wrapper around the Open Knowledgebase
713
+ of Interatomic Models (OpenKIM) repository of interatomic models (IMs)
714
+ (potentials and force fields), so that they can be used by LAMMPS scripts.
715
+ """,
716
+ )
717
+
718
+ x_lammps_inout_control_kimproperty = Quantity(
719
+ type=str,
720
+ shape=[],
721
+ description="""
722
+ The set of kim_commands provide a high-level wrapper around the Open Knowledgebase
723
+ of Interatomic Models (OpenKIM) repository of interatomic models (IMs)
724
+ (potentials and force fields), so that they can be used by LAMMPS scripts.
725
+ """,
726
+ )
727
+
728
+ x_lammps_inout_control_kspacemodify = Quantity(
729
+ type=str,
730
+ shape=[],
731
+ description="""
732
+ Set parameters used by the kspace solvers defined by the kspace_style command.
733
+ Not all parameters are relevant to all kspace styles.
734
+ """,
735
+ )
736
+
737
+ x_lammps_inout_control_kspacestyle = Quantity(
738
+ type=str,
739
+ shape=[],
740
+ description="""
741
+ Define a long-range solver for LAMMPS to use each timestep to compute long-range
742
+ Coulombic interactions or long-range interactions.
743
+ """,
744
+ )
745
+
746
+ x_lammps_inout_control_label = Quantity(
747
+ type=str,
748
+ shape=[],
749
+ description="""
750
+ Label this line of the input script with the chosen ID.
751
+ """,
752
+ )
753
+
754
+ x_lammps_inout_control_lattice = Quantity(
755
+ type=str,
756
+ shape=[],
757
+ description="""
758
+ Define a lattice for use by other commands.
759
+ """,
760
+ )
761
+
762
+ x_lammps_inout_control_log = Quantity(
763
+ type=str,
764
+ shape=[],
765
+ description="""
766
+ This command closes the current LAMMPS log file, opens a new file with the
767
+ specified name, and begins logging information to it.
768
+ """,
769
+ )
770
+
771
+ x_lammps_inout_control_mass = Quantity(
772
+ type=str,
773
+ shape=[],
774
+ description="""
775
+ Set the mass for all atoms of one or more atom types.
776
+ """,
777
+ )
778
+
779
+ x_lammps_inout_control_message = Quantity(
780
+ type=str,
781
+ shape=[],
782
+ description="""
783
+ Establish a messaging protocol between LAMMPS and another code for the purpose of
784
+ client/server coupling.
785
+ """,
786
+ )
787
+
788
+ x_lammps_inout_control_minmodify = Quantity(
789
+ type=str,
790
+ shape=[],
791
+ description="""
792
+ This command sets parameters that affect the energy minimization algorithms
793
+ selected by the min_style command.
794
+ """,
795
+ )
796
+
797
+ x_lammps_inout_control_minstyle = Quantity(
798
+ type=str,
799
+ shape=[],
800
+ description="""
801
+ Apply a minimization algorithm to use when a minimize command is performed.
802
+ """,
803
+ )
804
+
805
+ x_lammps_inout_control_minimize = Quantity(
806
+ type=str,
807
+ shape=[],
808
+ description="""
809
+ Perform an energy minimization of the system, by iteratively adjusting atom
810
+ coordinates.
811
+ """,
812
+ )
813
+
814
+ x_lammps_inout_control_molecule = Quantity(
815
+ type=str,
816
+ shape=[],
817
+ description="""
818
+ Define a molecule template that can be used as part of other LAMMPS commands,
819
+ typically to define a collection of particles as a bonded molecule or a rigid body.
820
+ """,
821
+ )
822
+
823
+ x_lammps_inout_control_neb = Quantity(
824
+ type=str,
825
+ shape=[],
826
+ description="""
827
+ Perform a nudged elastic band (NEB) calculation using multiple replicas of a system.
828
+ """,
829
+ )
830
+
831
+ x_lammps_inout_control_neighmodify = Quantity(
832
+ type=str,
833
+ shape=[],
834
+ description="""
835
+ This command sets parameters that affect the building and use of pairwise neighbor
836
+ lists.
837
+ """,
838
+ )
839
+
840
+ x_lammps_inout_control_neighbor = Quantity(
841
+ type=str,
842
+ shape=[],
843
+ description="""
844
+ This command sets parameters that affect the building of pairwise neighbor lists.
845
+ """,
846
+ )
847
+
848
+ x_lammps_inout_control_newton = Quantity(
849
+ type=str,
850
+ shape=[],
851
+ description="""
852
+ This command turns Newton’s third law on or off for pairwise and bonded interactions.
853
+ """,
854
+ )
855
+
856
+ x_lammps_inout_control_next = Quantity(
857
+ type=str,
858
+ shape=[],
859
+ description="""
860
+ This command is used with variables defined by the variable command.
861
+ """,
862
+ )
863
+
864
+ x_lammps_inout_control_package = Quantity(
865
+ type=str,
866
+ shape=[],
867
+ description="""
868
+ This command invokes package-specific settings for the various accelerator
869
+ packages available in LAMMPS.
870
+ """,
871
+ )
872
+
873
+ x_lammps_inout_control_paircoeff = Quantity(
874
+ type=str,
875
+ shape=[],
876
+ description="""
877
+ Specify the pairwise force field coefficients for one or more pairs of
878
+ atom types.
879
+ """,
880
+ )
881
+
882
+ x_lammps_inout_control_pairmodify = Quantity(
883
+ type=str,
884
+ shape=[],
885
+ description="""
886
+ Modify the parameters of the currently defined pair style.
887
+ """,
888
+ )
889
+
890
+ x_lammps_inout_control_pairstyle = Quantity(
891
+ type=str,
892
+ shape=[],
893
+ description="""
894
+ Set the formula(s) LAMMPS uses to compute pairwise interactions.
895
+ """,
896
+ )
897
+
898
+ x_lammps_inout_control_pairwrite = Quantity(
899
+ type=str,
900
+ shape=[],
901
+ description="""
902
+ Write energy and force values to a file as a function of distance for
903
+ the currently defined pair potential.
904
+ """,
905
+ )
906
+
907
+ x_lammps_inout_control_partition = Quantity(
908
+ type=str,
909
+ shape=[],
910
+ description="""
911
+ This command invokes the specified command on a subset of the
912
+ partitions of processors you have defined via the -partition command-line switch.
913
+ """,
914
+ )
915
+
916
+ x_lammps_inout_control_prd = Quantity(
917
+ type=str,
918
+ shape=[],
919
+ description="""
920
+ Run a parallel replica dynamics (PRD) simulation using multiple
921
+ replicas of a system.
922
+ """,
923
+ )
924
+
925
+ x_lammps_inout_control_print = Quantity(
926
+ type=str,
927
+ shape=[],
928
+ description="""
929
+ Print a text string to the screen and logfile.
930
+ """,
931
+ )
932
+
933
+ x_lammps_inout_control_processors = Quantity(
934
+ type=str,
935
+ shape=[],
936
+ description="""
937
+ Specify how processors are mapped as a regular 3d grid to the global
938
+ simulation box.
939
+ """,
940
+ )
941
+
942
+ x_lammps_inout_control_quit = Quantity(
943
+ type=str,
944
+ shape=[],
945
+ description="""
946
+ This command causes LAMMPS to exit, after shutting down all output
947
+ cleanly.
948
+ """,
949
+ )
950
+
951
+ x_lammps_inout_control_readdata = Quantity(
952
+ type=str,
953
+ shape=[],
954
+ description="""
955
+ Read in a data file containing information LAMMPS needs to run a
956
+ simulation.
957
+ """,
958
+ )
959
+
960
+ x_lammps_inout_control_readdump = Quantity(
961
+ type=str,
962
+ shape=[],
963
+ description="""
964
+ Read atom information from a dump file to overwrite the current atom
965
+ coordinates, and optionally the atom velocities and image flags and
966
+ the simulation box dimensions.
967
+ """,
968
+ )
969
+
970
+ x_lammps_inout_control_readrestart = Quantity(
971
+ type=str,
972
+ shape=[],
973
+ description="""
974
+ Read in a previously saved system configuration from a restart file.
975
+ """,
976
+ )
977
+
978
+ x_lammps_inout_control_region = Quantity(
979
+ type=str,
980
+ shape=[],
981
+ description="""
982
+ This command defines a geometric region of space.
983
+ """,
984
+ )
985
+
986
+ x_lammps_inout_control_replicate = Quantity(
987
+ type=str,
988
+ shape=[],
989
+ description="""
990
+ Replicate the current simulation one or more times in each dimension.
991
+ """,
992
+ )
993
+
994
+ x_lammps_inout_control_rerun = Quantity(
995
+ type=str,
996
+ shape=[],
997
+ description="""
998
+ Perform a pseudo simulation run where atom information is read one
999
+ snapshot at a time from a dump file(s), and energies and forces are
1000
+ computed on the shapshot to produce thermodynamic or other output.
1001
+ """,
1002
+ )
1003
+
1004
+ x_lammps_inout_control_resetatomids = Quantity(
1005
+ type=str,
1006
+ shape=[],
1007
+ description="""
1008
+ Reset atom IDs for the system, including all the global IDs stored
1009
+ for bond, angle, dihedral, improper topology data.
1010
+ """,
1011
+ )
1012
+
1013
+ x_lammps_inout_control_resetmolids = Quantity(
1014
+ type=str,
1015
+ shape=[],
1016
+ description="""
1017
+ Reset molecule IDs for a group of atoms based on current bond
1018
+ connectivity.
1019
+ """,
1020
+ )
1021
+
1022
+ x_lammps_inout_control_resettimestep = Quantity(
1023
+ type=str,
1024
+ shape=[],
1025
+ description="""
1026
+ Set the timestep counter to the specified value.
1027
+ """,
1028
+ )
1029
+
1030
+ x_lammps_inout_control_restart = Quantity(
1031
+ type=str,
1032
+ shape=[],
1033
+ description="""
1034
+ Write out a binary restart file with the current state of the
1035
+ simulation every so many timesteps, in either or both of two modes, as
1036
+ a run proceeds.
1037
+ """,
1038
+ )
1039
+
1040
+ x_lammps_inout_control_run = Quantity(
1041
+ type=str,
1042
+ shape=[],
1043
+ description="""
1044
+ Run or continue dynamics for a specified number of timesteps.
1045
+ """,
1046
+ )
1047
+
1048
+ x_lammps_inout_control_runstyle = Quantity(
1049
+ type=str,
1050
+ shape=[],
1051
+ description="""
1052
+ Choose the style of time integrator used for molecular dynamics
1053
+ simulations performed by LAMMPS.
1054
+ """,
1055
+ )
1056
+
1057
+ x_lammps_inout_control_server = Quantity(
1058
+ type=str,
1059
+ shape=[],
1060
+ description="""
1061
+ This command starts LAMMPS running in “server” mode, where it receives
1062
+ messages from a separate “client” code and responds by sending a reply
1063
+ message back to the client.
1064
+ """,
1065
+ )
1066
+
1067
+ x_lammps_inout_control_set = Quantity(
1068
+ type=str,
1069
+ shape=[],
1070
+ description="""
1071
+ Set one or more properties of one or more atoms.
1072
+ """,
1073
+ )
1074
+
1075
+ x_lammps_inout_control_shell = Quantity(
1076
+ type=str,
1077
+ shape=[],
1078
+ description="""
1079
+ Execute a shell command.
1080
+ """,
1081
+ )
1082
+
1083
+ x_lammps_inout_control_specialbonds = Quantity(
1084
+ type=str,
1085
+ shape=[],
1086
+ description="""
1087
+ Set weighting coefficients for pairwise energy and force contributions
1088
+ between pairs of atoms that are also permanently bonded to each other,
1089
+ either directly or via one or two intermediate bonds.
1090
+ """,
1091
+ )
1092
+
1093
+ x_lammps_inout_control_suffix = Quantity(
1094
+ type=str,
1095
+ shape=[],
1096
+ description="""
1097
+ This command allows you to use variants of various styles if they
1098
+ exist.
1099
+ """,
1100
+ )
1101
+
1102
+ x_lammps_inout_control_tad = Quantity(
1103
+ type=str,
1104
+ shape=[],
1105
+ description="""
1106
+ Run a temperature accelerated dynamics (TAD) simulation.
1107
+ """,
1108
+ )
1109
+
1110
+ x_lammps_inout_control_tempergrem = Quantity(
1111
+ type=str,
1112
+ shape=[],
1113
+ description="""
1114
+ Run a parallel tempering or replica exchange simulation in LAMMPS
1115
+ partition mode using multiple generalized replicas (ensembles) of a
1116
+ system defined by fix grem, which stands for the
1117
+ generalized replica exchange method (gREM) originally developed by
1118
+ (Kim).
1119
+ """,
1120
+ )
1121
+
1122
+ x_lammps_inout_control_tempernpt = Quantity(
1123
+ type=str,
1124
+ shape=[],
1125
+ description="""
1126
+ Run a parallel tempering or replica exchange simulation using multiple
1127
+ replicas (ensembles) of a system in the isothermal-isobaric (NPT)
1128
+ ensemble.
1129
+ """,
1130
+ )
1131
+
1132
+ x_lammps_inout_control_thermo = Quantity(
1133
+ type=str,
1134
+ shape=[],
1135
+ description="""
1136
+ Compute and print thermodynamic info (e.g. temperature, energy,
1137
+ pressure) on timesteps that are a multiple of N and at the beginning
1138
+ and end of a simulation.
1139
+ """,
1140
+ )
1141
+
1142
+ x_lammps_inout_control_thermomodify = Quantity(
1143
+ type=str,
1144
+ shape=[],
1145
+ description="""
1146
+ Set options for how thermodynamic information is computed and printed
1147
+ by LAMMPS.
1148
+ """,
1149
+ )
1150
+
1151
+ x_lammps_inout_control_thermostyle = Quantity(
1152
+ type=str,
1153
+ shape=[],
1154
+ description="""
1155
+ Set the style and content for printing thermodynamic data to the
1156
+ screen and log file.
1157
+ """,
1158
+ )
1159
+
1160
+ x_lammps_inout_control_thirdorder = Quantity(
1161
+ type=str,
1162
+ shape=[],
1163
+ description="""
1164
+ Calculate the third order force constant tensor by finite difference of the selected group,
1165
+
1166
+ where Phi is the third order force constant tensor.
1167
+ """,
1168
+ )
1169
+
1170
+ x_lammps_inout_control_timer = Quantity(
1171
+ type=str,
1172
+ shape=[],
1173
+ description="""
1174
+ Select the level of detail at which LAMMPS performs its CPU timings.
1175
+ """,
1176
+ )
1177
+
1178
+ x_lammps_inout_control_timestep = Quantity(
1179
+ type=str,
1180
+ shape=[],
1181
+ description="""
1182
+ Set the timestep size for subsequent molecular dynamics simulations.
1183
+ """,
1184
+ )
1185
+
1186
+ x_lammps_inout_control_uncompute = Quantity(
1187
+ type=str,
1188
+ shape=[],
1189
+ description="""
1190
+ Delete a compute that was previously defined with a compute
1191
+ command.
1192
+ """,
1193
+ )
1194
+
1195
+ x_lammps_inout_control_undump = Quantity(
1196
+ type=str,
1197
+ shape=[],
1198
+ description="""
1199
+ Turn off a previously defined dump so that it is no longer active.
1200
+ """,
1201
+ )
1202
+
1203
+ x_lammps_inout_control_unfix = Quantity(
1204
+ type=str,
1205
+ shape=[],
1206
+ description="""
1207
+ Delete a fix that was previously defined with a fix
1208
+ command.
1209
+ """,
1210
+ )
1211
+
1212
+ x_lammps_inout_control_units = Quantity(
1213
+ type=str,
1214
+ shape=[],
1215
+ description="""
1216
+ This command sets the style of units used for a simulation.
1217
+ """,
1218
+ )
1219
+
1220
+ x_lammps_inout_control_variable = Quantity(
1221
+ type=str,
1222
+ shape=[],
1223
+ description="""
1224
+ This command assigns one or more strings to a variable name for
1225
+ evaluation later in the input script or during a simulation.
1226
+ """,
1227
+ )
1228
+
1229
+ x_lammps_inout_control_velocity = Quantity(
1230
+ type=str,
1231
+ shape=[],
1232
+ description="""
1233
+ Set or change the velocities of a group of atoms in one of several
1234
+ styles.
1235
+ """,
1236
+ )
1237
+
1238
+ x_lammps_inout_control_writecoeff = Quantity(
1239
+ type=str,
1240
+ shape=[],
1241
+ description="""
1242
+ Write a text format file with the currently defined force field
1243
+ coefficients in a way, that it can be read by LAMMPS with the
1244
+ include command.
1245
+ """,
1246
+ )
1247
+
1248
+ x_lammps_inout_control_writedata = Quantity(
1249
+ type=str,
1250
+ shape=[],
1251
+ description="""
1252
+ Write a data file in text format of the current state of the
1253
+ simulation.
1254
+ """,
1255
+ )
1256
+
1257
+ x_lammps_inout_control_writedump = Quantity(
1258
+ type=str,
1259
+ shape=[],
1260
+ description="""
1261
+ Dump a single snapshot of atom quantities to one or more files for the
1262
+ current state of the system.
1263
+ """,
1264
+ )
1265
+
1266
+ x_lammps_inout_control_writerestart = Quantity(
1267
+ type=str,
1268
+ shape=[],
1269
+ description="""
1270
+ Write a binary restart file of the current state of the simulation.
1271
+ """,
1272
+ )
1273
+
1274
+
1275
+ class Run(runschema.run.Run):
1276
+ m_def = Section(validate=False, extends_base_section=True)
1277
+
1278
+ x_lammps_section_input_output_files = SubSection(
1279
+ sub_section=SectionProxy('x_lammps_section_input_output_files'), repeats=True
1280
+ )
1281
+
1282
+ x_lammps_section_control_parameters = SubSection(
1283
+ sub_section=SectionProxy('x_lammps_section_control_parameters'), repeats=True
1284
+ )
1285
+
1286
+
1287
+ class Constraint(runschema.system.Constraint):
1288
+ m_def = Section(validate=False, extends_base_section=True)
1289
+
1290
+ x_lammps_xlo_xhi = Quantity(
1291
+ type=str,
1292
+ shape=[],
1293
+ description="""
1294
+ test
1295
+ """,
1296
+ )
1297
+
1298
+ x_lammps_data_file_store = Quantity(
1299
+ type=str,
1300
+ shape=[],
1301
+ description="""
1302
+ Filename of data file
1303
+ """,
1304
+ )
1305
+
1306
+ x_lammps_dummy = Quantity(
1307
+ type=str,
1308
+ shape=[],
1309
+ description="""
1310
+ dummy
1311
+ """,
1312
+ )
1313
+
1314
+ x_lammps_input_units_store = Quantity(
1315
+ type=str,
1316
+ shape=[],
1317
+ description="""
1318
+ It determines the units of all quantities specified in the input script and data
1319
+ file, as well as quantities output to the screen, log file, and dump files.
1320
+ """,
1321
+ )
1322
+
1323
+ x_lammps_data_bd_types_store = Quantity(
1324
+ type=np.int32,
1325
+ shape=[],
1326
+ description="""
1327
+ store temporarly
1328
+ """,
1329
+ )
1330
+
1331
+ x_lammps_data_bd_count_store = Quantity(
1332
+ type=np.int32,
1333
+ shape=[],
1334
+ description="""
1335
+ store temporarly
1336
+ """,
1337
+ )
1338
+
1339
+ x_lammps_data_ag_count_store = Quantity(
1340
+ type=np.int32,
1341
+ shape=[],
1342
+ description="""
1343
+ store temporarly
1344
+ """,
1345
+ )
1346
+
1347
+ x_lammps_data_at_types_store = Quantity(
1348
+ type=np.int32,
1349
+ shape=[],
1350
+ description="""
1351
+ store temporarly
1352
+ """,
1353
+ )
1354
+
1355
+ x_lammps_data_dh_count_store = Quantity(
1356
+ type=np.int32,
1357
+ shape=[],
1358
+ description="""
1359
+ store temporarly
1360
+ """,
1361
+ )
1362
+
1363
+ x_lammps_data_angles_store = Quantity(
1364
+ type=str,
1365
+ shape=[],
1366
+ description="""
1367
+ store temporarly
1368
+ """,
1369
+ )
1370
+
1371
+ x_lammps_data_angle_list_store = Quantity(
1372
+ type=str,
1373
+ shape=[],
1374
+ description="""
1375
+ tmp
1376
+ """,
1377
+ )
1378
+
1379
+ x_lammps_data_bond_list_store = Quantity(
1380
+ type=str,
1381
+ shape=[],
1382
+ description="""
1383
+ tmp
1384
+ """,
1385
+ )
1386
+
1387
+ x_lammps_data_dihedral_list_store = Quantity(
1388
+ type=str,
1389
+ shape=[],
1390
+ description="""
1391
+ tmp
1392
+ """,
1393
+ )
1394
+
1395
+ x_lammps_data_dihedral_coeff_list_store = Quantity(
1396
+ type=str,
1397
+ shape=[],
1398
+ description="""
1399
+ tmp
1400
+ """,
1401
+ )
1402
+
1403
+ x_lammps_masses_store = Quantity(
1404
+ type=str,
1405
+ shape=[],
1406
+ description="""
1407
+ tmp
1408
+ """,
1409
+ )
1410
+
1411
+ x_lammps_data_topo_list_store = Quantity(
1412
+ type=str,
1413
+ shape=[],
1414
+ description="""
1415
+ tmp
1416
+ """,
1417
+ )