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,19 @@
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
+ from .parser import YamboParser
@@ -0,0 +1,31 @@
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 sys
20
+ import json
21
+ import logging
22
+
23
+ from nomad.utils import configure_logging
24
+ from nomad.datamodel import EntryArchive
25
+ from electronicparsers.yambo import YamboParser
26
+
27
+ if __name__ == '__main__':
28
+ configure_logging(console_log_level=logging.DEBUG)
29
+ archive = EntryArchive()
30
+ YamboParser().parse(sys.argv[1], archive, logging)
31
+ json.dump(archive.m_to_dict(), sys.stdout, indent=2)
@@ -0,0 +1,19 @@
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
+ from . import yambo
@@ -0,0 +1,577 @@
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
+ from nomad.metainfo import ( # pylint: disable=unused-import
21
+ MSection,
22
+ MCategory,
23
+ Category,
24
+ Package,
25
+ Quantity,
26
+ Section,
27
+ SubSection,
28
+ Reference,
29
+ JSON,
30
+ )
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
+
38
+ m_package = Package()
39
+
40
+
41
+ class x_yambo_io(MSection):
42
+ m_def = Section(validate=False)
43
+
44
+ x_yambo_parameters = Quantity(
45
+ type=JSON,
46
+ shape=[],
47
+ description="""
48
+ """,
49
+ )
50
+
51
+ x_yambo_file = Quantity(
52
+ type=str,
53
+ shape=[],
54
+ description="""
55
+ """,
56
+ )
57
+
58
+ x_yambo_sn = Quantity(
59
+ type=str,
60
+ shape=[],
61
+ description="""
62
+ """,
63
+ )
64
+
65
+
66
+ class x_yambo_parameters(MSection):
67
+ m_def = Section(validate=False)
68
+
69
+ x_yambo_bands = Quantity(
70
+ type=np.int32,
71
+ shape=[],
72
+ description="""
73
+ """,
74
+ )
75
+
76
+ x_yambo_k_points = Quantity(
77
+ type=np.int32,
78
+ shape=[],
79
+ description="""
80
+ """,
81
+ )
82
+
83
+ x_yambo_g_vectors = Quantity(
84
+ type=np.int32,
85
+ shape=[],
86
+ description="""
87
+ """,
88
+ )
89
+
90
+ x_yambo_components = Quantity(
91
+ type=np.int32,
92
+ shape=[],
93
+ description="""
94
+ """,
95
+ )
96
+
97
+ x_yambo_symmetries = Quantity(
98
+ type=np.int32,
99
+ shape=[],
100
+ description="""
101
+ """,
102
+ )
103
+
104
+ x_yambo_spinor_components = Quantity(
105
+ type=np.int32,
106
+ shape=[],
107
+ description="""
108
+ """,
109
+ )
110
+
111
+ x_yambo_spin_polarization = Quantity(
112
+ type=np.int32,
113
+ shape=[],
114
+ description="""
115
+ """,
116
+ )
117
+
118
+ x_yambo_temperature = Quantity(
119
+ type=np.float64,
120
+ shape=[],
121
+ unit='joule',
122
+ description="""
123
+ """,
124
+ )
125
+
126
+ x_yambo_electrons = Quantity(
127
+ type=np.float64,
128
+ shape=[],
129
+ description="""
130
+ """,
131
+ )
132
+
133
+ x_yambo_wf_g_vectors = Quantity(
134
+ type=np.int32,
135
+ shape=[],
136
+ description="""
137
+ """,
138
+ )
139
+
140
+ x_yambo_max_atoms_species = Quantity(
141
+ type=np.int32,
142
+ shape=[],
143
+ description="""
144
+ """,
145
+ )
146
+
147
+ x_yambo_n_atom_species = Quantity(
148
+ type=np.int32,
149
+ shape=[],
150
+ description="""
151
+ """,
152
+ )
153
+
154
+ x_yambo_exact_exchange_fraction_in_xc = Quantity(
155
+ type=np.float64,
156
+ shape=[],
157
+ description="""
158
+ """,
159
+ )
160
+
161
+ x_yambo_exact_exchange_screening_in_xc = Quantity(
162
+ type=np.float64,
163
+ shape=[],
164
+ description="""
165
+ """,
166
+ )
167
+
168
+ x_yambo_magnetic_symmetries = Quantity(
169
+ type=str,
170
+ shape=[],
171
+ description="""
172
+ """,
173
+ )
174
+
175
+
176
+ class Program(runschema.run.Program):
177
+ m_def = Section(validate=False, extends_base_section=True)
178
+
179
+ x_yambo_build = Quantity(
180
+ type=str,
181
+ shape=[],
182
+ description="""
183
+ """,
184
+ )
185
+
186
+ x_yambo_hash = Quantity(
187
+ type=str,
188
+ shape=[],
189
+ description="""
190
+ """,
191
+ )
192
+
193
+
194
+ class Run(runschema.run.Run):
195
+ m_def = Section(validate=False, extends_base_section=True)
196
+
197
+ x_yambo_job_string = Quantity(
198
+ type=str,
199
+ shape=[],
200
+ description="""
201
+ """,
202
+ )
203
+
204
+ x_yambo_cpu = Quantity(
205
+ type=np.int32,
206
+ shape=[],
207
+ description="""
208
+ """,
209
+ )
210
+
211
+ x_yambo_threads = Quantity(
212
+ type=np.int32,
213
+ shape=[],
214
+ description="""
215
+ """,
216
+ )
217
+
218
+ x_yambo_threads_tot = Quantity(
219
+ type=np.int32,
220
+ shape=[],
221
+ description="""
222
+ """,
223
+ )
224
+
225
+ x_yambo_io_nodes = Quantity(
226
+ type=np.int32,
227
+ shape=[],
228
+ description="""
229
+ """,
230
+ )
231
+
232
+ x_yambo_fragmented_io = Quantity(
233
+ type=bool,
234
+ shape=[],
235
+ description="""
236
+ """,
237
+ )
238
+
239
+ x_yambo_fragmented_wfs = Quantity(
240
+ type=bool,
241
+ shape=[],
242
+ description="""
243
+ """,
244
+ )
245
+
246
+ x_yambo_core_databases = Quantity(
247
+ type=str,
248
+ shape=[],
249
+ description="""
250
+ """,
251
+ )
252
+
253
+ x_yambo_additional_io = Quantity(
254
+ type=str,
255
+ shape=[],
256
+ description="""
257
+ """,
258
+ )
259
+
260
+ x_yambo_communications = Quantity(
261
+ type=str,
262
+ shape=[],
263
+ description="""
264
+ """,
265
+ )
266
+
267
+ x_yambo_input_file = Quantity(
268
+ type=str,
269
+ shape=[],
270
+ description="""
271
+ """,
272
+ )
273
+
274
+ x_yambo_report_file = Quantity(
275
+ type=str,
276
+ shape=[],
277
+ description="""
278
+ """,
279
+ )
280
+
281
+ x_yambo_verbose_log_report = Quantity(
282
+ type=bool,
283
+ shape=[],
284
+ description="""
285
+ """,
286
+ )
287
+
288
+ x_yambo_precision = Quantity(
289
+ type=str,
290
+ shape=[],
291
+ description="""
292
+ """,
293
+ )
294
+
295
+ x_yambo_log_files = Quantity(
296
+ type=str,
297
+ shape=[],
298
+ description="""
299
+ """,
300
+ )
301
+
302
+ x_yambo_input = SubSection(sub_section=x_yambo_io.m_def, repeats=False)
303
+
304
+
305
+ class x_yambo_local_xc_nonlocal_fock_bandenergies(runschema.calculation.BandEnergies):
306
+ m_def = Section(validate=False)
307
+
308
+ x_yambo_sx = Quantity(
309
+ type=np.float64,
310
+ shape=['n_spin_channels', 'n_kpoints', 'n_bands'],
311
+ unit='joule',
312
+ description="""
313
+ """,
314
+ )
315
+
316
+ x_yambo_vxc = Quantity(
317
+ type=np.float64,
318
+ shape=['n_spin_channels', 'n_kpoints', 'n_bands'],
319
+ unit='joule',
320
+ description="""
321
+ """,
322
+ )
323
+
324
+
325
+ class x_yambo_bare_xc_bandenergies(runschema.calculation.BandEnergies):
326
+ m_def = Section(validate=False)
327
+
328
+ x_yambo_dft = Quantity(
329
+ type=np.float64,
330
+ shape=['n_spin_channels', 'n_kpoints', 'n_bands'],
331
+ unit='joule',
332
+ description="""
333
+ """,
334
+ )
335
+
336
+ x_yambo_hf = Quantity(
337
+ type=np.float64,
338
+ shape=['n_spin_channels', 'n_kpoints', 'n_bands'],
339
+ unit='joule',
340
+ description="""
341
+ """,
342
+ )
343
+
344
+
345
+ class Calculation(runschema.calculation.Calculation):
346
+ m_def = Section(validate=False, extends_base_section=True)
347
+
348
+ x_yambo_electronic_temperature = Quantity(
349
+ type=np.float64,
350
+ shape=[],
351
+ unit='kelvin',
352
+ description="""
353
+ """,
354
+ )
355
+
356
+ x_yambo_bosonic_temperature = Quantity(
357
+ type=np.float64,
358
+ shape=[],
359
+ unit='kelvin',
360
+ description="""
361
+ """,
362
+ )
363
+
364
+ x_yambo_finite_temperature_mode = Quantity(
365
+ type=bool,
366
+ shape=[],
367
+ description="""
368
+ """,
369
+ )
370
+
371
+ x_yambo_electronic_density = Quantity(
372
+ type=np.float64,
373
+ shape=[],
374
+ # unit='1/cm**3',
375
+ description="""
376
+ """,
377
+ )
378
+
379
+ x_yambo_filled_bands = Quantity(
380
+ type=np.int32,
381
+ shape=[2],
382
+ description="""
383
+ """,
384
+ )
385
+
386
+ x_yambo_empty_bands = Quantity(
387
+ type=np.int32,
388
+ shape=[2],
389
+ description="""
390
+ """,
391
+ )
392
+
393
+ x_yambo_indirect_gaps = Quantity(
394
+ type=np.float64,
395
+ shape=[2],
396
+ unit='joule',
397
+ description="""
398
+ """,
399
+ )
400
+
401
+ x_yambo_direct_gaps = Quantity(
402
+ type=np.float64,
403
+ shape=[2],
404
+ unit='joule',
405
+ description="""
406
+ """,
407
+ )
408
+
409
+ x_yambo_indirect_gap = Quantity(
410
+ type=np.float64,
411
+ shape=[],
412
+ unit='joule',
413
+ description="""
414
+ """,
415
+ )
416
+
417
+ x_yambo_direct_gap = Quantity(
418
+ type=np.float64,
419
+ shape=[],
420
+ unit='joule',
421
+ description="""
422
+ """,
423
+ )
424
+
425
+ x_yambo_direct_gap_k_point = Quantity(
426
+ type=np.int32,
427
+ shape=[],
428
+ description="""
429
+ """,
430
+ )
431
+
432
+ x_yambo_indirect_gap_k_points = Quantity(
433
+ type=np.int32,
434
+ shape=[2],
435
+ description="""
436
+ """,
437
+ )
438
+
439
+ x_yambo_local_xc_nonlocal_fock_bandenergies = SubSection(
440
+ sub_section=x_yambo_local_xc_nonlocal_fock_bandenergies.m_def, repeats=True
441
+ )
442
+
443
+ x_yambo_bare_xc_bandenergies = SubSection(
444
+ sub_section=x_yambo_bare_xc_bandenergies.m_def, repeats=True
445
+ )
446
+
447
+
448
+ class x_yambo_dynamic_dielectric_matrix_fragment(MSection):
449
+ m_def = Section(validate=False)
450
+
451
+ x_yambo_FREQ_PARS_sec_iq = Quantity(
452
+ type=np.float64,
453
+ shape=[1],
454
+ description="""
455
+ """,
456
+ )
457
+
458
+ x_yambo_FREQ_sec_iq = Quantity(
459
+ type=np.float64,
460
+ shape=[2, 2],
461
+ description="""
462
+ """,
463
+ )
464
+
465
+ x_yambo_matrix_size = Quantity(
466
+ type=np.int32,
467
+ shape=[],
468
+ description="""
469
+ """,
470
+ )
471
+
472
+ x_yambo_X_Q = Quantity(
473
+ type=np.float64,
474
+ shape=[2, 'x_yambo_matrix_size', 'x_yambo_matrix_size', 2],
475
+ description="""
476
+ """,
477
+ )
478
+
479
+
480
+ class x_yambo_module(MSection):
481
+ m_def = Section(validate=False)
482
+
483
+ x_yambo_mesh_size = Quantity(
484
+ type=np.int32,
485
+ shape=[3],
486
+ description="""
487
+ """,
488
+ )
489
+
490
+ x_yambo_input = SubSection(sub_section=x_yambo_io.m_def, repeats=True)
491
+
492
+ x_yambo_output = SubSection(sub_section=x_yambo_io.m_def, repeats=True)
493
+
494
+
495
+ class x_yambo_dynamic_dielectric_matrix(x_yambo_module):
496
+ m_def = Section(validate=False)
497
+
498
+ x_yambo_fragment = SubSection(
499
+ sub_section=x_yambo_dynamic_dielectric_matrix_fragment.m_def, repeats=True
500
+ )
501
+
502
+
503
+ class x_yambo_local_xc_nonlocal_fock(x_yambo_module):
504
+ m_def = Section(validate=False)
505
+
506
+ x_yambo_plane_waves_vxc = Quantity(
507
+ type=np.int32,
508
+ shape=[],
509
+ description="""
510
+ """,
511
+ )
512
+
513
+ x_yambo_plane_waves_exs = Quantity(
514
+ type=np.int32,
515
+ shape=[],
516
+ description="""
517
+ """,
518
+ )
519
+
520
+
521
+ class x_yambo_bare_xc(x_yambo_module):
522
+ m_def = Section(validate=False)
523
+
524
+ x_yambo_plane_waves_exs = Quantity(
525
+ type=np.int32,
526
+ shape=[],
527
+ description="""
528
+ """,
529
+ )
530
+
531
+
532
+ class x_yambo_dipoles(x_yambo_module):
533
+ m_def = Section(validate=False)
534
+
535
+
536
+ class x_yambo_dyson(x_yambo_module):
537
+ m_def = Section(validate=False)
538
+
539
+ x_yambo_bands_range = Quantity(
540
+ type=np.int32,
541
+ shape=[2],
542
+ description="""
543
+ """,
544
+ )
545
+
546
+ x_yambo_g_damping = Quantity(
547
+ type=np.float64,
548
+ shape=[],
549
+ description="""
550
+ """,
551
+ )
552
+
553
+
554
+ class x_yambo_transferred_momenta(x_yambo_module):
555
+ m_def = Section(validate=False)
556
+
557
+
558
+ class Method(runschema.method.Method):
559
+ m_def = Section(validate=False, extends_base_section=True)
560
+
561
+ x_yambo_transferred_momenta = SubSection(
562
+ sub_section=x_yambo_transferred_momenta.m_def, repeats=True
563
+ )
564
+
565
+ x_yambo_dynamic_dielectric_matrix = SubSection(
566
+ sub_section=x_yambo_dynamic_dielectric_matrix.m_def, repeats=True
567
+ )
568
+
569
+ x_yambo_local_xc_nonlocal_fock = SubSection(
570
+ sub_section=x_yambo_local_xc_nonlocal_fock.m_def, repeats=True
571
+ )
572
+
573
+ x_yambo_bare_xc = SubSection(sub_section=x_yambo_bare_xc.m_def, repeats=True)
574
+
575
+ x_yambo_dipoles = SubSection(sub_section=x_yambo_dipoles.m_def, repeats=True)
576
+
577
+ x_yambo_dyson = SubSection(sub_section=x_yambo_dyson.m_def, repeats=True)
@@ -0,0 +1,31 @@
1
+ code_category: Atomistic code
2
+ code_homepage: https://www.yambo-code.org/
3
+ code_name: YAMBO
4
+ metadata:
5
+ codeCategory: Atomistic code
6
+ codeLabel: YAMBO
7
+ codeLabelStyle: all in capitals
8
+ codeName: yambo
9
+ codeUrl: https://www.yambo-code.org/
10
+ parserDirName: dependencies/electronic/electronicparsers/yambo/
11
+ parserGitUrl: https://github.com/nomad-coe/electronic-parsers.git
12
+ parserSpecific: ''
13
+ preamble: ''
14
+ status: production
15
+ tableOfFiles: '|Input Filename| Description|
16
+
17
+ |--- | --- |
18
+
19
+ |`r-*` | **Mainfile:** a plain text file w/ **user-defined** name|
20
+
21
+ |`o-*` | plain text auxiliary output files w/ user-defined filenames |
22
+
23
+ |`*.in`| plain text input file w/ **user-defined** name|
24
+
25
+ |`n.*`| netcdf file with **user-defined** name|
26
+
27
+ '
28
+ name: parsers/yambo
29
+ parser_class_name: electronicparsers.yambo.parser.YamboParser
30
+ python_package: electronicparsers.yambo
31
+ plugin_source_code_url: https://github.com/nomad-coe/electronic-parsers/tree/develop/electronicparsers/yambo