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
Hi,
The older version of pyGSM treats the frozen atom and its gradient in pygsm/coordinate_systems/internal_coordinates.py.
But now is in pygsm/level_of_theories/base_lot.py
def get_gradient(self,coords,multiplicity,state,frozen_atoms=None):
if self.hasRanForCurrentCoords==False or (coords != self.currentCoords).any():
self.currentCoords = coords.copy()
geom = manage_xyz.np_to_xyz(self.geom,self.currentCoords)
self.runall(geom)
Gradient = self.Gradients[(multiplicity,state)]
if Gradient.value is not None:
if frozen_atoms is not None:
for a in frozen_atoms:
Gradient.value[a,:]=0.
This change seems to make node can not converge while using frozen atoms.
Jianyi
The text was updated successfully, but these errors were encountered:
ms860309
added a commit
to ms860309/pyGSM
that referenced
this issue
Jun 5, 2021
Hi,
The older version of pyGSM treats the frozen atom and its gradient in
pygsm/coordinate_systems/internal_coordinates.py
.But now is in
pygsm/level_of_theories/base_lot.py
This change seems to make node can not converge while using frozen atoms.
Jianyi
The text was updated successfully, but these errors were encountered: