Class TholeTensorGlobalSIMD


public class TholeTensorGlobalSIMD extends CoulombTensorGlobalSIMD
The TholeTensorGlobal class computes derivatives of Thole damping via recursion to order <= 4 for Cartesian multipoles in either a global frame.
Since:
1.0
Author:
Michael J. Schnieders
See Also:
  • Constructor Details

    • TholeTensorGlobalSIMD

      public TholeTensorGlobalSIMD(int order, DoubleVector thole, DoubleVector AiAk)
      Constructor for EwaldMultipoleTensorGlobal.
      Parameters:
      order - Tensor order.
      thole - Thole damping parameter is set to min(pti,ptk)).
      AiAk - parameter = 1/(alphaI^6*alphaK^6) where alpha is polarizability.
  • Method Details

    • setThole

      public void setThole(DoubleVector thole, DoubleVector AiAk)
      Set Thole damping parameters
      Parameters:
      thole - a double.
      AiAk - a double.
    • checkThole

      public boolean checkThole(DoubleVector r)
      Check if the Thole damping is exponential is greater than zero (or the interaction can be neglected).
      Parameters:
      r - The separation distance.
      Returns:
      True if -thole*u^3 is greater than -50.0.
    • checkThole

      protected static boolean checkThole(DoubleVector thole, DoubleVector AiAk, DoubleVector r)
      Check if the Thole damping is exponential is greater than zero (or the interaction can be neglected).
      Parameters:
      thole - Thole damping parameter is set to min(pti,ptk)).
      AiAk - parameter = 1/(alphaI^6*alphaK^6) where alpha is polarizability.
      r - The separation distance.
      Returns:
      True if -thole*u^3 is greater than -50.0.
    • source

      protected void source(DoubleVector[] T000)
      Generate source terms for the Challacombe et al. recursion.
      Overrides:
      source in class CoulombTensorGlobalSIMD
      Parameters:
      T000 - Location to store the source terms.
    • tholeSource

      protected static void tholeSource(DoubleVector thole, DoubleVector AiAk, DoubleVector R, DoubleVector[] T000)
      Generate source terms for the Challacombe et al. recursion.
      Parameters:
      thole - Thole damping parameter is set to min(pti,ptk)).
      AiAk - parameter = 1/(alphaI^6*alphaK^6) where alpha is polarizability.
      R - The separation distance.
      T000 - Location to store the source terms.