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
ConstructorsConstructorDescriptionTwoBodyEnergyRegion(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, executeMethods 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:WorkerRegionPerform 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:
finishin classWorkerRegion
-
run
Description copied from class:WorkerRegionExecute 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:
runin classWorkerRegion- Throws:
Exception- Therun()method may throw any exception.Exception- if any.
-
start
public void start()Description copied from class:WorkerRegionPerform 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:
startin classWorkerRegion
-