File tree Expand file tree Collapse file tree 1 file changed +10
-18
lines changed
src/nomad_simulations/schema_packages Expand file tree Collapse file tree 1 file changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -206,36 +206,20 @@ class AtomCenteredFunction(ArchiveSection):
206
206
207
207
exponents = Quantity (
208
208
type = np .float32 ,
209
- shape = ['* ' ],
209
+ shape = ['n_primitive ' ],
210
210
description = """
211
211
List of exponents for the basis function.
212
212
""" ,
213
213
)
214
214
215
215
contraction_coefficients = Quantity (
216
216
type = np .float32 ,
217
- shape = ['* ' ],
217
+ shape = ['n_primitive ' ],
218
218
description = """
219
219
List of contraction coefficients corresponding to the exponents.
220
220
""" ,
221
221
)
222
222
223
- atom_state = SubSection (sub_section = AtomsState .m_def , repeats = False )
224
-
225
- def __init__ (
226
- self ,
227
- atom_state : AtomsState ,
228
- function_type : str ,
229
- n_primitive : int ,
230
- exponents : list ,
231
- contraction_coefficients : list ,
232
- ):
233
- self .atom_state = atom_state
234
- self .function_type = function_type
235
- self .n_primitive = n_primitive
236
- self .exponents = exponents
237
- self .contraction_coefficients = contraction_coefficients
238
-
239
223
def normalize (self , archive : 'EntryArchive' , logger : 'BoundLogger' ) -> None :
240
224
super ().normalize (archive , logger )
241
225
# self.name = self.m_def.name
@@ -274,6 +258,14 @@ class AtomCenteredBasisSet(BasisSetComponent):
274
258
""" ,
275
259
)
276
260
261
+ atoms_ref = Quantity (
262
+ type = AtomsState ,
263
+ shape = ['*' ],
264
+ description = """
265
+ References to the `AtomsState` sections that define the atoms this basis set applies to.
266
+ """ ,
267
+ )
268
+
277
269
functional_composition = SubSection (
278
270
sub_section = AtomCenteredFunction .m_def , repeats = True
279
271
) # TODO change name
You can’t perform that action at this time.
0 commit comments