Skip to content

Commit ddab789

Browse files
committed
add cECPs and pointcharges to AtomCenteredBasisSet
1 parent fbc13f9 commit ddab789

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/nomad_simulations/schema_packages/basis_set.py

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,9 @@ class AtomCenteredFunction(ArchiveSection):
199199
'spherical',
200200
'cartesian',
201201
),
202+
default='spherical',
202203
description="""
203-
spherical-harmonic or cartesian functions.
204+
Specifies whether the basis functions are spherical-harmonic or cartesian functions.
204205
""",
205206
)
206207

@@ -214,7 +215,7 @@ class AtomCenteredFunction(ArchiveSection):
214215
)
215216

216217
n_primitive = Quantity(
217-
type=int,
218+
type=np.int32,
218219
description="""
219220
Number of primitives.
220221
""",
@@ -236,6 +237,13 @@ class AtomCenteredFunction(ArchiveSection):
236237
""",
237238
)
238239

240+
point_charge = Quantity(
241+
type=np.int32,
242+
description="""
243+
the value of the point charge.
244+
""",
245+
)
246+
239247
def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None:
240248
super().normalize(archive, logger)
241249
# self.name = self.m_def.name
@@ -258,6 +266,7 @@ class AtomCenteredBasisSet(BasisSetComponent):
258266
'STO', # Slater-type orbitals
259267
'GTO', # Gaussian-type orbitals
260268
'NAO', # Numerical atomic orbitals
269+
'cECP', # Capped effective core potentials
261270
'PC', # Point charges
262271
),
263272
description="""
@@ -270,10 +279,10 @@ class AtomCenteredBasisSet(BasisSetComponent):
270279
'orbital',
271280
'auxiliary_scf',
272281
'auxiliary_post_hf',
273-
'cabs',
282+
'cabs', # complementary auxiliary basis set
274283
),
275284
description="""
276-
role of the basis set
285+
The role of the basis set.
277286
""",
278287
)
279288

0 commit comments

Comments
 (0)