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.
- atomisticparsers/__init__.py +400 -0
- atomisticparsers/amber/__init__.py +19 -0
- atomisticparsers/amber/__main__.py +31 -0
- atomisticparsers/amber/metainfo/__init__.py +19 -0
- atomisticparsers/amber/metainfo/amber.py +495 -0
- atomisticparsers/amber/parser.py +42 -0
- atomisticparsers/asap/__init__.py +19 -0
- atomisticparsers/asap/__main__.py +31 -0
- atomisticparsers/asap/metainfo/__init__.py +19 -0
- atomisticparsers/asap/metainfo/asap.py +75 -0
- atomisticparsers/asap/parser.py +197 -0
- atomisticparsers/bopfox/__init__.py +19 -0
- atomisticparsers/bopfox/__main__.py +31 -0
- atomisticparsers/bopfox/metainfo/__init__.py +19 -0
- atomisticparsers/bopfox/metainfo/bopfox.py +225 -0
- atomisticparsers/bopfox/parser.py +808 -0
- atomisticparsers/dftbplus/__init__.py +19 -0
- atomisticparsers/dftbplus/__main__.py +31 -0
- atomisticparsers/dftbplus/metainfo/__init__.py +19 -0
- atomisticparsers/dftbplus/metainfo/dftbplus.py +217 -0
- atomisticparsers/dftbplus/parser.py +500 -0
- atomisticparsers/dlpoly/__init__.py +19 -0
- atomisticparsers/dlpoly/__main__.py +31 -0
- atomisticparsers/dlpoly/metainfo/__init__.py +19 -0
- atomisticparsers/dlpoly/metainfo/dl_poly.py +312 -0
- atomisticparsers/dlpoly/parser.py +798 -0
- atomisticparsers/gromacs/__init__.py +19 -0
- atomisticparsers/gromacs/__main__.py +31 -0
- atomisticparsers/gromacs/metainfo/__init__.py +19 -0
- atomisticparsers/gromacs/metainfo/gromacs.py +2388 -0
- atomisticparsers/gromacs/parser.py +1581 -0
- atomisticparsers/gromos/__init__.py +19 -0
- atomisticparsers/gromos/__main__.py +31 -0
- atomisticparsers/gromos/metainfo/__init__.py +19 -0
- atomisticparsers/gromos/metainfo/gromos.py +1995 -0
- atomisticparsers/gromos/parser.py +58 -0
- atomisticparsers/gulp/__init__.py +19 -0
- atomisticparsers/gulp/__main__.py +31 -0
- atomisticparsers/gulp/metainfo/__init__.py +19 -0
- atomisticparsers/gulp/metainfo/gulp.py +1117 -0
- atomisticparsers/gulp/parser.py +1316 -0
- atomisticparsers/h5md/__init__.py +19 -0
- atomisticparsers/h5md/__main__.py +31 -0
- atomisticparsers/h5md/metainfo/__init__.py +19 -0
- atomisticparsers/h5md/metainfo/h5md.py +239 -0
- atomisticparsers/h5md/parser.py +901 -0
- atomisticparsers/lammps/__init__.py +19 -0
- atomisticparsers/lammps/__main__.py +31 -0
- atomisticparsers/lammps/metainfo/__init__.py +19 -0
- atomisticparsers/lammps/metainfo/lammps.py +1417 -0
- atomisticparsers/lammps/parser.py +1753 -0
- atomisticparsers/libatoms/__init__.py +19 -0
- atomisticparsers/libatoms/__main__.py +31 -0
- atomisticparsers/libatoms/metainfo/__init__.py +19 -0
- atomisticparsers/libatoms/metainfo/lib_atoms.py +251 -0
- atomisticparsers/libatoms/parser.py +38 -0
- atomisticparsers/namd/__init__.py +19 -0
- atomisticparsers/namd/__main__.py +31 -0
- atomisticparsers/namd/metainfo/__init__.py +19 -0
- atomisticparsers/namd/metainfo/namd.py +1605 -0
- atomisticparsers/namd/parser.py +312 -0
- atomisticparsers/tinker/__init__.py +19 -0
- atomisticparsers/tinker/__main__.py +31 -0
- atomisticparsers/tinker/metainfo/__init__.py +18 -0
- atomisticparsers/tinker/metainfo/tinker.py +1363 -0
- atomisticparsers/tinker/parser.py +685 -0
- atomisticparsers/utils/__init__.py +22 -0
- atomisticparsers/utils/mdanalysis.py +662 -0
- atomisticparsers/utils/parsers.py +226 -0
- atomisticparsers/xtb/__init__.py +19 -0
- atomisticparsers/xtb/__main__.py +32 -0
- atomisticparsers/xtb/metainfo/__init__.py +19 -0
- atomisticparsers/xtb/metainfo/xtb.py +256 -0
- atomisticparsers/xtb/parser.py +979 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/LICENSE +202 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/METADATA +327 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/RECORD +80 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/WHEEL +5 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/entry_points.txt +15 -0
- nomad_parser_plugins_atomistic-1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,312 @@
|
|
|
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
|
+
JSON,
|
|
32
|
+
)
|
|
33
|
+
import runschema.run # pylint: disable=unused-import
|
|
34
|
+
import runschema.calculation # pylint: disable=unused-import
|
|
35
|
+
import runschema.method # pylint: disable=unused-import
|
|
36
|
+
import runschema.system # pylint: disable=unused-import
|
|
37
|
+
import simulationworkflowschema
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
m_package = Package()
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
class x_dl_poly_section_md_molecule_type(MSection):
|
|
44
|
+
"""
|
|
45
|
+
Section to store molecule type information
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
m_def = Section(validate=False)
|
|
49
|
+
|
|
50
|
+
x_dl_poly_md_molecule_type_id = Quantity(
|
|
51
|
+
type=np.int32,
|
|
52
|
+
shape=[],
|
|
53
|
+
description="""
|
|
54
|
+
Molecule type id
|
|
55
|
+
""",
|
|
56
|
+
)
|
|
57
|
+
|
|
58
|
+
x_dl_poly_md_molecule_type_name = Quantity(
|
|
59
|
+
type=str,
|
|
60
|
+
shape=[],
|
|
61
|
+
description="""
|
|
62
|
+
Molecule type name
|
|
63
|
+
""",
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class x_dl_poly_section_md_topology(MSection):
|
|
68
|
+
"""
|
|
69
|
+
Section modelling the MD topology
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
m_def = Section(validate=False)
|
|
73
|
+
|
|
74
|
+
x_dl_poly_md_molecular_types = Quantity(
|
|
75
|
+
type=np.int32,
|
|
76
|
+
shape=[],
|
|
77
|
+
description="""
|
|
78
|
+
Number of molecular types in topology
|
|
79
|
+
""",
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
x_dl_poly_section_md_molecule_type = SubSection(
|
|
83
|
+
sub_section=SectionProxy('x_dl_poly_section_md_molecule_type'), repeats=True
|
|
84
|
+
)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class MolecularDynamics(simulationworkflowschema.MolecularDynamics):
|
|
88
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
89
|
+
|
|
90
|
+
x_dl_poly_barostat_target_pressure = Quantity(
|
|
91
|
+
type=np.float64,
|
|
92
|
+
shape=[],
|
|
93
|
+
unit='pascal',
|
|
94
|
+
description="""
|
|
95
|
+
MD barostat target pressure.
|
|
96
|
+
""",
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
x_dl_poly_barostat_tau = Quantity(
|
|
100
|
+
type=np.float64,
|
|
101
|
+
shape=[],
|
|
102
|
+
unit='second',
|
|
103
|
+
description="""
|
|
104
|
+
MD barostat relaxation time.
|
|
105
|
+
""",
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
x_dl_poly_integrator_dt = Quantity(
|
|
109
|
+
type=np.float64,
|
|
110
|
+
shape=[],
|
|
111
|
+
unit='second',
|
|
112
|
+
description="""
|
|
113
|
+
MD integration time step.
|
|
114
|
+
""",
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
x_dl_poly_integrator_type = Quantity(
|
|
118
|
+
type=str,
|
|
119
|
+
shape=[],
|
|
120
|
+
description="""
|
|
121
|
+
MD integrator type, valid values are defined in the integrator_type wiki page.
|
|
122
|
+
""",
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
x_dl_poly_number_of_steps_requested = Quantity(
|
|
126
|
+
type=np.float64,
|
|
127
|
+
shape=[],
|
|
128
|
+
description="""
|
|
129
|
+
Number of requested MD integration time steps.
|
|
130
|
+
""",
|
|
131
|
+
)
|
|
132
|
+
|
|
133
|
+
x_dl_poly_thermostat_target_temperature = Quantity(
|
|
134
|
+
type=np.float64,
|
|
135
|
+
shape=[],
|
|
136
|
+
unit='kelvin',
|
|
137
|
+
description="""
|
|
138
|
+
MD thermostat target temperature.
|
|
139
|
+
""",
|
|
140
|
+
)
|
|
141
|
+
|
|
142
|
+
x_dl_poly_thermostat_tau = Quantity(
|
|
143
|
+
type=np.float64,
|
|
144
|
+
shape=[],
|
|
145
|
+
unit='second',
|
|
146
|
+
description="""
|
|
147
|
+
MD thermostat relaxation time.
|
|
148
|
+
""",
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
class Run(runschema.run.Run):
|
|
153
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
154
|
+
|
|
155
|
+
x_dl_poly_program_version_date = Quantity(
|
|
156
|
+
type=str,
|
|
157
|
+
shape=[],
|
|
158
|
+
description="""
|
|
159
|
+
Program version date
|
|
160
|
+
""",
|
|
161
|
+
)
|
|
162
|
+
|
|
163
|
+
x_dl_poly_system_description = Quantity(
|
|
164
|
+
type=str,
|
|
165
|
+
shape=[],
|
|
166
|
+
description="""
|
|
167
|
+
Simulation run title
|
|
168
|
+
""",
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
class System(runschema.system.System):
|
|
173
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
174
|
+
|
|
175
|
+
x_dl_poly_section_md_topology = SubSection(
|
|
176
|
+
sub_section=SectionProxy('x_dl_poly_section_md_topology'), repeats=True
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
class Method(runschema.method.Method):
|
|
181
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
182
|
+
|
|
183
|
+
x_dl_poly_step_number_equilibration = Quantity(
|
|
184
|
+
type=np.int32,
|
|
185
|
+
shape=[],
|
|
186
|
+
description="""
|
|
187
|
+
MD equilibration step number
|
|
188
|
+
""",
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
x_dl_poly_step_number = Quantity(
|
|
192
|
+
type=np.int32,
|
|
193
|
+
shape=[],
|
|
194
|
+
description="""
|
|
195
|
+
MD total step number
|
|
196
|
+
""",
|
|
197
|
+
)
|
|
198
|
+
|
|
199
|
+
x_dl_poly_thermostat_temperature = Quantity(
|
|
200
|
+
type=np.float64,
|
|
201
|
+
shape=[],
|
|
202
|
+
description="""
|
|
203
|
+
Thermostat coupling temperature
|
|
204
|
+
""",
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
x_dl_poly_control_parameters = Quantity(
|
|
208
|
+
type=JSON,
|
|
209
|
+
shape=[],
|
|
210
|
+
description="""
|
|
211
|
+
""",
|
|
212
|
+
)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class AtomParameters(runschema.method.AtomParameters):
|
|
216
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
217
|
+
|
|
218
|
+
x_dl_poly_nrept = Quantity(
|
|
219
|
+
type=np.int32,
|
|
220
|
+
shape=[],
|
|
221
|
+
description="""
|
|
222
|
+
""",
|
|
223
|
+
)
|
|
224
|
+
|
|
225
|
+
x_dl_poly_ifrz = Quantity(
|
|
226
|
+
type=np.int32,
|
|
227
|
+
shape=[],
|
|
228
|
+
description="""
|
|
229
|
+
""",
|
|
230
|
+
)
|
|
231
|
+
|
|
232
|
+
x_dl_poly_igrp = Quantity(
|
|
233
|
+
type=np.int32,
|
|
234
|
+
shape=[],
|
|
235
|
+
description="""
|
|
236
|
+
""",
|
|
237
|
+
)
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class Calculation(runschema.calculation.Calculation):
|
|
241
|
+
m_def = Section(validate=False, extends_base_section=True)
|
|
242
|
+
|
|
243
|
+
x_dl_poly_virial_configurational = Quantity(
|
|
244
|
+
type=np.float64,
|
|
245
|
+
shape=[],
|
|
246
|
+
description="""
|
|
247
|
+
""",
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
x_dl_poly_virial_short_range = Quantity(
|
|
251
|
+
type=np.float64,
|
|
252
|
+
shape=[],
|
|
253
|
+
description="""
|
|
254
|
+
""",
|
|
255
|
+
)
|
|
256
|
+
|
|
257
|
+
x_dl_poly_virial_coulomb = Quantity(
|
|
258
|
+
type=np.float64,
|
|
259
|
+
shape=[],
|
|
260
|
+
description="""
|
|
261
|
+
""",
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
x_dl_poly_virial_bond = Quantity(
|
|
265
|
+
type=np.float64,
|
|
266
|
+
shape=[],
|
|
267
|
+
description="""
|
|
268
|
+
""",
|
|
269
|
+
)
|
|
270
|
+
|
|
271
|
+
x_dl_poly_virial_angle = Quantity(
|
|
272
|
+
type=np.float64,
|
|
273
|
+
shape=[],
|
|
274
|
+
description="""
|
|
275
|
+
""",
|
|
276
|
+
)
|
|
277
|
+
|
|
278
|
+
x_dl_poly_virial_constraint = Quantity(
|
|
279
|
+
type=np.float64,
|
|
280
|
+
shape=[],
|
|
281
|
+
description="""
|
|
282
|
+
""",
|
|
283
|
+
)
|
|
284
|
+
|
|
285
|
+
x_dl_poly_virial_tethering = Quantity(
|
|
286
|
+
type=np.float64,
|
|
287
|
+
shape=[],
|
|
288
|
+
description="""
|
|
289
|
+
""",
|
|
290
|
+
)
|
|
291
|
+
|
|
292
|
+
x_dl_poly_volume = Quantity(
|
|
293
|
+
type=np.float64,
|
|
294
|
+
unit='m ** 3',
|
|
295
|
+
shape=[],
|
|
296
|
+
description="""
|
|
297
|
+
""",
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
x_dl_poly_core_shell = Quantity(
|
|
301
|
+
type=np.float64,
|
|
302
|
+
shape=[],
|
|
303
|
+
description="""
|
|
304
|
+
""",
|
|
305
|
+
)
|
|
306
|
+
|
|
307
|
+
x_dl_poly_virial_potential_mean_force = Quantity(
|
|
308
|
+
type=np.float64,
|
|
309
|
+
shape=[],
|
|
310
|
+
description="""
|
|
311
|
+
""",
|
|
312
|
+
)
|