nomad-parser-plugins-workflow 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 (58) hide show
  1. nomad_parser_plugins_workflow-1.0.dist-info/LICENSE +202 -0
  2. nomad_parser_plugins_workflow-1.0.dist-info/METADATA +319 -0
  3. nomad_parser_plugins_workflow-1.0.dist-info/RECORD +58 -0
  4. nomad_parser_plugins_workflow-1.0.dist-info/WHEEL +5 -0
  5. nomad_parser_plugins_workflow-1.0.dist-info/entry_points.txt +11 -0
  6. nomad_parser_plugins_workflow-1.0.dist-info/top_level.txt +1 -0
  7. workflowparsers/__init__.py +314 -0
  8. workflowparsers/aflow/__init__.py +19 -0
  9. workflowparsers/aflow/__main__.py +31 -0
  10. workflowparsers/aflow/metainfo/__init__.py +19 -0
  11. workflowparsers/aflow/metainfo/aflow.py +1240 -0
  12. workflowparsers/aflow/parser.py +741 -0
  13. workflowparsers/asr/__init__.py +19 -0
  14. workflowparsers/asr/__main__.py +31 -0
  15. workflowparsers/asr/metainfo/__init__.py +19 -0
  16. workflowparsers/asr/metainfo/asr.py +306 -0
  17. workflowparsers/asr/parser.py +266 -0
  18. workflowparsers/atomate/__init__.py +19 -0
  19. workflowparsers/atomate/__main__.py +31 -0
  20. workflowparsers/atomate/metainfo/__init__.py +19 -0
  21. workflowparsers/atomate/metainfo/atomate.py +395 -0
  22. workflowparsers/atomate/parser.py +357 -0
  23. workflowparsers/elastic/__init__.py +19 -0
  24. workflowparsers/elastic/__main__.py +31 -0
  25. workflowparsers/elastic/metainfo/__init__.py +19 -0
  26. workflowparsers/elastic/metainfo/elastic.py +364 -0
  27. workflowparsers/elastic/parser.py +798 -0
  28. workflowparsers/fhivibes/__init__.py +19 -0
  29. workflowparsers/fhivibes/__main__.py +31 -0
  30. workflowparsers/fhivibes/metainfo/__init__.py +19 -0
  31. workflowparsers/fhivibes/metainfo/fhi_vibes.py +898 -0
  32. workflowparsers/fhivibes/parser.py +566 -0
  33. workflowparsers/lobster/__init__.py +19 -0
  34. workflowparsers/lobster/__main__.py +31 -0
  35. workflowparsers/lobster/metainfo/__init__.py +19 -0
  36. workflowparsers/lobster/metainfo/lobster.py +446 -0
  37. workflowparsers/lobster/parser.py +618 -0
  38. workflowparsers/phonopy/__init__.py +19 -0
  39. workflowparsers/phonopy/__main__.py +31 -0
  40. workflowparsers/phonopy/calculator.py +260 -0
  41. workflowparsers/phonopy/metainfo/__init__.py +19 -0
  42. workflowparsers/phonopy/metainfo/phonopy.py +83 -0
  43. workflowparsers/phonopy/parser.py +583 -0
  44. workflowparsers/quantum_espresso_epw/__init__.py +19 -0
  45. workflowparsers/quantum_espresso_epw/__main__.py +31 -0
  46. workflowparsers/quantum_espresso_epw/metainfo/__init__.py +19 -0
  47. workflowparsers/quantum_espresso_epw/metainfo/quantum_espresso_epw.py +579 -0
  48. workflowparsers/quantum_espresso_epw/parser.py +583 -0
  49. workflowparsers/quantum_espresso_phonon/__init__.py +19 -0
  50. workflowparsers/quantum_espresso_phonon/__main__.py +31 -0
  51. workflowparsers/quantum_espresso_phonon/metainfo/__init__.py +19 -0
  52. workflowparsers/quantum_espresso_phonon/metainfo/quantum_espresso_phonon.py +389 -0
  53. workflowparsers/quantum_espresso_phonon/parser.py +483 -0
  54. workflowparsers/quantum_espresso_xspectra/__init__.py +19 -0
  55. workflowparsers/quantum_espresso_xspectra/__main__.py +31 -0
  56. workflowparsers/quantum_espresso_xspectra/metainfo/__init__.py +19 -0
  57. workflowparsers/quantum_espresso_xspectra/metainfo/quantum_espresso_xspectra.py +290 -0
  58. workflowparsers/quantum_espresso_xspectra/parser.py +586 -0
@@ -0,0 +1,898 @@
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
+
34
+ import runschema.run # pylint: disable=unused-import
35
+ import runschema.calculation # pylint: disable=unused-import
36
+ import runschema.method # pylint: disable=unused-import
37
+ import runschema.system # pylint: disable=unused-import
38
+
39
+
40
+ m_package = Package()
41
+
42
+
43
+ class x_fhi_vibes_method(MCategory):
44
+ """
45
+ Parameters from vibes metadata belonging to section method.
46
+ """
47
+
48
+ m_def = Category()
49
+
50
+
51
+ class x_fhi_vibes_section_calculator_parameters(MSection):
52
+ """
53
+ Calculator parameters
54
+ """
55
+
56
+ m_def = Section(validate=False)
57
+
58
+ x_fhi_vibes_calculator_parameters_xc = Quantity(
59
+ type=str,
60
+ shape=[],
61
+ description="""
62
+ -
63
+ """,
64
+ )
65
+
66
+ x_fhi_vibes_calculator_parameters_k_grid = Quantity(
67
+ type=np.int32,
68
+ shape=[3],
69
+ description="""
70
+ -
71
+ """,
72
+ )
73
+
74
+ x_fhi_vibes_calculator_parameters_sc_accuracy_rho = Quantity(
75
+ type=np.float64,
76
+ shape=[],
77
+ description="""
78
+ -
79
+ """,
80
+ )
81
+
82
+ x_fhi_vibes_calculator_parameters_relativistic = Quantity(
83
+ type=str,
84
+ shape=[],
85
+ description="""
86
+ -
87
+ """,
88
+ )
89
+
90
+ x_fhi_vibes_calculator_parameters_compensate_multipole_errors = Quantity(
91
+ type=bool,
92
+ shape=[],
93
+ description="""
94
+ -
95
+ """,
96
+ )
97
+
98
+ x_fhi_vibes_calculator_parameters_output_level = Quantity(
99
+ type=str,
100
+ shape=[],
101
+ description="""
102
+ -
103
+ """,
104
+ )
105
+
106
+ x_fhi_vibes_calculator_parameters_compute_forces = Quantity(
107
+ type=bool,
108
+ shape=[],
109
+ description="""
110
+ -
111
+ """,
112
+ )
113
+
114
+ x_fhi_vibes_calculator_parameters_compute_heat_flux = Quantity(
115
+ type=bool,
116
+ shape=[],
117
+ description="""
118
+ -
119
+ """,
120
+ )
121
+
122
+ x_fhi_vibes_calculator_parameters_use_pimd_wrapper = Quantity(
123
+ type=str,
124
+ shape=[],
125
+ description="""
126
+ -
127
+ """,
128
+ )
129
+
130
+ x_fhi_vibes_calculator_parameters_species_dir = Quantity(
131
+ type=str,
132
+ shape=[],
133
+ description="""
134
+ -
135
+ """,
136
+ )
137
+
138
+
139
+ class x_fhi_vibes_section_calculator(MSection):
140
+ """
141
+ Calculator parameters
142
+ """
143
+
144
+ m_def = Section(validate=False)
145
+
146
+ x_fhi_vibes_calculator = Quantity(
147
+ type=str,
148
+ shape=[],
149
+ description="""
150
+ -
151
+ """,
152
+ )
153
+
154
+ x_fhi_vibes_section_calculator_parameters = SubSection(
155
+ sub_section=SectionProxy('x_fhi_vibes_section_calculator_parameters'),
156
+ repeats=True,
157
+ )
158
+
159
+
160
+ class x_fhi_vibes_section_atoms(MSection):
161
+ """
162
+ Calculator parameters
163
+ """
164
+
165
+ m_def = Section(validate=False)
166
+
167
+ x_fhi_vibes_atoms_kind = Quantity(
168
+ type=str,
169
+ shape=[],
170
+ description="""
171
+ -
172
+ """,
173
+ )
174
+
175
+ x_fhi_vibes_atoms_natoms = Quantity(
176
+ type=np.int32,
177
+ shape=[],
178
+ description="""
179
+ -
180
+ """,
181
+ )
182
+
183
+ x_fhi_vibes_atoms_pbc = Quantity(
184
+ type=bool,
185
+ shape=[3],
186
+ description="""
187
+ -
188
+ """,
189
+ )
190
+
191
+ x_fhi_vibes_atoms_cell = Quantity(
192
+ type=np.float64,
193
+ unit='meter',
194
+ shape=[3, 3],
195
+ description="""
196
+ -
197
+ """,
198
+ )
199
+
200
+ x_fhi_vibes_atoms_positions = Quantity(
201
+ type=np.float64,
202
+ unit='meter',
203
+ shape=['x_fhi_vibes_atoms_natoms', 3],
204
+ description="""
205
+ -
206
+ """,
207
+ )
208
+
209
+ x_fhi_vibes_atoms_velocities = Quantity(
210
+ type=np.float64,
211
+ unit='meter / second',
212
+ shape=['x_fhi_vibes_atoms_natoms', 3],
213
+ description="""
214
+ -
215
+ """,
216
+ )
217
+
218
+ x_fhi_vibes_atoms_symbols = Quantity(
219
+ type=str,
220
+ shape=['x_fhi_vibes_atoms_natoms'],
221
+ description="""
222
+ -
223
+ """,
224
+ )
225
+
226
+ x_fhi_vibes_atoms_masses = Quantity(
227
+ type=np.float64,
228
+ unit='kilogram',
229
+ shape=['x_fhi_vibes_atoms_natoms'],
230
+ description="""
231
+ -
232
+ """,
233
+ )
234
+
235
+ x_fhi_vibes_atoms_info = Quantity(
236
+ type=JSON,
237
+ shape=[],
238
+ description="""
239
+ -
240
+ """,
241
+ )
242
+
243
+
244
+ class x_fhi_vibes_section_MD(MSection):
245
+ """
246
+ Molecular dynamics parameters
247
+ """
248
+
249
+ m_def = Section(validate=False)
250
+
251
+ x_fhi_vibes_MD_type = Quantity(
252
+ type=str,
253
+ shape=[],
254
+ description="""
255
+ -
256
+ """,
257
+ )
258
+
259
+ x_fhi_vibes_MD_md_type = Quantity(
260
+ type=str,
261
+ shape=[],
262
+ description="""
263
+ -
264
+ """,
265
+ )
266
+
267
+ x_fhi_vibes_MD_temperature = Quantity(
268
+ type=np.float64,
269
+ shape=[],
270
+ description="""
271
+ -
272
+ """,
273
+ )
274
+
275
+ x_fhi_vibes_MD_friction = Quantity(
276
+ type=np.float64,
277
+ shape=[],
278
+ description="""
279
+ -
280
+ """,
281
+ )
282
+
283
+ x_fhi_vibes_MD_fix_cm = Quantity(
284
+ type=bool,
285
+ shape=[],
286
+ description="""
287
+ -
288
+ """,
289
+ )
290
+
291
+ x_fhi_vibes_MD_fs = Quantity(
292
+ type=np.float64,
293
+ shape=[],
294
+ description="""
295
+ -
296
+ """,
297
+ )
298
+
299
+ x_fhi_vibes_MD_kB = Quantity(
300
+ type=np.float64,
301
+ shape=[],
302
+ description="""
303
+ -
304
+ """,
305
+ )
306
+
307
+ x_fhi_vibes_MD_dt = Quantity(
308
+ type=np.float64,
309
+ shape=[],
310
+ description="""
311
+ -
312
+ """,
313
+ )
314
+
315
+ x_fhi_vibes_MD_kg = Quantity(
316
+ type=np.float64,
317
+ shape=[],
318
+ description="""
319
+ -
320
+ """,
321
+ )
322
+
323
+
324
+ class x_fhi_vibes_section_relaxation_kwargs(MSection):
325
+ """
326
+ Relaxation kwargs
327
+ """
328
+
329
+ m_def = Section(validate=False)
330
+
331
+ x_fhi_vibes_relaxation_kwargs_maxstep = Quantity(
332
+ type=np.int32,
333
+ shape=[],
334
+ description="""
335
+ -
336
+ """,
337
+ )
338
+
339
+ x_fhi_vibes_relaxation_kwargs_restart = Quantity(
340
+ type=str,
341
+ shape=[],
342
+ description="""
343
+ -
344
+ """,
345
+ )
346
+
347
+
348
+ class x_fhi_vibes_section_relaxation(MSection):
349
+ """
350
+ Relaxation parameters
351
+ """
352
+
353
+ m_def = Section(validate=False)
354
+
355
+ x_fhi_vibes_relaxation_type = Quantity(
356
+ type=str,
357
+ shape=[],
358
+ description="""
359
+ -
360
+ """,
361
+ )
362
+
363
+ x_fhi_vibes_relaxation_optimizer = Quantity(
364
+ type=str,
365
+ shape=[],
366
+ description="""
367
+ -
368
+ """,
369
+ )
370
+
371
+ x_fhi_vibes_relaxation_maxstep = Quantity(
372
+ type=np.float64,
373
+ shape=[],
374
+ description="""
375
+ -
376
+ """,
377
+ )
378
+
379
+ x_fhi_vibes_relaxation_driver = Quantity(
380
+ type=str,
381
+ shape=[],
382
+ description="""
383
+ -
384
+ """,
385
+ )
386
+
387
+ x_fhi_vibes_relaxation_fmax = Quantity(
388
+ type=np.float64,
389
+ shape=[],
390
+ description="""
391
+ -
392
+ """,
393
+ )
394
+
395
+ x_fhi_vibes_relaxation_unit_cell = Quantity(
396
+ type=bool,
397
+ shape=[],
398
+ description="""
399
+ -
400
+ """,
401
+ )
402
+
403
+ x_fhi_vibes_relaxation_fix_symmetry = Quantity(
404
+ type=bool,
405
+ shape=[],
406
+ description="""
407
+ -
408
+ """,
409
+ )
410
+
411
+ x_fhi_vibes_relaxation_hydrostatic_strain = Quantity(
412
+ type=bool,
413
+ shape=[],
414
+ description="""
415
+ -
416
+ """,
417
+ )
418
+
419
+ x_fhi_vibes_relaxation_constant_volume = Quantity(
420
+ type=bool,
421
+ shape=[],
422
+ description="""
423
+ -
424
+ """,
425
+ )
426
+
427
+ x_fhi_vibes_relaxation_scalar_pressure = Quantity(
428
+ type=np.float64,
429
+ shape=[],
430
+ description="""
431
+ -
432
+ """,
433
+ )
434
+
435
+ x_fhi_vibes_relaxation_decimals = Quantity(
436
+ type=np.int32,
437
+ shape=[],
438
+ description="""
439
+ -
440
+ """,
441
+ )
442
+
443
+ x_fhi_vibes_relaxation_symprec = Quantity(
444
+ type=np.float64,
445
+ shape=[],
446
+ description="""
447
+ -
448
+ """,
449
+ )
450
+
451
+ x_fhi_vibes_relaxation_workdir = Quantity(
452
+ type=str,
453
+ shape=[],
454
+ description="""
455
+ -
456
+ """,
457
+ )
458
+
459
+ x_fhi_vibes_section_relaxation_kwargs = SubSection(
460
+ sub_section=SectionProxy('x_fhi_vibes_section_relaxation_kwargs'), repeats=True
461
+ )
462
+
463
+
464
+ class x_fhi_vibes_section_phonopy(MSection):
465
+ """
466
+ Phonony parameters
467
+ """
468
+
469
+ m_def = Section(validate=False)
470
+
471
+ x_fhi_vibes_phonopy_version = Quantity(
472
+ type=str,
473
+ shape=[],
474
+ description="""
475
+ -
476
+ """,
477
+ )
478
+
479
+ x_fhi_vibes_phonopy_supercell_matrix = Quantity(
480
+ type=np.int32,
481
+ shape=[3, 3],
482
+ description="""
483
+ -
484
+ """,
485
+ )
486
+
487
+ x_fhi_vibes_phonopy_symprec = Quantity(
488
+ type=np.float64,
489
+ shape=[],
490
+ description="""
491
+ -
492
+ """,
493
+ )
494
+
495
+ x_fhi_vibes_phonopy_displacement_dataset = Quantity(
496
+ type=JSON,
497
+ shape=[],
498
+ description="""
499
+ -
500
+ """,
501
+ )
502
+
503
+ x_fhi_vibes_section_phonopy_primitive = SubSection(
504
+ sub_section=SectionProxy('x_fhi_vibes_section_atoms'), repeats=True
505
+ )
506
+
507
+
508
+ class x_fhi_vibes_section_vibes(MSection):
509
+ """
510
+ Vibes specifications
511
+ """
512
+
513
+ m_def = Section(validate=False)
514
+
515
+ x_fhi_vibes_version = Quantity(
516
+ type=str,
517
+ shape=[],
518
+ description="""
519
+ -
520
+ """,
521
+ )
522
+
523
+
524
+ class x_fhi_vibes_section_settings(MSection):
525
+ """
526
+ Metadata settings
527
+ """
528
+
529
+ m_def = Section(validate=False)
530
+
531
+ x_fhi_vibes_settings_common = Quantity(
532
+ type=JSON,
533
+ shape=[],
534
+ description="""
535
+ -
536
+ """,
537
+ )
538
+
539
+ x_fhi_vibes_setttings_machine = Quantity(
540
+ type=JSON,
541
+ shape=[],
542
+ description="""
543
+ -
544
+ """,
545
+ )
546
+
547
+ x_fhi_vibes_settings_calculator = Quantity(
548
+ type=JSON,
549
+ shape=[],
550
+ description="""
551
+ -
552
+ """,
553
+ )
554
+
555
+ x_fhi_vibes_settings_files = Quantity(
556
+ type=JSON,
557
+ shape=[],
558
+ description="""
559
+ -
560
+ """,
561
+ )
562
+
563
+
564
+ class x_fhi_vibes_section_metadata(MSection):
565
+ """
566
+ Metadata
567
+ """
568
+
569
+ m_def = Section(validate=False)
570
+
571
+ x_fhi_vibes_section_metadata_calculator = SubSection(
572
+ sub_section=SectionProxy('x_fhi_vibes_section_calculator'), repeats=True
573
+ )
574
+
575
+ x_fhi_vibes_section_metadata_MD = SubSection(
576
+ sub_section=SectionProxy('x_fhi_vibes_section_MD'), repeats=True
577
+ )
578
+
579
+ x_fhi_vibes_section_metadata_relaxation = SubSection(
580
+ sub_section=SectionProxy('x_fhi_vibes_section_relaxation'), repeats=True
581
+ )
582
+
583
+ x_fhi_vibes_section_metadata_phonopy = SubSection(
584
+ sub_section=SectionProxy('x_fhi_vibes_section_phonopy'), repeats=True
585
+ )
586
+
587
+ x_fhi_vibes_section_metadata_atoms = SubSection(
588
+ sub_section=SectionProxy('x_fhi_vibes_section_atoms'), repeats=True
589
+ )
590
+
591
+ x_fhi_vibes_section_metadata_settings = SubSection(
592
+ sub_section=SectionProxy('x_fhi_vibes_section_settings'), repeats=True
593
+ )
594
+
595
+ x_fhi_vibes_section_metadata_vibes = SubSection(
596
+ sub_section=SectionProxy('x_fhi_vibes_section_vibes'), repeats=True
597
+ )
598
+
599
+
600
+ class x_fhi_vibes_section_attributes(MSection):
601
+ """
602
+ Dataset attributes
603
+ """
604
+
605
+ m_def = Section(validate=False)
606
+
607
+ x_fhi_vibes_attributes_name = Quantity(
608
+ type=str,
609
+ shape=[],
610
+ description="""
611
+ -
612
+ """,
613
+ )
614
+
615
+ x_fhi_vibes_attributes_system_name = Quantity(
616
+ type=str,
617
+ shape=[],
618
+ description="""
619
+ -
620
+ """,
621
+ )
622
+
623
+ x_fhi_vibes_attributes_natoms = Quantity(
624
+ type=np.int32,
625
+ shape=[3],
626
+ description="""
627
+ -
628
+ """,
629
+ )
630
+
631
+ x_fhi_vibes_attributes_time_unit = Quantity(
632
+ type=str,
633
+ shape=[],
634
+ description="""
635
+ -
636
+ """,
637
+ )
638
+
639
+ x_fhi_vibes_attributes_timestep = Quantity(
640
+ type=np.float64,
641
+ unit='second',
642
+ shape=[],
643
+ description="""
644
+ -
645
+ """,
646
+ )
647
+
648
+ x_fhi_vibes_attributes_nsteps = Quantity(
649
+ type=np.int32,
650
+ shape=[3],
651
+ description="""
652
+ -
653
+ """,
654
+ )
655
+
656
+ x_fhi_vibes_attributes_symbols = Quantity(
657
+ type=str,
658
+ shape=['x_fhi_vibes_attributes_system_natoms'],
659
+ description="""
660
+ -
661
+ """,
662
+ )
663
+
664
+ x_fhi_vibes_attributes_masses = Quantity(
665
+ type=np.float64,
666
+ unit='kilogram',
667
+ shape=['x_fhi_vibes_attributes_system_natoms'],
668
+ description="""
669
+ -
670
+ """,
671
+ )
672
+
673
+ x_fhi_vibes_attributes_hash = Quantity(
674
+ type=str,
675
+ shape=[],
676
+ description="""
677
+ -
678
+ """,
679
+ )
680
+
681
+ x_fhi_vibes_attributes_hash_raw = Quantity(
682
+ type=str,
683
+ shape=[],
684
+ description="""
685
+ -
686
+ """,
687
+ )
688
+
689
+ x_fhi_vibes_attributes_volume = Quantity(
690
+ type=np.float64,
691
+ shape=[],
692
+ description="""
693
+ -
694
+ """,
695
+ )
696
+
697
+ x_fhi_vibes_attributes_sigma = Quantity(
698
+ type=np.float64,
699
+ shape=[],
700
+ description="""
701
+ -
702
+ """,
703
+ )
704
+
705
+ x_fhi_vibes_attributes_st_size = Quantity(
706
+ type=np.int32,
707
+ shape=[],
708
+ description="""
709
+ -
710
+ """,
711
+ )
712
+
713
+ x_fhi_vibes_attributes_number_of_atoms_primitive = Quantity(
714
+ type=np.int32,
715
+ shape=[],
716
+ description="""
717
+ -
718
+ """,
719
+ )
720
+
721
+ x_fhi_vibes_attributes_number_of_atoms_supercell = Quantity(
722
+ type=np.int32,
723
+ shape=[],
724
+ description="""
725
+ -
726
+ """,
727
+ )
728
+
729
+ x_fhi_vibes_attributes_force_constants_remapped_size = Quantity(
730
+ type=np.int32,
731
+ shape=[],
732
+ description="""
733
+ -
734
+ """,
735
+ )
736
+
737
+ x_fhi_vibes_section_attributes_atoms = SubSection(
738
+ sub_section=SectionProxy('x_fhi_vibes_section_atoms'), repeats=True
739
+ )
740
+
741
+ x_fhi_vibes_section_attributes_metadata = SubSection(
742
+ sub_section=SectionProxy('x_fhi_vibes_section_metadata'), repeats=True
743
+ )
744
+
745
+
746
+ class Method(runschema.method.Method):
747
+ m_def = Section(validate=False, extends_base_section=True)
748
+
749
+ x_fhi_vibes_section_attributes = SubSection(
750
+ sub_section=SectionProxy('x_fhi_vibes_section_attributes'), repeats=True
751
+ )
752
+
753
+
754
+ class Calculation(runschema.calculation.Calculation):
755
+ m_def = Section(validate=False, extends_base_section=True)
756
+
757
+ x_fhi_vibes_volume = Quantity(
758
+ type=np.float64,
759
+ shape=[],
760
+ unit='meter**3',
761
+ description="""
762
+ -
763
+ """,
764
+ )
765
+
766
+ x_fhi_vibes_displacements = Quantity(
767
+ type=np.float64,
768
+ shape=['number_of_atoms', 3, 3],
769
+ unit='meter',
770
+ description="""
771
+ -
772
+ """,
773
+ )
774
+
775
+ x_fhi_vibes_momenta = Quantity(
776
+ type=np.float64,
777
+ shape=['number_of_atoms', 3, 3],
778
+ unit='kilogram * meter / second',
779
+ description="""
780
+ -
781
+ """,
782
+ )
783
+
784
+ x_fhi_vibes_force_constants = Quantity(
785
+ type=np.float64,
786
+ shape=[
787
+ 'x_fhi_vibes_attributes_number_of_atoms_primitive',
788
+ 'x_fhi_vibes_attributes_number_of_atoms_primitive',
789
+ 3,
790
+ 3,
791
+ ],
792
+ unit='newton / meter',
793
+ description="""
794
+ -
795
+ """,
796
+ )
797
+
798
+ x_fhi_vibes_force_constants_remapped = Quantity(
799
+ type=np.float64,
800
+ shape=[
801
+ 'x_fhi_vibes_attributes_force_constants_remapped_size',
802
+ 'x_fhi_vibes_attributes_force_constants_remapped_size',
803
+ ],
804
+ unit='newton / meter',
805
+ description="""
806
+ -
807
+ """,
808
+ )
809
+
810
+ x_fhi_vibes_atom_forces_harmonic = Quantity(
811
+ type=np.float64,
812
+ shape=['number_of_atoms', 3],
813
+ unit='newton',
814
+ description="""
815
+ -
816
+ """,
817
+ )
818
+
819
+ x_fhi_vibes_energy_potential_harmonic = Quantity(
820
+ type=np.float64,
821
+ shape=[],
822
+ unit='joule',
823
+ description="""
824
+ -
825
+ """,
826
+ )
827
+
828
+ x_fhi_vibes_heat_flux = Quantity(
829
+ type=np.float64,
830
+ shape=[3],
831
+ unit='kilogram / second**3',
832
+ description="""
833
+ -
834
+ """,
835
+ )
836
+
837
+ x_fhi_vibes_heat_flux_harmonic = Quantity(
838
+ type=np.float64,
839
+ shape=[3],
840
+ unit='kilogram / second**3',
841
+ description="""
842
+ -
843
+ """,
844
+ )
845
+
846
+ x_fhi_vibes_heat_flux_0_harmonic = Quantity(
847
+ type=np.float64,
848
+ shape=[3],
849
+ unit='kilogram / second**3',
850
+ description="""
851
+ -
852
+ """,
853
+ )
854
+
855
+ x_fhi_vibes_sigma_per_sample = Quantity(
856
+ type=np.float64,
857
+ shape=[],
858
+ description="""
859
+ -
860
+ """,
861
+ )
862
+
863
+ x_fhi_vibes_pressure_kinetic = Quantity(
864
+ type=np.float64,
865
+ shape=[],
866
+ unit='pascal',
867
+ description="""
868
+ -
869
+ """,
870
+ )
871
+
872
+ x_fhi_vibes_pressure_potential = Quantity(
873
+ type=np.float64,
874
+ shape=[],
875
+ unit='pascal',
876
+ description="""
877
+ -
878
+ """,
879
+ )
880
+
881
+ # TODO in fhi aims this is raw id, however in vibes, where each calculation corresponds
882
+ # to an scc, we get a list of these ids, it does not make sense to put these in sec_run
883
+ x_fhi_vibes_aims_uuid = Quantity(
884
+ type=str,
885
+ shape=[],
886
+ description="""
887
+ -
888
+ """,
889
+ )
890
+
891
+ x_fhi_vibes_MD_time = Quantity(
892
+ type=np.float64,
893
+ unit='second',
894
+ shape=[],
895
+ description="""
896
+ -
897
+ """,
898
+ )