|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmeshi.geometry.Distance
meshi.geometry.FreeDistance
public class FreeDistance
The distance between two Atoms
.
Almost any measurable feature of a molecule is related to distances
between pairs of Atoms.
Thus, The calculation of distances (and their inverse and derivatives)
are typically a computational bottleneck in computational structural
biology applications. In all applications that we are aware of (Please,
enlighten us if you know better) distance calculation is done as part
of the procedures that use it (say, as part of the van-der-Waals energy
calculation). As a result the distance between two atoms may be calculated
more then once. For example the distance between two atoms may be
calculated both during angle and torsion angle energies calculations.
In Meshi We tried to consentrate all distance related issues in a few
classes: this one, its subclasses and the closely connected
class DistanceMatrix.
Possible pitfalls
update
method is explicitly called.
| Field Summary | |
|---|---|
private static double |
d2
|
| Fields inherited from class meshi.geometry.Distance |
|---|
atom1, atom1Number, atom2, atom2Number, distance, dx, dy, dz, INFINITE_DISTANCE, invDistance, largeType, mode, smallType |
| Constructor Summary | |
|---|---|
FreeDistance(Atom atom1,
Atom atom2)
|
|
| Method Summary | |
|---|---|
static double |
getDistance(Atom atom1,
Atom atom2)
|
static double |
getDx(Atom atom1,
Atom atom2)
|
static double |
getDy(Atom atom1,
Atom atom2)
|
static double |
getDz(Atom atom1,
Atom atom2)
|
void |
update()
|
| Methods inherited from class meshi.geometry.Distance |
|---|
addAttribute, atom1, atom2, atom2Number, dDistanceDx, dDistanceDy, dDistanceDz, dead, distance, dx, dy, dz, getAttribute, invDistance, mode, setMode, toString, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static double d2
| Constructor Detail |
|---|
public FreeDistance(Atom atom1, Atom atom2)
| Method Detail |
|---|
public static double getDx(Atom atom1, Atom atom2)
public static double getDy(Atom atom1, Atom atom2)
public static double getDz(Atom atom1, Atom atom2)
public static double getDistance(Atom atom1, Atom atom2)
public void update()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||