Inheritance diagram for ObjCryst::StretchModeBondLength:
Public Member Functions | |
StretchModeBondLength (MolAtom &at0, MolAtom &at1, const MolBond *pBond) | |
Constructor If pBond!=0, the bond length restraint is respected. | |
virtual | ~StretchModeBondLength () |
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 * | mpAtom0 |
The first atom (fixed). | |
MolAtom * | mpAtom1 |
The second atom (first atom moved). | |
const MolBond * | mpBond |
The (optional) bond length which this stretch mode should respect. | |
set< MolAtom * > | mvTranslatedAtomList |
The set of atoms that are to be translated, including at1. |
This should be merged (or have an inheritance relation) with MolBond.
|
Constructor If pBond!=0, the bond 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 (fixed).
|
|
The second atom (first atom moved).
|
|
The (optional) bond length which this stretch mode should respect.
|
|
The set of atoms that are to be translated, including at1.
|