Package ffx.xray

Class BulkSolventRowRegion


public class BulkSolventRowRegion extends RowRegion
BulkSolventRowRegion class.
Since:
1.0
Author:
Michael J. Schnieders
  • Field Details

    • logger

      protected static final Logger logger
      Constant logger
  • Constructor Details

    • BulkSolventRowRegion

      public BulkSolventRowRegion(int gX, int gY, int gZ, double[] grid, int nSymm, int threadCount, Crystal crystal, Atom[] atoms, double[][][] coordinates, double cutoff, ParallelTeam parallelTeam)
      Constructor for BulkSolventDensityRegion.
      Parameters:
      gX - a int.
      gY - a int.
      gZ - a int.
      grid - an array of double.
      nSymm - a int.
      threadCount - a int.
      crystal - a Crystal object.
      atoms - an array of Atom objects.
      coordinates - an array of double.
      cutoff - a double.
      parallelTeam - a ParallelTeam object.
  • Method Details

    • run

      public void run()
      Execute parallel code. All threads of the parallel team call the run() method concurrently.

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

      Overrides:
      run in class RowRegion
    • selectAtoms

      public void selectAtoms()
      Select atoms that should be included. The default is to include all atoms, which is set up in the constructor. This function should be over-ridden by subclasses that want finer control.
      Overrides:
      selectAtoms in class RowRegion