Package ffx.potential.nonbonded.pme
Class OPTRegion
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.potential.nonbonded.pme.OPTRegion
Parallel computation of the OPT induced dipoles.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[][][]
Dimensions of [nsymm][nAtoms][3]double[][][]
final double[]
double[][][]
double[][][]
final int
Induced dipoles for extrapolated perturbation theory. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(int currentOptOrder, Atom[] atoms, double[] polarizability, double[][][] inducedDipole, double[][][] inducedDipoleCR, double[][] cartesianDipolePhi, double[][] cartesianDipolePhiCR, AtomicDoubleArray3D field, AtomicDoubleArray3D fieldCR, boolean generalizedKirkwoodTerm, GeneralizedKirkwood generalizedKirkwood, EwaldParameters ewaldParameters, double dielectric) void
run()
Execute parallel code.Methods inherited from class edu.rit.pj.ParallelRegion
barrier, barrier, critical, critical, criticalNonexclusive, criticalNonexclusive, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, execute, finish, start
Methods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Field Details
-
optCoefficients
public final double[] optCoefficients -
optOrder
public final int optOrderInduced dipoles for extrapolated perturbation theory.- See Also:
-
inducedDipole
public double[][][] inducedDipoleDimensions of [nsymm][nAtoms][3] -
inducedDipoleCR
public double[][][] inducedDipoleCR -
optDipole
public double[][][] optDipole -
optDipoleCR
public double[][][] optDipoleCR
-
-
Constructor Details
-
OPTRegion
public OPTRegion(int nt)
-
-
Method Details
-
init
public void init(int currentOptOrder, Atom[] atoms, double[] polarizability, double[][][] inducedDipole, double[][][] inducedDipoleCR, double[][] cartesianDipolePhi, double[][] cartesianDipolePhiCR, AtomicDoubleArray3D field, AtomicDoubleArray3D fieldCR, boolean generalizedKirkwoodTerm, GeneralizedKirkwood generalizedKirkwood, EwaldParameters ewaldParameters, double dielectric) -
run
Description copied from class:ParallelRegion
Execute parallel code. All threads of the parallel team call therun()
method concurrently.The
run()
method must be implemented in a subclass.- Specified by:
run
in classParallelRegion
- Throws:
Exception
- Therun()
method may throw any exception.Exception
- if any.
-