Package ffx.potential.nonbonded
Class ReciprocalSpace.BSplineRegion.BSplineLoop
java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelForLoop
edu.rit.pj.IntegerForLoop
ffx.potential.nonbonded.ReciprocalSpace.BSplineRegion.BSplineLoop
- Enclosing class:
ReciprocalSpace.BSplineRegion
-
Method Summary
Modifier and TypeMethodDescriptionvoidfinish()Perform per-thread finalization actions after finishing the loop iterations.voidrun(int lb, int ub) Execute one chunk of iterations of this parallel for loop.schedule()Determine this parallel for loop's schedule.voidstart()Perform per-thread initialization actions before starting the loop iterations.Methods inherited from class edu.rit.pj.IntegerForLoop
ordered, stopLoopMethods inherited from class edu.rit.pj.ParallelConstruct
getThreadCount, getThreadIndex, isExecutingInParallel, region, team
-
Method Details
-
finish
public void finish()Description copied from class:IntegerForLoopPerform per-thread finalization actions after finishing the loop iterations.The
finish()method may be overridden in a subclass. If not overridden, thefinish()method does nothing.- Overrides:
finishin classIntegerForLoop
-
run
public void run(int lb, int ub) Description copied from class:IntegerForLoopExecute one chunk of iterations of this parallel for loop. Therun()method must perform the loop body for indexesfirstthroughlastinclusive, increasing the loop index by +1 after each iteration.The
run()method must be overridden in a subclass.- Specified by:
runin classIntegerForLoop- Parameters:
lb- First loop index.ub- Last loop index.
-
schedule
Description copied from class:IntegerForLoopDetermine this parallel for loop's schedule. The schedule determines how the loop iterations are apportioned among the parallel team threads. For further information, see class IntegerSchedule.The
schedule()method may be overridden in a subclass to return the desired schedule. If not overridden, the default is a runtime schedule (seeIntegerSchedule.runtime()).- Overrides:
schedulein classIntegerForLoop- Returns:
- Schedule for this parallel for loop.
-
start
public void start()Description copied from class:IntegerForLoopPerform per-thread initialization actions before starting the loop iterations.The
start()method may be overridden in a subclass. If not overridden, thestart()method does nothing.- Overrides:
startin classIntegerForLoop
-