|
Public Member Functions |
| MolBondAngle (MolAtom &atom1, MolAtom &atom2, MolAtom &atom3, const REAL angle, const REAL sigma, const REAL delta, Molecule &parent) |
| Constructor.
|
virtual | ~MolBondAngle () |
| Destructor.
|
const Molecule & | GetMolecule () const |
Molecule & | GetMolecule () |
string | GetName () const |
virtual void | XMLOutput (ostream &os, int indent=0) const |
virtual void | XMLInput (istream &is, const XMLCrystTag &tag) |
virtual REAL | GetLogLikelihood () const |
| Get -ln(likelihood) for this restraint.
|
REAL | GetLogLikelihood (const bool calcDeriv, const bool recalc) const |
REAL | GetDeriv (const std::map< const MolAtom *, XYZ > &m, const bool llk=false) const |
| Get the derivative of the angle, given the derivatives of the atom positions This requires that GetLogLikelihood(calcDeriv=true) be called first If llk=true, this will return the derivative of the llk rather than the derivative of the length or angle.
|
REAL | GetAngle () const |
REAL & | Angle0 () |
REAL & | AngleDelta () |
REAL & | AngleSigma () |
REAL | GetAngle0 () const |
REAL | GetAngleDelta () const |
REAL | GetAngleSigma () const |
void | SetAngle0 (const REAL angle) |
void | SetAngleDelta (const REAL delta) |
void | SetAngleSigma (const REAL sigma) |
const MolAtom & | GetAtom1 () const |
const MolAtom & | GetAtom2 () const |
const MolAtom & | GetAtom3 () const |
void | SetAtom1 (MolAtom &at) |
void | SetAtom2 (MolAtom &at) |
void | SetAtom3 (MolAtom &at) |
MolAtom & | GetAtom1 () |
MolAtom & | GetAtom2 () |
MolAtom & | GetAtom3 () |
bool | IsFlexible () const |
void | SetFlexible (const bool isInRing) |
Private Attributes |
vector< MolAtom * > | mvpAtom |
| The vector of the 3 atoms involved in the bond angle.
|
REAL | mAngle0 |
REAL | mDelta |
REAL | mSigma |
Molecule * | mpMol |
| Parent Molecule.
|
bool | mIsFlexible |
| When using the user-chosen flexibility model, this allows some flexibility for this bond angle, i.e.
|
REAL | mLLK |
| Stored log(likelihood).
|
XYZ | mDerivAtom1 |
| Partial derivatives of the angle with respect to the coordinates of the atoms.
|
XYZ | mDerivAtom2 |
| Partial derivatives of the angle with respect to the coordinates of the atoms.
|
XYZ | mDerivAtom3 |
| Partial derivatives of the angle with respect to the coordinates of the atoms.
|
REAL | mDerivLLKCoeff |
| The factor used to change the derivative of the length/angle, to the derivative of the log(likelihood).
|
The atoms involved need not be bonded.