Inheritance diagram for ObjCryst::StretchModeTwist:
Public Member Functions | |
StretchModeTwist (MolAtom &at1, MolAtom &at2) | |
Constructor If pDihedralAngle!=0, the dihedral angle length restraint is respected. | |
virtual | ~StretchModeTwist () |
virtual void | CalcDeriv (const bool derivllk=true) const |
Calculate the derivative of the Molecule's Log(likelihood) and atomic positions versus a change of the bond length. | |
virtual void | Print (ostream &os, bool full=true) const |
Print one-line list of atoms moved. | |
virtual void | Stretch (const REAL change) |
Move the atoms according to this mode. | |
virtual void | RandomStretch (const REAL amplitude) |
Move the atoms according to this mode, randomly. | |
Public Attributes | |
MolAtom * | mpAtom1 |
The first atom. | |
MolAtom * | mpAtom2 |
The second atom. | |
set< MolAtom * > | mvRotatedAtomList |
The set of atoms that are to be rotated around at1-at2. |
Also, the atoms in the middle between the two reference atoms are more displaced than the one closer, to help avoid breaking restraints.
|
Constructor If pDihedralAngle!=0, the dihedral angle length restraint is respected.
|
|
|
|
Calculate the derivative of the Molecule's Log(likelihood) and atomic positions versus a change of the bond length. The result is stored in mLLKDeriv and mLLKDerivXYZ, as well as in the various lists of restraints broken by this mode.
Implements ObjCryst::StretchMode. |
|
Print one-line list of atoms moved.
Implements ObjCryst::StretchMode. |
|
Move the atoms according to this mode, randomly.
Implements ObjCryst::StretchMode. |
|
Move the atoms according to this mode.
Implements ObjCryst::StretchMode. |
|
The first atom.
|
|
The second atom.
|
|
The set of atoms that are to be rotated around at1-at2.
|