Class EwaldTensorGlobal


public class EwaldTensorGlobal extends CoulombTensorGlobal
The EwaldMultipoleTensorGlobal class computes derivatives of erfc(r)/|r| via recursion to arbitrary order for Cartesian multipoles in the global frame.
Since:
1.0
Author:
Michael J. Schnieders
See Also:
  • Constructor Details

    • EwaldTensorGlobal

      public EwaldTensorGlobal(int order, double beta)
      Constructor for EwaldMultipoleTensorGlobal.
      Parameters:
      order - Tensor order.
      beta - The Ewald convergence parameter.
  • Method Details

    • initEwaldSource

      protected static double[] initEwaldSource(int order, double beta, double[] ewaldSource)
      Initialize the Ewald source terms.
      Parameters:
      order - Tensor order.
      beta - The Ewald convergence parameter.
      ewaldSource - Location to store the source terms.
      Returns:
      The source terms.
    • source

      protected void source(double[] T000)
      Generate source terms for the Ewald Challacombe et al. recursion.
      Overrides:
      source in class CoulombTensorGlobal
      Parameters:
      T000 - Location to store the source terms.
    • fillEwaldSource

      protected static void fillEwaldSource(int order, double beta, double[] ewaldSource, double R, double[] T000)
      Fill the Ewald source terms.
      Parameters:
      order - The order plus one.
      beta - The Ewald convergence parameter.
      ewaldSource - The source terms.
      R - The separation distance.
      T000 - The location to store the source terms.