@@ -92,6 +92,12 @@ class Mesh(ArchiveSection):
92
92
""" ,
93
93
)
94
94
95
+ spacing = Quantity (
96
+ type = np .float64 ,
97
+ shape = ['dimensionality' ],
98
+ description = 'Grid spacing for equidistant meshes. Ignored for other kinds.' ,
99
+ )
100
+
95
101
points = Quantity (
96
102
type = np .complex128 ,
97
103
shape = ['n_points' , 'dimensionality' ],
@@ -117,14 +123,16 @@ class Mesh(ArchiveSection):
117
123
In the fixed grid methods, the number of angular grid points is predetermined for
118
124
ranges of radial grid points, while in the adaptive methods, the angular grid is adjusted
119
125
on-the-fly for each radial point according to some accuracy criterion.
120
- """
126
+ """ ,
121
127
)
122
128
123
129
def normalize (self , archive : 'EntryArchive' , logger : 'BoundLogger' ) -> None :
124
130
super ().normalize (archive , logger )
125
131
126
132
if self .dimensionality not in [1 , 2 , 3 ]:
127
- logger .error ('`dimensionality` meshes different than 1, 2, or 3 are not supported.' )
133
+ logger .error (
134
+ '`dimensionality` meshes different than 1, 2, or 3 are not supported.'
135
+ )
128
136
129
137
130
138
class NumericalIntegration (NumericalSettings ):
@@ -145,10 +153,10 @@ class NumericalIntegration(NumericalSettings):
145
153
"""
146
154
147
155
coordinate = Quantity (
148
- type = MEnum ('all ' , 'radial' , 'angular' ),
156
+ type = MEnum ('full ' , 'radial' , 'angular' ),
149
157
description = """
150
- Coordinate over which the integration is performed. `all ` means the integration is performed in
151
- all the space. `radial` and `angular` describe cases where the integration is performed for
158
+ Coordinate over which the integration is performed. `full ` means the integration is performed in
159
+ entire space. `radial` and `angular` describe cases where the integration is performed for
152
160
functions which can be splitted into radial and angular distributions (e.g., orbital wavefunctions).
153
161
""" ,
154
162
)
@@ -158,16 +166,16 @@ class NumericalIntegration(NumericalSettings):
158
166
description = """
159
167
Integration rule used. This can be any 1D Gaussian quadrature rule or multi-dimensional `angular` rules,
160
168
e.g., Lebedev quadrature rule (see e.g., Becke, Chem. Phys. 88, 2547 (1988)).
161
- """
169
+ """ ,
162
170
)
163
171
164
- weight_partitioning = Quantity (
172
+ weight_approximtion = Quantity (
165
173
type = str ,
166
174
description = """
167
175
Approximation applied to the weight when doing the numerical integration.
168
176
See e.g., C. W. Murray, N. C. Handy
169
177
and G. J. Laming, Mol. Phys. 78, 997 (1993).
170
- """
178
+ """ ,
171
179
)
172
180
173
181
mesh = SubSection (sub_section = Mesh .m_def )
@@ -937,4 +945,4 @@ class GTOIntegralDecomposition(NumericalSettings):
937
945
)
938
946
939
947
def normalize (self , archive : 'EntryArchive' , logger : 'BoundLogger' ) -> None :
940
- super ().normalize (archive , logger )
948
+ super ().normalize (archive , logger )
0 commit comments