Package ffx.potential.nonbonded.implicit
Class HydrophobicPMFRegion
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.potential.nonbonded.implicit.HydrophobicPMFRegion
Initial implementation of a Hydrophobic PMF.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionHydrophobicPMFRegion(Atom[] atoms, double[] x, double[] y, double[] z, boolean[] use, double[][][] grad, int nt) -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidrun()Execute parallel code.voidsetGradient(boolean gradient) voidstart()Perform initialization actions before parallel execution begins.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, finishMethods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Constructor Details
-
HydrophobicPMFRegion
public HydrophobicPMFRegion(Atom[] atoms, double[] x, double[] y, double[] z, boolean[] use, double[][][] grad, int nt)
-
-
Method Details
-
getEnergy
public double getEnergy() -
run
public void 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
-
setGradient
public void setGradient(boolean gradient) -
start
public void start()Description copied from class:ParallelRegionPerform initialization actions before parallel execution begins. Only one thread calls thestart()method.The
start()method may be overridden in a subclass. If not overridden, thestart()method does nothing.- Overrides:
startin classParallelRegion
-