Class DirectRegion


public class DirectRegion extends ParallelRegion
Parallel computation of induced dipoles due to the direct field.
Since:
1.0
Author:
Michael J. Schnieders
  • Field Details

    • inducedDipole

      public double[][][] inducedDipole
      Dimensions of [nsymm][nAtoms][3]
    • inducedDipoleCR

      public double[][][] inducedDipoleCR
    • directDipole

      public double[][] directDipole
      Direct induced dipoles.
    • directDipoleCR

      public double[][] directDipoleCR
    • directField

      public double[][] directField
    • directFieldCR

      public double[][] directFieldCR
  • Constructor Details

    • DirectRegion

      public DirectRegion(int nt)
  • Method Details

    • executeWith

      public void executeWith(ParallelTeam parallelTeam)
      Execute the DirectRegion with the passed ParallelTeam.
      Parameters:
      parallelTeam - The ParallelTeam instance to execute with.
    • init

      public void init(Atom[] atoms, double[] polarizability, double[][][] globalMultipole, double[][] cartMultipolePhi, AtomicDoubleArray3D field, AtomicDoubleArray3D fieldCR, boolean generalizedKirkwoodTerm, GeneralizedKirkwood generalizedKirkwood, EwaldParameters ewaldParameters, double soluteDielectric, double[][][] inducedDipole, double[][][] inducedDipoleCR, double[][] directDipole, double[][] directDipoleCR, double[][] directField, double[][] directFieldCR)
    • run

      public void run() throws Exception
      Description copied from class: ParallelRegion
      Execute parallel code. All threads of the parallel team call the run() method concurrently.

      The run() method must be implemented in a subclass.

      Specified by:
      run in class ParallelRegion
      Throws:
      Exception - The run() method may throw any exception.
      Exception - if any.