Class EnergyRegion

java.lang.Object
edu.rit.pj.ParallelConstruct
edu.rit.pj.ParallelRegion
ffx.algorithms.optimize.manybody.EnergyRegion

public class EnergyRegion extends ParallelRegion
  • Constructor Details Link icon

    • EnergyRegion Link icon

      public EnergyRegion(int nThreads)
  • Method Details Link icon

    • getSelf Link icon

      public double getSelf()
    • getThreeBody Link icon

      public double getThreeBody()
    • getTwoBody Link icon

      public double getTwoBody()
    • init Link icon

      public void init(EnergyExpansion eE, Residue[] residues, int[] rotamers, boolean threeBodyTerm)
    • run Link icon

      public void run() throws Exception
      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
      Throws:
      Exception - The run() method may throw any exception.
      Exception - if any.
    • start Link icon

      public void start()
      Description copied from class: ParallelRegion
      Perform initialization actions before parallel execution begins. Only one thread calls the start() method.

      The start() method may be overridden in a subclass. If not overridden, the start() method does nothing.

      Overrides:
      start in class ParallelRegion