Package ffx.potential.nonbonded
Class NeighborList.Cell
java.lang.Object
ffx.potential.nonbonded.NeighborList.Cell
- Enclosing class:
- NeighborList
Hold the atoms in each cell.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd(int atomIndex, int symOpIndex, double z) Add an atom to the cell.voidclear()Clear the list of atoms in the cell.get(int index) intgetCount()intintgetSymOpAtoms(int symOpIndex, int[] index) Return the number of atoms in the cell for a given symmetry operator.voidgroupAdd(int groupIndex) 
- 
Constructor Details- 
Cellpublic Cell(int a, int b, int c) 
 
- 
- 
Method Details- 
addpublic void add(int atomIndex, int symOpIndex, double z) Add an atom to the cell.- Parameters:
- atomIndex- The atom index.
- symOpIndex- The symmetry operator index.
 
- 
groupAddpublic void groupAdd(int groupIndex) 
- 
get
- 
getCountpublic int getCount()
- 
getGroupCountpublic int getGroupCount()
- 
getSymOpAtomspublic int getSymOpAtoms(int symOpIndex, int[] index) Return the number of atoms in the cell for a given symmetry operator.- Parameters:
- symOpIndex- The symmetry operator index.
- index- The list of indexes for the given symmetry operator.
- Returns:
- The number of atoms in the cell for the symmetry operator.
 
- 
clearpublic void clear()Clear the list of atoms in the cell.
 
-