Package ffx.algorithms.optimize.manybody
Class TwoBodyEnergyRegion
java.lang.Object
edu.rit.pj.WorkerConstruct
edu.rit.pj.WorkerRegion
ffx.algorithms.optimize.manybody.TwoBodyEnergyRegion
Compute 2-Body energy values in parallel across nodes.
-
Constructor Summary
ConstructorDescriptionTwoBodyEnergyRegion
(RotamerOptimization rotamerOptimization, DistanceMatrix dM, EnergyExpansion eE, EliminatedRotamers eR, Residue[] residues, List<Residue> allResiduesList, BufferedWriter energyWriter, Comm world, int numProc, boolean prunePairClashes, double superpositionThreshold, boolean master, int rank, boolean verbose, boolean writeEnergyRestart, boolean printFiles) -
Method Summary
Methods inherited from class edu.rit.pj.WorkerRegion
execute, execute, execute, execute, execute, execute, execute
Methods inherited from class edu.rit.pj.WorkerConstruct
getThreadCount, getThreadIndex, getTotalThreadCount, isExecutingInParallel, isMasterThread, region, team
-
Constructor Details
-
TwoBodyEnergyRegion
public TwoBodyEnergyRegion(RotamerOptimization rotamerOptimization, DistanceMatrix dM, EnergyExpansion eE, EliminatedRotamers eR, Residue[] residues, List<Residue> allResiduesList, BufferedWriter energyWriter, Comm world, int numProc, boolean prunePairClashes, double superpositionThreshold, boolean master, int rank, boolean verbose, boolean writeEnergyRestart, boolean printFiles)
-
-
Method Details
-
finish
public void finish()Description copied from class:WorkerRegion
Perform finalization actions after parallel execution ends. Only one thread in each process calls thefinish()
method.The
finish()
method may be overridden in a subclass. If not overridden, thefinish()
method does nothing.- Overrides:
finish
in classWorkerRegion
-
run
Description copied from class:WorkerRegion
Execute parallel code. All threads of the worker team in each process call therun()
method concurrently.The
run()
method must be implemented in a subclass.- Specified by:
run
in classWorkerRegion
- Throws:
Exception
- Therun()
method may throw any exception.Exception
- if any.
-
start
public void start()Description copied from class:WorkerRegion
Perform initialization actions before parallel execution begins. Only one thread in each process calls thestart()
method.The
start()
method may be overridden in a subclass. If not overridden, thestart()
method does nothing.- Overrides:
start
in classWorkerRegion
-