mat3ra-esse 2025.6.14.post0__py3-none-any.whl → 2025.7.1.post0__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.

Potentially problematic release.


This version of mat3ra-esse might be problematic. Click here for more details.

Files changed (118) hide show
  1. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/METADATA +2 -2
  2. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/RECORD +5 -118
  3. mat3ra/esse/models/coordinates_shape_enum.py +0 -15
  4. mat3ra/esse/models/core/abstract/2d_data.py +0 -17
  5. mat3ra/esse/models/core/abstract/2d_plot.py +0 -34
  6. mat3ra/esse/models/core/abstract/3d_grid.py +0 -14
  7. mat3ra/esse/models/core/abstract/3d_tensor.py +0 -19
  8. mat3ra/esse/models/core/abstract/3d_vector_basis.py +0 -15
  9. mat3ra/esse/models/core/abstract/_3d_tensor.py +0 -19
  10. mat3ra/esse/models/core/abstract/_3d_vector_basis.py +0 -15
  11. mat3ra/esse/models/core/abstract/point.py +0 -13
  12. mat3ra/esse/models/core/abstract/vector.py +0 -13
  13. mat3ra/esse/models/core/primitive/1d_data_series.py +0 -13
  14. mat3ra/esse/models/core/primitive/3d_lattice.py +0 -34
  15. mat3ra/esse/models/core/primitive/_3d_lattice.py +0 -34
  16. mat3ra/esse/models/core/reusable/accuracy_level.py +0 -27
  17. mat3ra/esse/models/core/reusable/atomic_strings.py +0 -24
  18. mat3ra/esse/models/core/reusable/coordinate_conditions/cylinder.py +0 -26
  19. mat3ra/esse/models/core/reusable/coordinate_conditions/plane.py +0 -24
  20. mat3ra/esse/models/core/reusable/coordinate_conditions/sphere.py +0 -24
  21. mat3ra/esse/models/core/reusable/coordinate_conditions/triangular_prism.py +0 -27
  22. mat3ra/esse/models/core/reusable/energy_accuracy_levels/__init__.py +0 -3
  23. mat3ra/esse/models/core/reusable/energy_accuracy_levels.py +0 -31
  24. mat3ra/esse/models/enums/__init__.py +0 -3
  25. mat3ra/esse/models/enums/chemical_elements.py +0 -13
  26. mat3ra/esse/models/material/builders/base/__init__.py +0 -3
  27. mat3ra/esse/models/material/builders/base/selector_parameters.py +0 -16
  28. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/__init__.py +0 -3
  29. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/builder_parameters.py +0 -28
  30. mat3ra/esse/models/material/builders/single_material/two_dimensional/slab/selector_parameters.py +0 -151
  31. mat3ra/esse/models/material/reusable/__init__.py +0 -3
  32. mat3ra/esse/models/material/reusable/coordinate_conditions/__init__.py +0 -3
  33. mat3ra/esse/models/material/reusable/coordinate_conditions/base.py +0 -21
  34. mat3ra/esse/models/material/reusable/coordinate_conditions/box.py +0 -24
  35. mat3ra/esse/models/material/reusable/coordinate_conditions/cylinder.py +0 -26
  36. mat3ra/esse/models/material/reusable/coordinate_conditions/plane.py +0 -24
  37. mat3ra/esse/models/material/reusable/coordinate_conditions/sphere.py +0 -24
  38. mat3ra/esse/models/material/reusable/coordinate_conditions/triangular_prism.py +0 -27
  39. mat3ra/esse/models/material/reusable/repetitions.py +0 -25
  40. mat3ra/esse/models/material/reusable/slab/__init__.py +0 -3
  41. mat3ra/esse/models/material/reusable/slab/enums/__init__.py +0 -3
  42. mat3ra/esse/models/material/reusable/slab/enums/exposed_face.py +0 -13
  43. mat3ra/esse/models/material/reusable/slab/enums.py +0 -13
  44. mat3ra/esse/models/material/reusable/slab/miller_indices.py +0 -16
  45. mat3ra/esse/models/material/reusable/slab/number_of_layers.py +0 -16
  46. mat3ra/esse/models/material/reusable/slab/slab_configuration_with_termination.py +0 -589
  47. mat3ra/esse/models/material/reusable/slab/slab_with_termination.py +0 -593
  48. mat3ra/esse/models/material/reusable/slab/termination.py +0 -144
  49. mat3ra/esse/models/material/reusable/slab/two_slabs_stack.py +0 -618
  50. mat3ra/esse/models/material/reusable/slab/vacuum.py +0 -16
  51. mat3ra/esse/models/material/reusable/slab_configuration_with_termination.py +0 -712
  52. mat3ra/esse/models/material/reusable/stack/__init__.py +0 -3
  53. mat3ra/esse/models/material/reusable/stack/slab_configuration_with_termination.py +0 -593
  54. mat3ra/esse/models/material/reusable/stack/slab_in_stack.py +0 -720
  55. mat3ra/esse/models/material/reusable/stack/stack_of_slabs.py +0 -737
  56. mat3ra/esse/models/material/reusable/stack/stack_of_two_slabs.py +0 -737
  57. mat3ra/esse/models/material/reusable/supercell/__init__.py +0 -3
  58. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_2d.py +0 -25
  59. mat3ra/esse/models/material/reusable/supercell/supercell_matrix_3d.py +0 -27
  60. mat3ra/esse/models/material/reusable/supercell_matrix_2d.py +0 -25
  61. mat3ra/esse/models/material/reusable/supercell_matrix_3d.py +0 -27
  62. mat3ra/esse/models/materials_category/defects/__init__.py +0 -3
  63. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/__init__.py +0 -3
  64. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/adatom/configuration.py +0 -672
  65. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/__init__.py +0 -3
  66. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/layered/configuration.py +0 -549
  67. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/__init__.py +0 -3
  68. mat3ra/esse/models/materials_category/defects/by_host/two_dimensional/point/configuration.py +0 -550
  69. mat3ra/esse/models/materials_category/defects/configuration.py +0 -545
  70. mat3ra/esse/models/materials_category/defects/enums/__init__.py +0 -3
  71. mat3ra/esse/models/materials_category/defects/enums/point_defect_type.py +0 -13
  72. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/__init__.py +0 -3
  73. mat3ra/esse/models/materials_category/defects/one_dimensional/terrace/configuration.py +0 -563
  74. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/__init__.py +0 -3
  75. mat3ra/esse/models/materials_category/defects/two_dimensional/grain_boundary_plane/configuration.py +0 -1200
  76. mat3ra/esse/models/materials_category/defects/two_dimensional/island/__init__.py +0 -3
  77. mat3ra/esse/models/materials_category/defects/two_dimensional/island/condition_json.py +0 -28
  78. mat3ra/esse/models/materials_category/defects/two_dimensional/island/configuration.py +0 -564
  79. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/__init__.py +0 -3
  80. mat3ra/esse/models/materials_category/defects/zero_dimensional/complex/pair/configuration.py +0 -1538
  81. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/__init__.py +0 -3
  82. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/configuration.py +0 -672
  83. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/__init__.py +0 -3
  84. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/interstitial/configuration.py +0 -672
  85. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/__init__.py +0 -3
  86. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/substitution/configuration.py +0 -672
  87. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/__init__.py +0 -3
  88. mat3ra/esse/models/materials_category/defects/zero_dimensional/point/vacancy/configuration.py +0 -672
  89. mat3ra/esse/models/materials_category/multi_material/interfaces/__init__.py +0 -3
  90. mat3ra/esse/models/materials_category/multi_material/interfaces/configuration.py +0 -737
  91. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/__init__.py +0 -3
  92. mat3ra/esse/models/materials_category/single_material/two_dimensional/slab/configuration.py +0 -567
  93. mat3ra/esse/models/methods_directory/physical/psp/file/__init__.py +0 -129
  94. mat3ra/esse/models/methods_directory/physical/psp/file_data_item/__init__.py +0 -111
  95. mat3ra/esse/models/properties_directory/structural/lattice/lattice_bravais.py +0 -74
  96. mat3ra/esse/models/property/base/__init__.py +0 -200
  97. mat3ra/esse/models/property/meta/__init__.py +0 -200
  98. mat3ra/esse/models/property/raw/__init__.py +0 -200
  99. mat3ra/esse/models/property/source/__init__.py +0 -150
  100. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/__init__.py +0 -3
  101. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/atoms.py +0 -41
  102. mat3ra/esse/models/third_party/db/nist_jarvis/2024_3.13/db_entry.py +0 -55
  103. mat3ra/esse/models/third_party/file/applications/espresso/7.2/__init__.py +0 -3
  104. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/__init__.py +0 -3
  105. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_positions.py +0 -51
  106. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/atomic_species.py +0 -34
  107. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell.py +0 -111
  108. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/cell_parameters.py +0 -36
  109. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/control.py +0 -169
  110. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/electrons.py +0 -139
  111. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/hubbard.py +0 -194
  112. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/ions.py +0 -422
  113. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/k_points.py +0 -73
  114. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw.x/system.py +0 -841
  115. mat3ra/esse/models/third_party/file/applications/espresso/7.2/pw_x.py +0 -1990
  116. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/WHEEL +0 -0
  117. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/licenses/LICENSE.md +0 -0
  118. {mat3ra_esse-2025.6.14.post0.dist-info → mat3ra_esse-2025.7.1.post0.dist-info}/top_level.txt +0 -0
@@ -1,169 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/control.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import Optional
9
-
10
- from pydantic import BaseModel, ConfigDict
11
-
12
-
13
- class Calculation(Enum):
14
- scf = "scf"
15
- nscf = "nscf"
16
- bands = "bands"
17
- relax = "relax"
18
- md = "md"
19
- vc_relax = "vc-relax"
20
- vc_md = "vc-md"
21
-
22
-
23
- class Verbosity(Enum):
24
- high = "high"
25
- low = "low"
26
- debug = "debug"
27
- medium = "medium"
28
- minimal = "minimal"
29
- default = "default"
30
-
31
-
32
- class RestartMode(Enum):
33
- from_scratch = "from_scratch"
34
- restart = "restart"
35
-
36
-
37
- class DiskIo(Enum):
38
- high = "high"
39
- medium = "medium"
40
- low = "low"
41
- nowf = "nowf"
42
- none = "none"
43
-
44
-
45
- class ControlSchema(BaseModel):
46
- model_config = ConfigDict(
47
- extra="forbid",
48
- )
49
- calculation: Optional[Calculation] = "scf"
50
- """
51
- A string describing the task to be performed
52
- """
53
- title: Optional[str] = ""
54
- """
55
- reprinted on output.
56
- """
57
- verbosity: Optional[Verbosity] = "low"
58
- """
59
- Currently two verbosity levels are implemented: high, low. 'debug' and 'medium' have the same effect as 'high'; 'default' and 'minimal' as 'low'
60
- """
61
- restart_mode: Optional[RestartMode] = "from_scratch"
62
- wf_collect: Optional[bool] = None
63
- """
64
- OBSOLETE - NO LONGER IMPLEMENTED
65
- """
66
- nstep: Optional[float] = 1
67
- """
68
- Default: 1 if calculation == 'scf', 'nscf', 'bands'; 50 for the other cases; Number of molecular-dynamics or structural optimization steps performed in this run. If set to 0, the code performs a quick "dry run", stopping just after initialization. This is useful to check for input correctness and to have the summary printed. NOTE: in MD calculations, the code will perform "nstep" steps even if restarting from a previously interrupted calculation.
69
- """
70
- iprint: Optional[float] = None
71
- """
72
- band energies are written every iprint iterations
73
- """
74
- tstress: Optional[bool] = False
75
- """
76
- calculate stress. It is set to .TRUE. automatically if calculation == 'vc-md' or 'vc-relax'
77
- """
78
- tprnfor: Optional[bool] = None
79
- """
80
- calculate forces. It is set to .TRUE. automatically if calculation == 'relax','md','vc-md'
81
- """
82
- dt: Optional[float] = 20
83
- """
84
- time step for molecular dynamics, in Rydberg atomic units (1 a.u.=4.8378 * 10^-17 s : beware, the CP code uses Hartree atomic units, half that much!!!)
85
- """
86
- outdir: Optional[str] = None
87
- """
88
- input, temporary, output files are found in this directory, see also wfcdir
89
- """
90
- wfcdir: Optional[str] = None
91
- """
92
- This directory specifies where to store files generated by each processor (*.wfc{N}, *.igk{N}, etc.). Useful for machines without a parallel file system: set wfcdir to a local file system, while outdir should be a parallel or network file system, visible to all processors. Beware: in order to restart from interrupted runs, or to perform further calculations using the produced data files, you may need to copy files to outdir. Works only for pw.x.
93
- """
94
- prefix: Optional[str] = "pwscf"
95
- """
96
- prepended to input/output filenames: prefix.wfc, prefix.rho, etc.
97
- """
98
- lkpoint_dir: Optional[bool] = None
99
- """
100
- OBSOLETE - NO LONGER IMPLEMENTED
101
- """
102
- max_seconds: Optional[float] = 10000000
103
- """
104
- Jobs stops after max_seconds CPU time. Use this option in conjunction with option restart_mode if you need to split a job too long to complete into shorter jobs that fit into your batch queues.
105
- """
106
- etot_conv_thr: Optional[float] = 0.0001
107
- """
108
- Convergence threshold on total energy (a.u) for ionic minimization: the convergence criterion is satisfied when the total energy changes less than etot_conv_thr between two consecutive scf steps. Note that etot_conv_thr is extensive, like the total energy. See also forc_conv_thr - both criteria must be satisfied
109
- """
110
- forc_conv_thr: Optional[float] = 0.001
111
- """
112
- Convergence threshold on forces (a.u) for ionic minimization: the convergence criterion is satisfied when all components of all forces are smaller than forc_conv_thr. See also etot_conv_thr - both criteria must be satisfied
113
- """
114
- disk_io: Optional[DiskIo] = None
115
- """
116
- Specifies the amount of disk I/O activity: (only for binary files and xml data file in data directory; other files printed at each molecular dynamics / structural optimization step are not controlled by this option )
117
- """
118
- pseudo_dir: Optional[str] = None
119
- """
120
- directory containing pseudopotential files. Default: value of the $ESPRESSO_PSEUDO environment variable if set; '$HOME/espresso/pseudo/' otherwise
121
- """
122
- tefield: Optional[bool] = False
123
- """
124
- If .TRUE. a saw-like potential simulating an electric field is added to the bare ionic potential. See variables edir, eamp, emaxpos, eopreg for the form and size of the added potential.
125
- """
126
- dipfield: Optional[bool] = False
127
- """
128
- If .TRUE. and tefield==.TRUE. a dipole correction is also added to the bare ionic potential - implements the recipe of L. Bengtsson, PRB 59, 12301 (1999). See variables edir, emaxpos, eopreg for the form of the correction. Must be used ONLY in a slab geometry, for surface calculations, with the discontinuity FALLING IN THE EMPTY SPACE.
129
- """
130
- lelfield: Optional[bool] = False
131
- """
132
- If .TRUE. a homogeneous finite electric field described through the modern theory of the polarization is applied. This is different from tefield == .true. !
133
- """
134
- nberrycyc: Optional[int] = 1
135
- """
136
- In the case of a finite electric field ( lelfield == .TRUE. ) it defines the number of iterations for converging the wavefunctions in the electric field Hamiltonian, for each external iteration on the charge density
137
- """
138
- lorbm: Optional[bool] = False
139
- """
140
- If .TRUE. perform orbital magnetization calculation.
141
- """
142
- lberry: Optional[bool] = False
143
- """
144
- If .TRUE. perform a Berry phase calculation. See the header of PW/src/bp_c_phase.f90 for documentation
145
- """
146
- gdir: Optional[float] = None
147
- """
148
- For Berry phase calculation: direction of the k-point strings in reciprocal space. Allowed values: 1, 2, 3 1=first, 2=second, 3=third reciprocal lattice vector For calculations with finite electric fields (lelfield==.true.) "gdir" is the direction of the field.
149
- """
150
- nppstr: Optional[float] = None
151
- """
152
- For Berry phase calculation: number of k-points to be calculated along each symmetry-reduced string. The same for calculation with finite electric fields (lelfield==.true.).
153
- """
154
- gate: Optional[bool] = False
155
- """
156
- In the case of charged cells (tot_charge .ne. 0) setting gate = .TRUE. represents the counter charge (i.e. -tot_charge) not by a homogeneous background charge but with a charged plate, which is placed at zgate (see below). Details of the gate potential can be found in T. Brumme, M. Calandra, F. Mauri; PRB 89, 245406 (2014). Note, that in systems which are not symmetric with respect to the plate, one needs to enable the dipole correction! (dipfield=.true.). Currently, symmetry can be used with gate=.true. but carefully check that no symmetry is included which maps z to -z even if in principle one could still use them for symmetric systems (i.e. no dipole correction). For nosym=.false. verbosity is set to 'high'. Note: this option was called "monopole" in v6.0 and 6.1 of pw.x
157
- """
158
- twochem: Optional[bool] = False
159
- """
160
- IF .TRUE. , a two chemical potential calculation for the simulation of photoexcited systems is performed, constraining a fraction of the electrons in the conduction manifold.
161
- """
162
- lfcp: Optional[bool] = False
163
- """
164
- If .TRUE. perform a constant bias potential (constant-mu) calculation for a system with ESM method. See the header of PW/src/fcp_module.f90 for documentation. To perform the calculation, you must set a namelist FCP.
165
- """
166
- trism: Optional[bool] = False
167
- """
168
- If .TRUE. perform a 3D-RISM-SCF calculation [for details see H.Sato et al., JCP 112, 9463 (2000), doi:10.1063/1.481564]. The solvent's distributions are calculated by 3D-RISM, though solute is treated as SCF. The charge density and the atomic positions are optimized, simultaneously with the solvents. To perform the calculation, you must set a namelist RISM and a card SOLVENTS. If assume_isolated = 'esm' and esm_bc = 'bc1', Laue-RISM is calculated instead of 3D-RISM and coupled with ESM method (i.e. ESM-RISM). [for details see S.Nishihara and M.Otani, PRB 96, 115429 (2017)]. The default of mixing_beta is 0.2 for both 3D-RISM and Laue-RISM. For structural relaxation with BFGS, ignore_wolfe is always .TRUE. .
169
- """
@@ -1,139 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/electrons.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Optional
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class MixingMode(Enum):
14
- plain = "plain"
15
- TF = "TF"
16
- local_TF = "local-TF"
17
-
18
-
19
- class Diagonalization(Enum):
20
- david = "david"
21
- cg = "cg"
22
- ppcg = "ppcg"
23
- paro = "paro"
24
- ParO = "ParO"
25
- rmm_davidson = "rmm-davidson"
26
- rmm_paro = "rmm-paro"
27
-
28
-
29
- class EfieldPhase(Enum):
30
- read = "read"
31
- write = "write"
32
- none = "none"
33
-
34
-
35
- class Startingpot(Enum):
36
- atomic = "atomic"
37
- file = "file"
38
-
39
-
40
- class Startingwfc(Enum):
41
- atomic = "atomic"
42
- atomic_random = "atomic+random"
43
- random = "random"
44
- file = "file"
45
-
46
-
47
- class ElectronsSchema(BaseModel):
48
- model_config = ConfigDict(
49
- extra="forbid",
50
- )
51
- electron_maxstep: Optional[int] = 100
52
- """
53
- maximum number of iterations in a scf step. If exact exchange is active, this will affect the inner loops.
54
- """
55
- exx_maxstep: Optional[int] = 100
56
- """
57
- maximum number of outer iterations in a scf calculation with exact exchange.
58
- """
59
- scf_must_converge: Optional[bool] = True
60
- """
61
- If .false. do not stop molecular dynamics or ionic relaxation when electron_maxstep is reached. Use with care.
62
- """
63
- conv_thr: Optional[float] = None
64
- adaptive_thr: Optional[bool] = False
65
- """
66
- If .TRUE. this turns on the use of an adaptive conv_thr for the inner scf loops when using EXX.
67
- """
68
- conv_thr_init: Optional[float] = None
69
- """
70
- When adaptive_thr = .TRUE. this is the convergence threshold used for the first scf cycle.
71
- """
72
- conv_thr_multi: Optional[float] = None
73
- """
74
- When adaptive_thr = .TRUE. the convergence threshold for each scf cycle is given by: max( conv_thr, conv_thr_multi * dexx )
75
- """
76
- mixing_mode: Optional[MixingMode] = "plain"
77
- mixing_beta: Optional[float] = None
78
- """
79
- mixing factor for self-consistency
80
- """
81
- mixing_ndim: Optional[int] = 8
82
- """
83
- number of iterations used in mixing scheme
84
- """
85
- mixing_fixed_ns: Optional[int] = 0
86
- """
87
- For DFT+U : number of iterations with fixed ns ( ns is the atomic density appearing in the Hubbard term ).
88
- """
89
- diagonalization: Optional[Diagonalization] = "david"
90
- diago_thr_init: Optional[float] = None
91
- """
92
- Convergence threshold (ethr) for iterative diagonalization (the check is on eigenvalue convergence).
93
- """
94
- diago_cg_maxiter: Optional[int] = None
95
- """
96
- For conjugate gradient diagonalization: max number of iterations
97
- """
98
- diago_ppcg_maxiter: Optional[int] = None
99
- """
100
- For ppcg diagonalization: max number of iterations
101
- """
102
- diago_david_ndim: Optional[int] = 2
103
- """
104
- For Davidson diagonalization: dimension of workspace (number of wavefunction packets, at least 2 needed).
105
- """
106
- diago_rmm_ndim: Optional[int] = 4
107
- """
108
- For RMM-DIIS diagonalization: dimension of workspace (number of wavefunction packets, at least 2 needed).
109
- """
110
- diago_rmm_conv: Optional[bool] = False
111
- """
112
- If .TRUE., RMM-DIIS is performed up to converge. If .FALSE., RMM-DIIS is performed only once.
113
- """
114
- diago_gs_nblock: Optional[int] = 16
115
- """
116
- For RMM-DIIS diagonalization: blocking size of Gram-Schmidt orthogonalization
117
- """
118
- diago_full_acc: Optional[bool] = False
119
- """
120
- If .TRUE. all the empty states are diagonalized at the same level of accuracy of the occupied ones. Otherwise the empty states are diagonalized using a larger threshold (this should not affect total energy, forces, and other ground-state properties).
121
- """
122
- efield: Optional[float] = None
123
- """
124
- Amplitude of the finite electric field (in Ry a.u.; 1 a.u. = 36.3609*10^10 V/m). Used only if lelfield==.TRUE. and if k-points (K_POINTS card) are not automatic.
125
- """
126
- efield_cart: Optional[List[float]] = Field(
127
- None, max_length=3, min_length=3, title="array of 3 number elements schema"
128
- )
129
- efield_phase: Optional[EfieldPhase] = "none"
130
- startingpot: Optional[Startingpot] = None
131
- startingwfc: Optional[Startingwfc] = "atomic+random"
132
- tqr: Optional[bool] = False
133
- """
134
- If .true., use a real-space algorithm for augmentation charges of ultrasoft pseudopotentials and PAWsets. Faster but numerically less accurate than the default G-space algorithm. Use with care and after testing!
135
- """
136
- real_space: Optional[bool] = False
137
- """
138
- If .true., exploit real-space localization to compute matrix elements for nonlocal projectors. Faster and in principle better scaling than the default G-space algorithm, but numerically less accurate, may lead to some loss of translational invariance. Use with care and after testing!
139
- """
@@ -1,194 +0,0 @@
1
- # generated by datamodel-codegen:
2
- # filename: 3pse/file/applications/espresso/7.2/pw.x/hubbard.json
3
- # version: 0.28.5
4
-
5
- from __future__ import annotations
6
-
7
- from enum import Enum
8
- from typing import List, Optional, Union
9
-
10
- from pydantic import BaseModel, ConfigDict, Field
11
-
12
-
13
- class CardOption(Enum):
14
- atomic = "atomic"
15
- ortho_atomic = "ortho-atomic"
16
- norm_atomic = "norm-atomic"
17
- wf = "wf"
18
- pseudo = "pseudo"
19
-
20
-
21
- class U(Enum):
22
- U = "U"
23
-
24
-
25
- class Values(BaseModel):
26
- model_config = ConfigDict(
27
- extra="forbid",
28
- )
29
- U_1: Optional[U] = Field(None, alias="U")
30
- """
31
- string constant "U"; indicates the specs for the U parameter will be given
32
- """
33
- label: Optional[str] = None
34
- """
35
- label of the atom (as defined in ATOMIC_SPECIES)
36
- """
37
- manifold: Optional[str] = None
38
- """
39
- specs of the manifold (e.g., 3d, 2p...)
40
- """
41
- u_val: Optional[float] = None
42
- """
43
- value of the U parameter (in eV)
44
- """
45
-
46
-
47
- class J0(Enum):
48
- J0 = "J0"
49
-
50
-
51
- class Values2(BaseModel):
52
- model_config = ConfigDict(
53
- extra="forbid",
54
- )
55
- J0_1: Optional[J0] = Field(None, alias="J0")
56
- """
57
- string constant "J0"; indicates the specs for the J0 parameter will be given
58
- """
59
- label: Optional[str] = None
60
- """
61
- label of the atom (as defined in ATOMIC_SPECIES)
62
- """
63
- manifold: Optional[str] = None
64
- """
65
- specs of the manifold (e.g., 3d, 2p...)
66
- """
67
- j0_val: Optional[float] = None
68
- """
69
- value of the J0 parameter (in eV)
70
- """
71
-
72
-
73
- class ParamType(Enum):
74
- U = "U"
75
- J = "J"
76
- B = "B"
77
- E2 = "E2"
78
- E3 = "E3"
79
-
80
-
81
- class Value(BaseModel):
82
- model_config = ConfigDict(
83
- extra="forbid",
84
- )
85
- paramType: Optional[ParamType] = None
86
- """
87
- character describing the type of Hubbard parameter allowed values: U, J and either B (for d-orbitals) or E2 and E3 (for f-orbitals)
88
- """
89
- label: Optional[str] = None
90
- """
91
- label of the atom (as defined in ATOMIC_SPECIES)
92
- """
93
- manifold: Optional[str] = None
94
- """
95
- specs of the manifold (e.g., 3d, 2p...)
96
- """
97
- paramValue: Optional[float] = None
98
- """
99
- value of the J0 parameter (in eV)
100
- """
101
-
102
-
103
- class Values3(BaseModel):
104
- model_config = ConfigDict(
105
- extra="forbid",
106
- )
107
- U_1: Optional[U] = Field(None, alias="U")
108
- """
109
- string constant "U"; indicates the specs for the U parameter will be given
110
- """
111
- label: Optional[str] = None
112
- """
113
- label of the atom (as defined in ATOMIC_SPECIES)
114
- """
115
- manifold: Optional[str] = None
116
- """
117
- specs of the manifold (e.g., 3d, 2p...)
118
- """
119
- u_val: Optional[float] = None
120
- """
121
- value of the U parameter (in eV)
122
- """
123
-
124
-
125
- class Values4(BaseModel):
126
- model_config = ConfigDict(
127
- extra="forbid",
128
- )
129
- J0_1: Optional[J0] = Field(None, alias="J0")
130
- """
131
- string constant "J0"; indicates the specs for the J0 parameter will be given
132
- """
133
- label: Optional[str] = None
134
- """
135
- label of the atom (as defined in ATOMIC_SPECIES)
136
- """
137
- manifold: Optional[str] = None
138
- """
139
- specs of the manifold (e.g., 3d, 2p...)
140
- """
141
- j0_val: Optional[float] = None
142
- """
143
- value of the J0 parameter (in eV)
144
- """
145
-
146
-
147
- class V(Enum):
148
- V = "V"
149
-
150
-
151
- class Values5(BaseModel):
152
- model_config = ConfigDict(
153
- extra="forbid",
154
- )
155
- V_1: Optional[V] = Field(None, alias="V")
156
- """
157
- string constant "V"; indicates the specs for the V parameter will be given
158
- """
159
- label_I_: Optional[str] = Field(None, alias="label(I)")
160
- """
161
- label of the atom I (as defined in ATOMIC_SPECIES)
162
- """
163
- manifold_I_: Optional[str] = Field(None, alias="manifold(I)")
164
- """
165
- specs of the manifold for atom I (e.g., 3d, 2p...)
166
- """
167
- label_J_: Optional[str] = Field(None, alias="label(J)")
168
- """
169
- label of the atom J (as defined in ATOMIC_SPECIES)
170
- """
171
- manifold_J_: Optional[str] = Field(None, alias="manifold(J)")
172
- """
173
- specs of the manifold for atom J (e.g., 3d, 2p...)
174
- """
175
- I: Optional[int] = None
176
- """
177
- index of the atom I
178
- """
179
- J: Optional[int] = None
180
- """
181
- index of the atom J
182
- """
183
- v_val_I_J_: Optional[float] = Field(None, alias="v_val(I,J)")
184
- """
185
- value of the V parameter for the atom pair I,J (in eV)
186
- """
187
-
188
-
189
- class HubbardSchema(BaseModel):
190
- model_config = ConfigDict(
191
- extra="forbid",
192
- )
193
- card_option: Optional[CardOption] = None
194
- values: Optional[Union[List[Union[Values, Values2]], List[Value], List[Union[Values3, Values4, Values5]]]] = None