|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectforcefield.Bonds
The Bonds class contains all the Bond information from the sytem.
| Field Summary | |
double[] |
b0
Ideal bond length of bond[num]. |
java.lang.String[] |
bt
String of the BondType. |
int[] |
I
Atom i of bond[num]. |
int[] |
J
Atom j of bond[num]. |
double[] |
Kb
Force constant of bond[num]. |
int |
number
Number of Bonds in the object. |
| Constructor Summary | |
Bonds(int num)
The Bonds class contructor. |
|
| Method Summary | |
void |
atomsboundto(int atom,
java.util.ArrayList boundto,
java.util.ArrayList bl)
Determine the other atoms which are bound to a specified atom |
Bonds |
copies(int numCopies,
int numAtoms)
|
Bonds |
join(Bonds bonds,
int numAtoms)
Join this set of bonds with a set of bonds of another molecule. |
Bonds |
subset(int[] atomNumbers,
int numAtoms)
generate a new set of those bonds which only connect the atoms we're interested in. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public int number
public int[] I
public int[] J
public double[] Kb
public double[] b0
public java.lang.String[] bt
| Constructor Detail |
public Bonds(int num)
num - number of Bonds to be addedBonds,
BondType| Method Detail |
public Bonds copies(int numCopies,
int numAtoms)
numCopies - numAtoms - the number of atoms in this molecule
Particles.copy(int)
public Bonds subset(int[] atomNumbers,
int numAtoms)
atomNumbers - the sorted list of atom numbersnumAtoms - the original number of atoms
Particles.subset(int[])
public Bonds join(Bonds bonds,
int numAtoms)
bonds - the bonds in the other moleculenumAtoms - the atom number offset
(i.e. zero for identical molecules,
otherwise the number of atoms in this molecule)
Particles.join(Particles)
public void atomsboundto(int atom,
java.util.ArrayList boundto,
java.util.ArrayList bl)
atom - (atom to determine bonded atoms with)boundto - (ArrayList with bonded atoms)bl - (bond length of bonded atoms)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||