19package denoptim.integration.tinker;
78 this.atmNb =
new int[4];
79 this.distAngles =
new double[3];
80 this.xyz =
new double[3];
82 for (
int i=0; i<3; i++)
87 System.arraycopy(
atmNb, 0, this.atmNb, 0, 4);
142 public void moveTo(
double a,
double b,
double c)
263 if ((this.atmNb[0] != 0) && (this.atmNb[1] != 0) &&
264 (this.atmNb[2] != 0) && (this.atmNb[3] == 0))
279 " xyz: [" +
xyz[0] +
"; " +
xyz[1] +
280 "; " +
xyz[2] +
"] " +
287 " vtx: " +
vtxId +
")";
Based on the code from ffx.kenai.com Michael J.
boolean usesProperTorsion()
Evaluates whether this TinkerAtom's line refers to a torsion (chiral flag is 0) or to an inproper tor...
int getXYZIndex()
Gets the XYZ Index.
void setXYZIndex(int xyzIndex)
void setAtomNeighbours(int[] atmNb)
void moveTo(double a, double b, double c)
void setXYZ(double[] xyz)
void moveTo(double[] d)
Add a vector to the Atom's current position vector.
void setDistAngle(double[] distAngles)
void setVertexId(long vidx)
void setAtomString(String atomStr)
int[] getAtomNeighbours()
TinkerAtom(int xyzIndex, String atomStr, int ffAtomType, double[] xyz, int[] atmNb, double[] distAngles)
void setAtomType(int ffAtomType)