Class CombinedTensorGlobal


public class CombinedTensorGlobal extends CoulombTensorGlobal
This class allows for the source terms of tensors to be combined, and therefore multiple interaction tensors can be computed simultaneously (as a sum).

Non-Ex. Amoeba = M-pole*(Ewald)*M-pole + self Ex. Amoeba PolarizationE = Dipole*(Coulomb - Thole)*M-pol Ex. Amoeba SCF Eval = Dipole*(permPolField + (Coulomb - Thole)*Dipole) (at convergence goes to A PolE)

Ex. Amoeba+ = M-pol*(Ewald - CPenOverlap)*M-pol + Core*(Ewald-CPenDamp)*(Mpole) + Core*(Ewald)*Core + self Ex. Amoeba+ PolE = Dipole*(Ewald - TholeDirect)*M-pol Ex. Amoeba+ SCF Eval = Dipole(permPolField + (Coulomb - Thole)*Dipole) (at convergence this goes to A+ PolE)

  • Constructor Details

    • CombinedTensorGlobal

      public CombinedTensorGlobal(int order)
      Constructor for CoulombTensorGlobal.
      Parameters:
      order - The order of the tensor.
  • Method Details

    • addTerms

      public void addTerms(double[] terms)
      Accumulates onto existing terms. Assumes we add all the elements onto the respective index on existing array. Implicitly adds coulomb interaction.
      Parameters:
      terms - The terms to add.
    • resetSource

      public void resetSource()
      Reset the source terms.
    • source

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

      public void addCoulombMultiplier(double multiplier)
      Add a multiplier to the Coulomb term.
      Parameters:
      multiplier - The multiplier to add.
    • addTermsSeparate

      public void addTermsSeparate(double[] terms)
      Accumulates onto existing terms.
      Parameters:
      terms - The terms to add.