meshi.geometry
Class DistanceMatrixBondedOnly
java.lang.Object
meshi.util.MeshiProgram
meshi.geometry.DistanceMatrix
meshi.geometry.DistanceMatrixBondedOnly
- All Implemented Interfaces:
- Updateable
public class DistanceMatrixBondedOnly
- extends DistanceMatrix
| Fields inherited from class meshi.geometry.DistanceMatrix |
bondedList, bondedListDepth, buffer, bufferOneThirdSqr, debug, DEFAULT_BONDED_LIST_DEPTH, DEFAULT_BUFFER, DEFAULT_RMAX, edge, energyTermsDistanceLists, grid, matrix, molecularSystem, nonBondedList, rMax, rMax2, rMaxPlusBuffer, rMaxPlusBuffer2, terminator |
| Methods inherited from class meshi.geometry.DistanceMatrix |
bondedList, buffer, DebugOFF, debugON, DEFAULT_EDGE, doNotUpdateNonBondedList, energyTermsDistanceLists, getBondedList, indicatorToUpdateHB, nonBondedList, nonBondedListSize, radius, rMax, rMax2, rMaxPlusBuffer, rMaxPlusBuffer2, rowIterator, rowNumber |
| Methods inherited from class meshi.util.MeshiProgram |
about, debug, get2ndString, getb, getB, getd, getD, getFlag, getFlagedArgument, geti, getI, getOrderedArgument, getS, getS, initRandom, initRandom, initRandom, printGlobalTable, randomNumberGenerator, seed, tableGet, tableIncludes, tableSet, verbose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
dx
private static double dx
dy
private static double dy
dz
private static double dz
d2
private static double d2
numberOfUpdates
private int numberOfUpdates
distanceArray
private Distance[] distanceArray
DistanceMatrixBondedOnly
public DistanceMatrixBondedOnly(MolecularSystem molecularSystem,
int bondedListDepth)
reset
private void reset()
getBondedList
public static DistanceList getBondedList(MolecularSystem molecularSystem,
int depth)
getBonded
public static AtomList getBonded(Atom atom,
int depth)
getBonded
public static void getBonded(Atom atom,
int depth,
AtomList out,
int rootNumber)
update
public void update(int numberOfUpdates)
throws UpdateableException
- Updates the distance matrix.
- Specified by:
update in interface Updateable- Overrides:
update in class DistanceMatrix
- Throws:
UpdateableException
update
protected void update()
throws UpdateableException
- Overrides:
update in class DistanceMatrix
- Throws:
UpdateableException
distance
public Distance distance(Atom atom1,
Atom atom2)
- Returns the Distance object of the parameters.
- Overrides:
distance in class DistanceMatrix
distance
public Distance distance(AtomPair atomPair)
- Overrides:
distance in class DistanceMatrix
distance
public Distance distance(int atom1Number,
int atom2Number)
- Description copied from class:
DistanceMatrix
- Returns the Distance object of the parameters.
- Overrides:
distance in class DistanceMatrix
toString
public java.lang.String toString()
- Overrides:
toString in class DistanceMatrix
testNonBondedList
public void testNonBondedList()