Open ajkerr0 opened 8 years ago
This actually hasn't been a problem in the calculations, but might be the source of the divide by zero errors. They may have been the source of singular linear systems.
Let's not ignore the possibility of zero-modes corresponding to rotation in addition to translation.
We have added a method to return the center of mass of molecules. We have increased the stapling constant. Maybe we should pull the trigger on handling these zero modes in that way.
Or we could tell the code to ignore modes that don't oscillate/don't decay.
The suggestion is to find a central atom in molecules and add a small term to its diagonal hessian matrix terms. The interpretation of this is that the center atom (and this atom only) is attached to some outside spring, or is in its own little potential well. This will prevent the long wavelength, low frequency (basically zero) normal modes that correspond to the translational motion of the molecules.
Maybe write a routine that finds the atom closest to the center of mass? Or geometric center.