Package ffx.potential.nonbonded.pme
Class InducedDipoleFieldReduceRegion
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.potential.nonbonded.pme.InducedDipoleFieldReduceRegion
Parallel summation and reduction of components of the induced dipole field at each atom.
- Since:
- 1.0
- Author:
- Michael J. Schnieders
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[][][]Dimensions of [nsymm][nAtoms][3]double[][][] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteWith(ParallelTeam parallelTeam) Execute the InducedDipoleFieldReduceRegion with the passed ParallelTeam.voidinit(Atom[] atoms, double[][][] inducedDipole, double[][][] inducedDipoleCR, boolean generalizedKirkwoodTerm, GeneralizedKirkwood generalizedKirkwood, EwaldParameters ewaldParameters, double soluteDielectric, double[][] cartesianDipolePhi, double[][] cartesianDipolePhiCR, AtomicDoubleArray3D field, AtomicDoubleArray3D fieldCR) voidrun()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, startMethods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Field Details
-
inducedDipole
public double[][][] inducedDipoleDimensions of [nsymm][nAtoms][3] -
inducedDipoleCR
public double[][][] inducedDipoleCR
-
-
Constructor Details
-
InducedDipoleFieldReduceRegion
public InducedDipoleFieldReduceRegion(int nt)
-
-
Method Details
-
executeWith
Execute the InducedDipoleFieldReduceRegion with the passed ParallelTeam.- Parameters:
parallelTeam- The ParallelTeam instance to execute with.
-
init
public void init(Atom[] atoms, double[][][] inducedDipole, double[][][] inducedDipoleCR, boolean generalizedKirkwoodTerm, GeneralizedKirkwood generalizedKirkwood, EwaldParameters ewaldParameters, double soluteDielectric, double[][] cartesianDipolePhi, double[][] cartesianDipolePhiCR, AtomicDoubleArray3D field, AtomicDoubleArray3D fieldCR) -
run
Description copied from class:ParallelRegionExecute parallel code. All threads of the parallel team call therun()method concurrently.The
run()method must be implemented in a subclass.- Specified by:
runin classParallelRegion- Throws:
Exception- Therun()method may throw any exception.Exception- if any.
-