Class InitializationRegion

java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.potential.nonbonded.implicit.InitializationRegion

public class InitializationRegion extends ParallelRegion
Parallel initialization of accumulation arrays for Generalized Kirkwood.
Since:
1.0
Author:
Michael J. Schnieders
  • Constructor Details

    • InitializationRegion

      public InitializationRegion(int maxThreads)
  • Method Details

    • executeWith

      public void executeWith(ParallelTeam parallelTeam)
      Execute the InitializationRegion with the passed ParallelTeam.
      Parameters:
      parallelTeam - The ParallelTeam instance to execute with.
    • init

      public void init(GeneralizedKirkwood generalizedKirkwood, Atom[] atoms, boolean lambdaTerm, AtomicDoubleArray3D grad, AtomicDoubleArray3D torque, AtomicDoubleArray sharedBornGrad)
    • run

      public void run()
      Description copied from class: ParallelRegion
      Execute parallel code. All threads of the parallel team call the run() method concurrently.

      The run() method must be implemented in a subclass.

      Specified by:
      run in class ParallelRegion