You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
errstr=f'Conversion to/from the {convention} convention is not implemented'
147
152
raiseNotImplementedError(errstr)
148
153
149
-
ifconvention=='turbomole':
150
-
#TODO: check signs:
151
-
# l=3 m=-3
152
-
# l=4 m=-3
153
-
# l=4 m=2
154
-
lmax=max(l_shells)
155
-
iflmax>=3:
156
-
raiseNotImplementedError("Phase convention differences orbitals with l>2 are not implemented yet. You can contribute by adding them to the _turbomole2gpr_idx function.")
154
+
idx=_conv2gpr_idx(len(l), l_slices, convention)
157
155
158
-
idx=_conv2gpr_idx(len(m), l_slices, convention)
156
+
signs=np.ones_like(idx)
159
157
ifconvention=='orca':
160
-
signs=np.ones_like(idx)
161
158
signs[np.where(np.abs(m)>=3)] =-1# in pyscf order
162
-
signs[idx] =np.copy(signs) # in orca order. copy for numpy < 2
163
-
else:
164
-
signs=np.ones_like(m)
159
+
elifconvention=='turbomole':
160
+
"""
161
+
To get this, use `infsao` command of Turbomole's `define` program.
162
+
It will print AO order and equations for each spherical harmonic.
0 commit comments