|
JMV 0.80 Programmer's Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BondSearch
Finds bonds between Atoms in a Molecule
Nested Class Summary | |
static class |
BondSearch.GridSearchPair
GridSearchPair holds information for 2 atoms that share a bond |
Constructor Summary | |
BondSearch()
|
Method Summary | |
static int[][] |
bondSearch(Molecule molec,
float cutoff)
Determines the actual bonds for each atom in the molecule |
static BondSearch.GridSearchPair |
gridSearch(Molecule molec,
float pairDist)
Creates GridSearchPairs to determine closeness of atoms for bond search Here's how it works: gridSearch() divides the space that the molecule occupies into a 3-d grid of cubes, or gridboxes. |
static int[][] |
makeNeighborCheckList(int numAtoms,
int xb,
int yb,
int zb)
Creates a list of which neighbors to check for which boxes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BondSearch()
Method Detail |
public static int[][] makeNeighborCheckList(int numAtoms, int xb, int yb, int zb)
numAtoms
- the number of atoms in the moleculexb
- the number of boxes in the x directionyb
- the number of boxes in the y directionzb
- the number of boxes in the z direction
public static BondSearch.GridSearchPair gridSearch(Molecule molec, float pairDist)
molec
- Molecule to determine grid forpairDist
- dimension of a single grid box
public static int[][] bondSearch(Molecule molec, float cutoff)
molec
- the Molecule for which to determine bondscutoff
- distance to check for cutoff
|
Copyright (C) 2000-2002 The Board of Trustees of the University of Illinois | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |