nomad-parser-plugins-electronic 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 (272) hide show
  1. electronicparsers/__init__.py +1162 -0
  2. electronicparsers/abacus/__init__.py +20 -0
  3. electronicparsers/abacus/__main__.py +32 -0
  4. electronicparsers/abacus/metainfo/__init__.py +19 -0
  5. electronicparsers/abacus/metainfo/abacus.py +836 -0
  6. electronicparsers/abacus/nomad_plugin.yaml +44 -0
  7. electronicparsers/abacus/parser.py +1975 -0
  8. electronicparsers/abinit/__init__.py +19 -0
  9. electronicparsers/abinit/__main__.py +31 -0
  10. electronicparsers/abinit/metainfo/__init__.py +20 -0
  11. electronicparsers/abinit/metainfo/abinit.py +871 -0
  12. electronicparsers/abinit/metainfo/abinit_autogenerated.py +6794 -0
  13. electronicparsers/abinit/nomad_plugin.yaml +43 -0
  14. electronicparsers/abinit/parser.py +1922 -0
  15. electronicparsers/ams/__init__.py +19 -0
  16. electronicparsers/ams/__main__.py +31 -0
  17. electronicparsers/ams/metainfo/__init__.py +19 -0
  18. electronicparsers/ams/metainfo/ams.py +769 -0
  19. electronicparsers/ams/nomad_plugin.yaml +19 -0
  20. electronicparsers/ams/parser.py +1849 -0
  21. electronicparsers/ams/rkf.py +620 -0
  22. electronicparsers/atk/__init__.py +19 -0
  23. electronicparsers/atk/__main__.py +31 -0
  24. electronicparsers/atk/metainfo/__init__.py +19 -0
  25. electronicparsers/atk/metainfo/atk.py +71 -0
  26. electronicparsers/atk/nomad_plugin.yaml +34 -0
  27. electronicparsers/atk/parser.py +388 -0
  28. electronicparsers/bigdft/__init__.py +19 -0
  29. electronicparsers/bigdft/__main__.py +31 -0
  30. electronicparsers/bigdft/metainfo/__init__.py +18 -0
  31. electronicparsers/bigdft/nomad_plugin.yaml +19 -0
  32. electronicparsers/bigdft/parser.py +372 -0
  33. electronicparsers/castep/__init__.py +19 -0
  34. electronicparsers/castep/__main__.py +31 -0
  35. electronicparsers/castep/metainfo/__init__.py +19 -0
  36. electronicparsers/castep/metainfo/castep.py +2481 -0
  37. electronicparsers/castep/nomad_plugin.yaml +28 -0
  38. electronicparsers/castep/parser.py +1680 -0
  39. electronicparsers/charmm/__init__.py +19 -0
  40. electronicparsers/charmm/__main__.py +31 -0
  41. electronicparsers/charmm/metainfo/__init__.py +19 -0
  42. electronicparsers/charmm/metainfo/charmm.py +1931 -0
  43. electronicparsers/charmm/nomad_plugin.yaml +18 -0
  44. electronicparsers/charmm/parser.py +61 -0
  45. electronicparsers/cp2k/__init__.py +19 -0
  46. electronicparsers/cp2k/__main__.py +31 -0
  47. electronicparsers/cp2k/metainfo/__init__.py +19 -0
  48. electronicparsers/cp2k/metainfo/cp2k.py +59185 -0
  49. electronicparsers/cp2k/metainfo/cp2k_general.py +1014 -0
  50. electronicparsers/cp2k/nomad_plugin.yaml +49 -0
  51. electronicparsers/cp2k/parser.py +2324 -0
  52. electronicparsers/cpmd/__init__.py +19 -0
  53. electronicparsers/cpmd/__main__.py +31 -0
  54. electronicparsers/cpmd/metainfo/__init__.py +19 -0
  55. electronicparsers/cpmd/metainfo/cpmd.py +10733 -0
  56. electronicparsers/cpmd/metainfo/cpmd_general.py +988 -0
  57. electronicparsers/cpmd/nomad_plugin.yaml +19 -0
  58. electronicparsers/cpmd/parser.py +680 -0
  59. electronicparsers/crystal/__init__.py +19 -0
  60. electronicparsers/crystal/__main__.py +31 -0
  61. electronicparsers/crystal/metainfo/__init__.py +19 -0
  62. electronicparsers/crystal/metainfo/crystal.py +619 -0
  63. electronicparsers/crystal/nomad_plugin.yaml +36 -0
  64. electronicparsers/crystal/parser.py +1745 -0
  65. electronicparsers/dmol3/__init__.py +19 -0
  66. electronicparsers/dmol3/__main__.py +31 -0
  67. electronicparsers/dmol3/metainfo/__init__.py +19 -0
  68. electronicparsers/dmol3/metainfo/dmol3.py +664 -0
  69. electronicparsers/dmol3/nomad_plugin.yaml +19 -0
  70. electronicparsers/dmol3/parser.py +750 -0
  71. electronicparsers/edmft/__init__.py +19 -0
  72. electronicparsers/edmft/__main__.py +31 -0
  73. electronicparsers/edmft/metainfo/__init__.py +19 -0
  74. electronicparsers/edmft/metainfo/edmft.py +96 -0
  75. electronicparsers/edmft/nomad_plugin.yaml +53 -0
  76. electronicparsers/edmft/parser.py +912 -0
  77. electronicparsers/elk/__init__.py +19 -0
  78. electronicparsers/elk/__main__.py +31 -0
  79. electronicparsers/elk/metainfo/__init__.py +19 -0
  80. electronicparsers/elk/metainfo/elk.py +775 -0
  81. electronicparsers/elk/nomad_plugin.yaml +19 -0
  82. electronicparsers/elk/parser.py +493 -0
  83. electronicparsers/exciting/__init__.py +19 -0
  84. electronicparsers/exciting/__main__.py +31 -0
  85. electronicparsers/exciting/metainfo/__init__.py +19 -0
  86. electronicparsers/exciting/metainfo/exciting.py +2942 -0
  87. electronicparsers/exciting/nomad_plugin.yaml +83 -0
  88. electronicparsers/exciting/parser.py +3398 -0
  89. electronicparsers/fhiaims/__init__.py +19 -0
  90. electronicparsers/fhiaims/__main__.py +31 -0
  91. electronicparsers/fhiaims/metainfo/__init__.py +19 -0
  92. electronicparsers/fhiaims/metainfo/fhi_aims.py +1565 -0
  93. electronicparsers/fhiaims/nomad_plugin.yaml +52 -0
  94. electronicparsers/fhiaims/parser.py +2582 -0
  95. electronicparsers/fleur/__init__.py +19 -0
  96. electronicparsers/fleur/__main__.py +31 -0
  97. electronicparsers/fleur/metainfo/__init__.py +19 -0
  98. electronicparsers/fleur/metainfo/fleur.py +623 -0
  99. electronicparsers/fleur/nomad_plugin.yaml +19 -0
  100. electronicparsers/fleur/parser.py +952 -0
  101. electronicparsers/fplo/__init__.py +19 -0
  102. electronicparsers/fplo/__main__.py +31 -0
  103. electronicparsers/fplo/metainfo/__init__.py +19 -0
  104. electronicparsers/fplo/metainfo/fplo.py +188 -0
  105. electronicparsers/fplo/metainfo/fplo_input_autogenerated.py +2744 -0
  106. electronicparsers/fplo/metainfo/fplo_temporaries.py +319 -0
  107. electronicparsers/fplo/nomad_plugin.yaml +19 -0
  108. electronicparsers/fplo/parser.py +42 -0
  109. electronicparsers/gamess/__init__.py +19 -0
  110. electronicparsers/gamess/__main__.py +31 -0
  111. electronicparsers/gamess/metainfo/__init__.py +19 -0
  112. electronicparsers/gamess/metainfo/gamess.py +837 -0
  113. electronicparsers/gamess/nomad_plugin.yaml +19 -0
  114. electronicparsers/gamess/parser.py +941 -0
  115. electronicparsers/gaussian/__init__.py +19 -0
  116. electronicparsers/gaussian/__main__.py +31 -0
  117. electronicparsers/gaussian/metainfo/__init__.py +19 -0
  118. electronicparsers/gaussian/metainfo/gaussian.py +1707 -0
  119. electronicparsers/gaussian/nomad_plugin.yaml +18 -0
  120. electronicparsers/gaussian/parser.py +1556 -0
  121. electronicparsers/gpaw/__init__.py +19 -0
  122. electronicparsers/gpaw/__main__.py +31 -0
  123. electronicparsers/gpaw/metainfo/__init__.py +19 -0
  124. electronicparsers/gpaw/metainfo/gpaw.py +214 -0
  125. electronicparsers/gpaw/nomad_plugin.yaml +19 -0
  126. electronicparsers/gpaw/parser.py +671 -0
  127. electronicparsers/magres/__init__.py +19 -0
  128. electronicparsers/magres/__main__.py +31 -0
  129. electronicparsers/magres/metainfo/__init__.py +19 -0
  130. electronicparsers/magres/metainfo/magres.py +110 -0
  131. electronicparsers/magres/nomad_plugin.yaml +18 -0
  132. electronicparsers/magres/parser.py +505 -0
  133. electronicparsers/molcas/__init__.py +19 -0
  134. electronicparsers/molcas/__main__.py +31 -0
  135. electronicparsers/molcas/metainfo/__init__.py +19 -0
  136. electronicparsers/molcas/metainfo/molcas.py +151 -0
  137. electronicparsers/molcas/nomad_plugin.yaml +19 -0
  138. electronicparsers/molcas/parser.py +59 -0
  139. electronicparsers/mopac/__init__.py +19 -0
  140. electronicparsers/mopac/__main__.py +31 -0
  141. electronicparsers/mopac/metainfo/__init__.py +19 -0
  142. electronicparsers/mopac/metainfo/mopac.py +79 -0
  143. electronicparsers/mopac/nomad_plugin.yaml +19 -0
  144. electronicparsers/mopac/parser.py +304 -0
  145. electronicparsers/nwchem/__init__.py +19 -0
  146. electronicparsers/nwchem/__main__.py +31 -0
  147. electronicparsers/nwchem/metainfo/__init__.py +19 -0
  148. electronicparsers/nwchem/metainfo/nwchem.py +487 -0
  149. electronicparsers/nwchem/nomad_plugin.yaml +19 -0
  150. electronicparsers/nwchem/parser.py +757 -0
  151. electronicparsers/ocean/__init__.py +19 -0
  152. electronicparsers/ocean/__main__.py +31 -0
  153. electronicparsers/ocean/metainfo/__init__.py +19 -0
  154. electronicparsers/ocean/metainfo/ocean.py +410 -0
  155. electronicparsers/ocean/nomad_plugin.yaml +37 -0
  156. electronicparsers/ocean/parser.py +344 -0
  157. electronicparsers/octopus/__init__.py +19 -0
  158. electronicparsers/octopus/__main__.py +31 -0
  159. electronicparsers/octopus/metainfo/__init__.py +19 -0
  160. electronicparsers/octopus/metainfo/octopus.py +71 -0
  161. electronicparsers/octopus/metainfo/octopus_autogenerated.py +11647 -0
  162. electronicparsers/octopus/nomad_plugin.yaml +41 -0
  163. electronicparsers/octopus/parser.py +1214 -0
  164. electronicparsers/onetep/__init__.py +19 -0
  165. electronicparsers/onetep/__main__.py +31 -0
  166. electronicparsers/onetep/metainfo/__init__.py +19 -0
  167. electronicparsers/onetep/metainfo/onetep.py +3443 -0
  168. electronicparsers/onetep/nomad_plugin.yaml +19 -0
  169. electronicparsers/onetep/parser.py +577 -0
  170. electronicparsers/openmx/__init__.py +19 -0
  171. electronicparsers/openmx/__main__.py +31 -0
  172. electronicparsers/openmx/metainfo/__init__.py +19 -0
  173. electronicparsers/openmx/metainfo/openmx.py +24 -0
  174. electronicparsers/openmx/nomad_plugin.yaml +25 -0
  175. electronicparsers/openmx/parser.py +918 -0
  176. electronicparsers/orca/__init__.py +19 -0
  177. electronicparsers/orca/__main__.py +31 -0
  178. electronicparsers/orca/metainfo/__init__.py +19 -0
  179. electronicparsers/orca/metainfo/orca.py +1448 -0
  180. electronicparsers/orca/nomad_plugin.yaml +19 -0
  181. electronicparsers/orca/parser.py +1371 -0
  182. electronicparsers/psi4/__init__.py +19 -0
  183. electronicparsers/psi4/__main__.py +31 -0
  184. electronicparsers/psi4/metainfo/__init__.py +19 -0
  185. electronicparsers/psi4/metainfo/psi4.py +372 -0
  186. electronicparsers/psi4/nomad_plugin.yaml +27 -0
  187. electronicparsers/psi4/parser.py +1362 -0
  188. electronicparsers/qball/__init__.py +19 -0
  189. electronicparsers/qball/__main__.py +31 -0
  190. electronicparsers/qball/metainfo/__init__.py +19 -0
  191. electronicparsers/qball/metainfo/qball.py +27 -0
  192. electronicparsers/qball/nomad_plugin.yaml +25 -0
  193. electronicparsers/qball/parser.py +152 -0
  194. electronicparsers/qbox/__init__.py +19 -0
  195. electronicparsers/qbox/__main__.py +31 -0
  196. electronicparsers/qbox/metainfo/__init__.py +19 -0
  197. electronicparsers/qbox/metainfo/qbox.py +490 -0
  198. electronicparsers/qbox/nomad_plugin.yaml +19 -0
  199. electronicparsers/qbox/parser.py +508 -0
  200. electronicparsers/quantumespresso/__init__.py +19 -0
  201. electronicparsers/quantumespresso/__main__.py +31 -0
  202. electronicparsers/quantumespresso/metainfo/__init__.py +19 -0
  203. electronicparsers/quantumespresso/metainfo/quantum_espresso.py +3296 -0
  204. electronicparsers/quantumespresso/nomad_plugin.yaml +31 -0
  205. electronicparsers/quantumespresso/parser.py +3594 -0
  206. electronicparsers/siesta/__init__.py +19 -0
  207. electronicparsers/siesta/__main__.py +31 -0
  208. electronicparsers/siesta/metainfo/__init__.py +19 -0
  209. electronicparsers/siesta/metainfo/siesta.py +141 -0
  210. electronicparsers/siesta/metainfo/siesta_autogenerated.py +3365 -0
  211. electronicparsers/siesta/nomad_plugin.yaml +19 -0
  212. electronicparsers/siesta/parser.py +607 -0
  213. electronicparsers/soliddmft/__init__.py +19 -0
  214. electronicparsers/soliddmft/__main__.py +31 -0
  215. electronicparsers/soliddmft/metainfo/__init__.py +19 -0
  216. electronicparsers/soliddmft/metainfo/soliddmft.py +274 -0
  217. electronicparsers/soliddmft/nomad_plugin.yaml +26 -0
  218. electronicparsers/soliddmft/parser.py +727 -0
  219. electronicparsers/tbstudio/__init__.py +19 -0
  220. electronicparsers/tbstudio/__main__.py +31 -0
  221. electronicparsers/tbstudio/metainfo/__init__.py +19 -0
  222. electronicparsers/tbstudio/metainfo/tbstudio.py +34 -0
  223. electronicparsers/tbstudio/nomad_plugin.yaml +24 -0
  224. electronicparsers/tbstudio/parser.py +412 -0
  225. electronicparsers/turbomole/__init__.py +19 -0
  226. electronicparsers/turbomole/__main__.py +31 -0
  227. electronicparsers/turbomole/metainfo/__init__.py +19 -0
  228. electronicparsers/turbomole/metainfo/turbomole.py +727 -0
  229. electronicparsers/turbomole/nomad_plugin.yaml +18 -0
  230. electronicparsers/turbomole/parser.py +1585 -0
  231. electronicparsers/utils/__init__.py +20 -0
  232. electronicparsers/utils/magres_workflow.py +61 -0
  233. electronicparsers/utils/utils.py +636 -0
  234. electronicparsers/vasp/__init__.py +19 -0
  235. electronicparsers/vasp/__main__.py +31 -0
  236. electronicparsers/vasp/metainfo/__init__.py +19 -0
  237. electronicparsers/vasp/metainfo/vasp.py +169 -0
  238. electronicparsers/vasp/metainfo/vasp_incars.py +3428 -0
  239. electronicparsers/vasp/metainfo/vasp_incarsOut.py +3428 -0
  240. electronicparsers/vasp/metainfo/vasp_incarsUnknown.py +86 -0
  241. electronicparsers/vasp/nomad_plugin.yaml +28 -0
  242. electronicparsers/vasp/parser.py +2340 -0
  243. electronicparsers/w2dynamics/__init__.py +19 -0
  244. electronicparsers/w2dynamics/__main__.py +31 -0
  245. electronicparsers/w2dynamics/metainfo/__init__.py +19 -0
  246. electronicparsers/w2dynamics/metainfo/w2dynamics.py +1270 -0
  247. electronicparsers/w2dynamics/nomad_plugin.yaml +36 -0
  248. electronicparsers/w2dynamics/parser.py +674 -0
  249. electronicparsers/wannier90/__init__.py +19 -0
  250. electronicparsers/wannier90/__main__.py +31 -0
  251. electronicparsers/wannier90/metainfo/__init__.py +19 -0
  252. electronicparsers/wannier90/metainfo/wannier90.py +56 -0
  253. electronicparsers/wannier90/nomad_plugin.yaml +34 -0
  254. electronicparsers/wannier90/parser.py +671 -0
  255. electronicparsers/wien2k/__init__.py +19 -0
  256. electronicparsers/wien2k/__main__.py +31 -0
  257. electronicparsers/wien2k/metainfo/__init__.py +19 -0
  258. electronicparsers/wien2k/metainfo/wien2k.py +783 -0
  259. electronicparsers/wien2k/nomad_plugin.yaml +18 -0
  260. electronicparsers/wien2k/parser.py +1133 -0
  261. electronicparsers/yambo/__init__.py +19 -0
  262. electronicparsers/yambo/__main__.py +31 -0
  263. electronicparsers/yambo/metainfo/__init__.py +19 -0
  264. electronicparsers/yambo/metainfo/yambo.py +577 -0
  265. electronicparsers/yambo/nomad_plugin.yaml +31 -0
  266. electronicparsers/yambo/parser.py +896 -0
  267. nomad_parser_plugins_electronic-1.0.dist-info/LICENSE +202 -0
  268. nomad_parser_plugins_electronic-1.0.dist-info/METADATA +360 -0
  269. nomad_parser_plugins_electronic-1.0.dist-info/RECORD +272 -0
  270. nomad_parser_plugins_electronic-1.0.dist-info/WHEEL +5 -0
  271. nomad_parser_plugins_electronic-1.0.dist-info/entry_points.txt +43 -0
  272. nomad_parser_plugins_electronic-1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,836 @@
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
+
37
+ m_package = Package()
38
+
39
+
40
+ class x_abacus_input_settings(MCategory):
41
+ """
42
+ Parameters of INPUT.
43
+ """
44
+
45
+ m_def = Category()
46
+
47
+
48
+ class x_abacus_exx_settings(MCategory):
49
+ """
50
+ Parameters are relevant when using hybrid functionals.
51
+ """
52
+
53
+ m_def = Category()
54
+
55
+
56
+ class x_abacus_section_parallel(MSection):
57
+ """
58
+ section for run-time parallization options of ABACUS
59
+ """
60
+
61
+ m_def = Section(validate=False)
62
+
63
+ x_abacus_nproc = Quantity(
64
+ type=np.int32,
65
+ shape=[],
66
+ description="""
67
+ Number of processors
68
+ """,
69
+ )
70
+
71
+ x_abacus_kpar = Quantity(
72
+ type=np.int32,
73
+ shape=[],
74
+ description="""
75
+ Devide all processors into kpar groups, and k points will be distributed among each group.
76
+ """,
77
+ )
78
+
79
+ x_abacus_bndpar = Quantity(
80
+ type=np.int32,
81
+ shape=[],
82
+ description="""
83
+ Devide all processors into bndpar groups, and bands (only stochastic orbitals now) will be distributed among each group
84
+ """,
85
+ )
86
+
87
+ x_abacus_diago_proc = Quantity(
88
+ type=np.int32,
89
+ shape=[],
90
+ description="""
91
+ If set to a positive number, then it specifies the number of threads used for carrying out diagonalization.
92
+ """,
93
+ )
94
+
95
+ x_abacus_allocation_method = Quantity(
96
+ type=str,
97
+ shape=[],
98
+ description="""
99
+ The algorithms of dividing the H&S matrix
100
+ """,
101
+ )
102
+
103
+ x_abacus_allocation_nb2d = Quantity(
104
+ type=np.int32,
105
+ shape=[],
106
+ description="""
107
+ -
108
+ """,
109
+ )
110
+
111
+ x_abacus_allocation_trace_loc_row = Quantity(
112
+ type=np.int32,
113
+ shape=[],
114
+ description="""
115
+ -
116
+ """,
117
+ )
118
+
119
+ x_abacus_allocation_trace_loc_col = Quantity(
120
+ type=np.int32,
121
+ shape=[],
122
+ description="""
123
+ -
124
+ """,
125
+ )
126
+
127
+ x_abacus_allocation_nloc = Quantity(
128
+ type=np.int32,
129
+ shape=[],
130
+ description="""
131
+ -
132
+ """,
133
+ )
134
+
135
+
136
+ class x_abacus_section_specie_basis_set(MSection):
137
+ """
138
+ definition of each basis set
139
+ """
140
+
141
+ m_def = Section(validate=False)
142
+
143
+ x_abacus_specie_basis_set_filename = Quantity(
144
+ type=str,
145
+ shape=[],
146
+ description="""
147
+ Filename of basis set
148
+ """,
149
+ )
150
+
151
+ x_abacus_specie_basis_set_ln = Quantity(
152
+ type=np.int32,
153
+ shape=['x_abacus_specie_basis_set_number_of_orbitals', 2],
154
+ description="""
155
+ -
156
+ """,
157
+ )
158
+
159
+ x_abacus_specie_basis_set_rmesh = Quantity(
160
+ type=np.int32,
161
+ shape=[],
162
+ description="""
163
+ -
164
+ """,
165
+ )
166
+
167
+ x_abacus_specie_basis_set_rcutoff = Quantity(
168
+ type=np.float64,
169
+ unit='bohr',
170
+ shape=[],
171
+ description="""
172
+ -
173
+ """,
174
+ )
175
+
176
+ x_abacus_specie_basis_set_number_of_orbitals = Quantity(
177
+ type=np.int32,
178
+ shape=[],
179
+ description="""
180
+ -
181
+ """,
182
+ )
183
+
184
+
185
+ class BasisSet(runschema.method.BasisSet):
186
+ """
187
+ section for numerical atomic orbitals of ABACUS
188
+ """
189
+
190
+ m_def = Section(validate=False, extends_base_section=True)
191
+
192
+ x_abacus_basis_sets_delta_k = Quantity(
193
+ type=np.float64,
194
+ unit='1/bohr',
195
+ shape=[],
196
+ description="""
197
+ -
198
+ """,
199
+ )
200
+
201
+ x_abacus_basis_sets_delta_r = Quantity(
202
+ type=np.float64,
203
+ unit='bohr',
204
+ shape=[],
205
+ description="""
206
+ -
207
+ """,
208
+ )
209
+
210
+ x_abacus_basis_sets_dr_uniform = Quantity(
211
+ type=np.float64,
212
+ unit='bohr',
213
+ shape=[],
214
+ description="""
215
+ -
216
+ """,
217
+ )
218
+
219
+ x_abacus_basis_sets_rmax = Quantity(
220
+ type=np.float64,
221
+ unit='bohr',
222
+ shape=[],
223
+ description="""
224
+ -
225
+ """,
226
+ )
227
+
228
+ x_abacus_section_specie_basis_set = SubSection(
229
+ sub_section=SectionProxy('x_abacus_section_specie_basis_set'),
230
+ repeats=True,
231
+ )
232
+
233
+
234
+ class Calculation(runschema.calculation.Calculation):
235
+ m_def = Section(validate=False, extends_base_section=True)
236
+
237
+ x_abacus_init_velocities = Quantity(
238
+ type=bool,
239
+ shape=[],
240
+ description="""
241
+ Initialize velocities?
242
+ """,
243
+ categories=[x_abacus_input_settings],
244
+ )
245
+
246
+ x_abacus_longest_orb_rcut = Quantity(
247
+ type=np.float64,
248
+ unit='bohr',
249
+ shape=[],
250
+ description="""
251
+ -
252
+ """,
253
+ )
254
+
255
+ x_abacus_longest_nonlocal_projector_rcut = Quantity(
256
+ type=np.float64,
257
+ unit='bohr',
258
+ shape=[],
259
+ description="""
260
+ -
261
+ """,
262
+ )
263
+
264
+ x_abacus_searching_radius = Quantity(
265
+ type=np.float64,
266
+ unit='bohr',
267
+ shape=[],
268
+ description="""
269
+ -
270
+ """,
271
+ )
272
+
273
+ x_abacus_searching_radius_unit = Quantity(
274
+ type=np.float64,
275
+ unit='bohr',
276
+ shape=[],
277
+ description="""
278
+ -
279
+ """,
280
+ )
281
+
282
+ x_abacus_read_space_grid = Quantity(
283
+ type=np.int32,
284
+ shape=[3],
285
+ description="""
286
+ -
287
+ """,
288
+ )
289
+
290
+ x_abacus_big_cell_numbers_in_grid = Quantity(
291
+ type=np.int32,
292
+ shape=[3],
293
+ description="""
294
+ -
295
+ """,
296
+ )
297
+
298
+ x_abacus_meshcell_numbers_in_big_cell = Quantity(
299
+ type=np.int32,
300
+ shape=[3],
301
+ description="""
302
+ -
303
+ """,
304
+ )
305
+
306
+ x_abacus_extended_fft_grid = Quantity(
307
+ type=np.int32,
308
+ shape=[3],
309
+ description="""
310
+ -
311
+ """,
312
+ )
313
+
314
+ x_abacus_extended_fft_grid_dim = Quantity(
315
+ type=np.int32,
316
+ shape=[3],
317
+ description="""
318
+ -
319
+ """,
320
+ )
321
+
322
+
323
+ class Run(runschema.run.Run):
324
+ m_def = Section(validate=False, extends_base_section=True)
325
+
326
+ x_abacus_input_filename = Quantity(
327
+ type=str,
328
+ shape=[],
329
+ description="""
330
+ Filename input was read from
331
+ """,
332
+ )
333
+
334
+ x_abacus_program_execution_time = Quantity(
335
+ type=np.float64,
336
+ unit='seconds',
337
+ shape=[],
338
+ description="""
339
+ The duration of the program execution
340
+ """,
341
+ )
342
+
343
+ x_abacus_stru_filename = Quantity(
344
+ type=str,
345
+ shape=[],
346
+ description="""
347
+ Directory where initial atom_positions and lattice_vectors were read from
348
+ """,
349
+ )
350
+
351
+ x_abacus_kpt_filename = Quantity(
352
+ type=str,
353
+ shape=[],
354
+ description="""
355
+ Directory where k-points were read from
356
+ """,
357
+ )
358
+
359
+ x_abacus_basis_set_dirname = Quantity(
360
+ type=str,
361
+ shape=[],
362
+ description="""
363
+ Directory where basis set were read from
364
+ """,
365
+ )
366
+
367
+ x_abacus_pseudopotential_dirname = Quantity(
368
+ type=str,
369
+ shape=[],
370
+ description="""
371
+ Directory where pseudopotential were read from
372
+ """,
373
+ )
374
+
375
+ x_abacus_section_parallel = SubSection(
376
+ sub_section=SectionProxy('x_abacus_section_parallel'),
377
+ repeats=True,
378
+ )
379
+
380
+ x_abacus_md_nstep_in = Quantity(
381
+ type=np.int32,
382
+ shape=[],
383
+ description="""
384
+ The target total number of md steps.
385
+ """,
386
+ categories=[x_abacus_input_settings],
387
+ )
388
+
389
+ x_abacus_md_nstep_out = Quantity(
390
+ type=np.int32,
391
+ shape=[],
392
+ description="""
393
+ The actual total number of md steps.
394
+ """,
395
+ )
396
+
397
+
398
+ class Method(runschema.method.Method):
399
+ m_def = Section(validate=False, extends_base_section=True)
400
+
401
+ x_abacus_initial_magnetization_total = Quantity(
402
+ type=np.float64,
403
+ unit='bohr_magneton',
404
+ shape=[],
405
+ description="""
406
+ Initial total magnetization of the system set in INPUT.
407
+ """,
408
+ )
409
+
410
+ x_abacus_diagonalization_algorithm = Quantity(
411
+ type=str,
412
+ shape=[],
413
+ description="""
414
+ Algorithm used in subspace diagonalization
415
+ """,
416
+ )
417
+
418
+ x_abacus_dispersion_correction_method = Quantity(
419
+ type=str,
420
+ shape=[],
421
+ description="""
422
+ Calculation includes semi-empirical DFT-D dispersion correction
423
+ """,
424
+ )
425
+
426
+ x_abacus_basis_type = Quantity(
427
+ type=str,
428
+ shape=[],
429
+ description="""
430
+ Type of basis sets
431
+ """,
432
+ )
433
+
434
+ x_abacus_spin_orbit = Quantity(
435
+ type=bool,
436
+ shape=[],
437
+ description="""
438
+ Spin-orbit coupling flag: with/without spin-orbit
439
+ """,
440
+ )
441
+
442
+ x_abacus_noncollinear = Quantity(
443
+ type=bool,
444
+ shape=[],
445
+ description="""
446
+ Noncollinear spin mode
447
+ """,
448
+ )
449
+
450
+ x_abacus_mixing_method = Quantity(
451
+ type=str,
452
+ shape=[],
453
+ description="""
454
+ Charge mixing methods
455
+ """,
456
+ )
457
+
458
+ x_abacus_mixing_beta = Quantity(
459
+ type=np.float64,
460
+ shape=[],
461
+ description="""
462
+ Mixing method: parameter beta
463
+ """,
464
+ )
465
+
466
+ x_abacus_gamma_algorithms = Quantity(
467
+ type=bool,
468
+ shape=[],
469
+ description="""
470
+ Usage of gamma-only optimized algorithms
471
+ """,
472
+ )
473
+
474
+ x_abacus_scf_threshold_density = Quantity(
475
+ type=np.float64,
476
+ shape=[],
477
+ description="""
478
+ The density threshold for electronic iteration
479
+ """,
480
+ )
481
+
482
+ x_abacus_xc_functional = Quantity(
483
+ type=str,
484
+ shape=[],
485
+ description="""
486
+ Type of exchange-correlation functional used in calculation.
487
+ """,
488
+ categories=[x_abacus_input_settings],
489
+ )
490
+
491
+ x_abacus_pao_radial_cutoff = Quantity(
492
+ type=np.float64,
493
+ unit='bohr',
494
+ shape=[],
495
+ description="""
496
+ Radial cut-off of pseudo atomic orbital
497
+ """,
498
+ )
499
+
500
+ x_abacus_hse_omega = Quantity(
501
+ type=np.float64,
502
+ unit='1 / meter',
503
+ shape=[],
504
+ description="""
505
+ HSE omega
506
+ """,
507
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
508
+ )
509
+
510
+ x_abacus_hybrid_xc_coeff = Quantity(
511
+ type=np.float64,
512
+ shape=[],
513
+ description="""
514
+ Mixing parameter of hybrid functionals
515
+ """,
516
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
517
+ )
518
+
519
+ x_abacus_number_of_pw_for_wavefunction = Quantity(
520
+ type=np.int32,
521
+ shape=[],
522
+ description="""
523
+ -
524
+ """,
525
+ )
526
+
527
+ x_abacus_number_of_sticks_for_wavefunction = Quantity(
528
+ type=np.int32,
529
+ shape=[],
530
+ description="""
531
+ -
532
+ """,
533
+ )
534
+
535
+ x_abacus_number_of_pw_for_density = Quantity(
536
+ type=np.int32,
537
+ shape=[],
538
+ description="""
539
+ -
540
+ """,
541
+ )
542
+
543
+ x_abacus_number_of_sticks_for_density = Quantity(
544
+ type=np.int32,
545
+ shape=[],
546
+ description="""
547
+ -
548
+ """,
549
+ )
550
+
551
+ x_abacus_exx_ccp_rmesh_times = Quantity(
552
+ type=np.float64,
553
+ shape=[],
554
+ description="""
555
+ This parameter determines how many times larger the radial mesh required for calculating Columb potential is to that of atomic orbitals
556
+ """,
557
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
558
+ )
559
+
560
+ x_abacus_exx_dm_threshold = Quantity(
561
+ type=np.float64,
562
+ shape=[],
563
+ description="""
564
+ Smaller values of the density matrix can be truncated to accelerate calculation.
565
+ """,
566
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
567
+ )
568
+
569
+ x_abacus_exx_cauchy_threshold = Quantity(
570
+ type=np.float64,
571
+ shape=[],
572
+ description="""
573
+ Using Cauchy-Schwartz inequality to find an upper bound of each Fock exchange matrix element before carrying out explicit evaluations
574
+ """,
575
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
576
+ )
577
+
578
+ x_abacus_exx_schwarz_threshold = Quantity(
579
+ type=np.float64,
580
+ shape=[],
581
+ description="""
582
+ Using Cauchy-Schwartz inequality to find an upper bound of each four-center integral element before carrying out explicit evaluations
583
+ """,
584
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
585
+ )
586
+
587
+ x_abacus_exx_c_threshold = Quantity(
588
+ type=np.float64,
589
+ shape=[],
590
+ description="""
591
+ Smaller components of the C matrix is neglected to accelerate calculation
592
+ """,
593
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
594
+ )
595
+
596
+ x_abacus_exx_v_threshold = Quantity(
597
+ type=np.float64,
598
+ shape=[],
599
+ description="""
600
+ Smaller components of the V matrix is neglected to accelerate calculation
601
+ """,
602
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
603
+ )
604
+
605
+ x_abacus_exx_pca_threshold = Quantity(
606
+ type=np.float64,
607
+ shape=[],
608
+ description="""
609
+ The size of basis of auxiliary basis functions is reduced using principal component analysis.
610
+ """,
611
+ categories=[x_abacus_input_settings, x_abacus_exx_settings],
612
+ )
613
+
614
+
615
+ class System(runschema.system.System):
616
+ m_def = Section(validate=False, extends_base_section=True)
617
+
618
+ x_abacus_alat = Quantity(
619
+ type=np.float64,
620
+ unit='bohr',
621
+ shape=[],
622
+ description="""
623
+ Lattice Parameter 'a', constant during a run and used as unit in other quantities
624
+ """,
625
+ )
626
+
627
+ x_abacus_reciprocal_vectors = Quantity(
628
+ type=np.float64,
629
+ shape=[3, 3],
630
+ unit='1 / meter',
631
+ description="""
632
+ The reciprocal cell
633
+ """,
634
+ )
635
+
636
+ x_abacus_celldm = Quantity(
637
+ type=np.float64,
638
+ shape=[6],
639
+ description="""
640
+ Cell [a, b, c, alpha, beta, gamma], length a, b and c are in unit Angstrom
641
+ """,
642
+ )
643
+
644
+ x_abacus_ibrav = Quantity(
645
+ type=np.int32,
646
+ shape=[],
647
+ description="""
648
+ Bravais lattice index, constant during a run
649
+ """,
650
+ )
651
+
652
+ x_abacus_number_of_electrons_out = Quantity(
653
+ type=np.int32,
654
+ shape=['x_abacus_number_of_species'],
655
+ description="""
656
+ This denotes number of electrons of each element in the system calculated by ABACUS
657
+ """,
658
+ )
659
+
660
+ x_abacus_total_number_of_electrons_in = Quantity(
661
+ type=np.int32,
662
+ shape=[],
663
+ description="""
664
+ This denotes total number of electrons set in INPUT
665
+ """,
666
+ )
667
+
668
+ x_abacus_number_of_species = Quantity(
669
+ type=np.int32,
670
+ shape=[],
671
+ description="""
672
+ This denotes total number of species in the system
673
+ """,
674
+ )
675
+
676
+ x_abacus_cell_volume = Quantity(
677
+ type=np.float64,
678
+ unit='bohr**3',
679
+ shape=[],
680
+ description="""
681
+ Volume of unit cell
682
+ """,
683
+ )
684
+
685
+ x_abacus_atom_magnetic_moments = Quantity(
686
+ type=np.float64,
687
+ unit='bohr_magneton',
688
+ shape=['n_atoms'],
689
+ description="""
690
+ The start magnetization for each atom
691
+ """,
692
+ )
693
+
694
+
695
+ class Symmetry(runschema.system.Symmetry):
696
+ m_def = Section(validate=False, extends_base_section=True)
697
+
698
+ x_abacus_ibrav = Quantity(
699
+ type=np.int32,
700
+ shape=[],
701
+ description="""
702
+ Bravais lattice index, constant during a run
703
+ """,
704
+ )
705
+
706
+ x_abacus_point_group_schoenflies_name = Quantity(
707
+ type=str,
708
+ shape=[],
709
+ description="""
710
+ The Schoenflies name of the point group
711
+ """,
712
+ )
713
+
714
+ x_abacus_number_of_rotation_matrices = Quantity(
715
+ type=np.int32,
716
+ shape=[],
717
+ description="""
718
+ -
719
+ """,
720
+ )
721
+
722
+ x_abacus_number_of_point_group_operations = Quantity(
723
+ type=np.int32,
724
+ shape=[],
725
+ description="""
726
+ -
727
+ """,
728
+ )
729
+
730
+ x_abacus_number_of_space_group_operations = Quantity(
731
+ type=np.int32,
732
+ shape=[],
733
+ description="""
734
+ -
735
+ """,
736
+ )
737
+
738
+
739
+ class AtomParameters(runschema.method.AtomParameters):
740
+ m_def = Section(validate=False, extends_base_section=True)
741
+
742
+ x_abacus_pp_type = Quantity(
743
+ type=str,
744
+ shape=[],
745
+ description="""
746
+ Type of pseudopotential, e.g. 'NC' or 'US'
747
+ """,
748
+ )
749
+
750
+ x_abacus_pp_xc = Quantity(
751
+ type=str,
752
+ shape=[],
753
+ description="""
754
+ Exchange-correlation functional of pseudopotential, e.g. 'PBE' or 'PZ'
755
+ """,
756
+ )
757
+
758
+ x_abacus_pp_lmax = Quantity(
759
+ type=np.int32,
760
+ shape=[],
761
+ description="""
762
+ Maximum angular momentum component in pseudopotential
763
+ """,
764
+ )
765
+
766
+ x_abacus_pp_nzeta = Quantity(
767
+ type=np.int32,
768
+ shape=[],
769
+ description="""
770
+ Number of wavefunctions in pseudopotential
771
+ """,
772
+ )
773
+
774
+ x_abacus_pp_nprojectors = Quantity(
775
+ type=np.int32,
776
+ shape=[],
777
+ description="""
778
+ Number of projectors in pseudopotential
779
+ """,
780
+ )
781
+
782
+
783
+ class ScfIteration(runschema.calculation.ScfIteration):
784
+ m_def = Section(validate=False, extends_base_section=True)
785
+
786
+ x_abacus_density_change_scf_iteration = Quantity(
787
+ type=np.float64,
788
+ shape=[],
789
+ description="""
790
+ Stores the change of charge density with respect to the previous self-consistent
791
+ field (SCF) iteration.
792
+ """,
793
+ )
794
+
795
+ x_abacus_energy_total_harris_foulkes_estimate = Quantity(
796
+ type=np.float64,
797
+ unit='joule',
798
+ shape=[],
799
+ description="""
800
+ Stores the change of charge density with respect to the previous self-consistent
801
+ field (SCF) iteration.
802
+ """,
803
+ )
804
+
805
+ x_abacus_magnetization_total = Quantity(
806
+ type=np.float64,
807
+ unit='bohr_magneton',
808
+ shape=[3],
809
+ description="""
810
+ Total per-cell magnetization
811
+ """,
812
+ )
813
+
814
+ x_abacus_magnetization_absolute = Quantity(
815
+ type=np.float64,
816
+ unit='bohr_magneton',
817
+ shape=[],
818
+ description="""
819
+ Absolute per-cell magnetization
820
+ """,
821
+ )
822
+
823
+
824
+ class BandEnergies(runschema.calculation.BandEnergies):
825
+ m_def = Section(validate=False, extends_base_section=True)
826
+
827
+ x_abacus_eigenvalues_number_of_planewaves = Quantity(
828
+ type=np.int32,
829
+ shape=['number_of_eigenvalues_kpoints'],
830
+ description="""
831
+ Number of plane waves for each k-point
832
+ """,
833
+ )
834
+
835
+
836
+ m_package.__init_metainfo__()