Skip to content

Commit

Permalink
Dynamic polarizability: make sure states with pqn < ground state are …
Browse files Browse the repository at this point in the history
…not counted twice (see #72)
  • Loading branch information
nikolasibalic committed Jun 15, 2021
1 parent f40bc02 commit 202447b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arc/calculations_atom_single.py
Original file line number Diff line number Diff line change
Expand Up @@ -2388,7 +2388,8 @@ def defineBasis(self, nMin, nMax):
self.basis = []
self.lifetimes = []

for n1 in np.arange(self.nMin, self.nMax + 1):
for n1 in np.arange(max(self.nMin, self.atom.groundStateN),
self.nMax + 1):
lmin = self.l - 1
if (lmin < - 0.1):
lmin = self.l + 1
Expand Down

0 comments on commit 202447b

Please sign in to comment.