Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/nest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"""nest package."""

from nest import nttda, sftda
from nest import nac

__version__ = "0.1.0"

__all__ = ["__version__", "nac", "nttda", "sftda"]
__all__ = ["__version__", "nttda", "sftda"]
5 changes: 0 additions & 5 deletions src/nest/nac/tduks_sf.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,8 +657,3 @@ def reset_phase(self):


NAC = NonAdiabaticCouplings

from nest.sftda import uhf_sf

uhf_sf.TDA_SF.NAC = uhf_sf.TDDFT_SF.NAC = lib.class_as_method(NonAdiabaticCouplings)
uhf_sf.TDA_SF.nac_method = uhf_sf.TDDFT_SF.nac_method = uhf_sf.TDA_SF.NAC
5 changes: 5 additions & 0 deletions src/nest/sftda/uhf_sf.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,11 @@ def Gradients(self):
from nest.grad import tduks_sf
return tduks_sf.Gradients(self)

def NAC(self):
from nest.nac import tduks_sf
return tduks_sf.NAC(self)
nac_method = NAC

analyze = analyze
transition_dipole = transition_dipole
oscillator_strength = oscillator_strength
Expand Down
Loading