#include <AngleBend.h>

Public Member Functions | |
| AngleBendContrib () | |
| AngleBendContrib (ForceField *owner, unsigned int idx1, unsigned int idx2, unsigned int idx3, double bondOrder12, double bondOrder23, const AtomicParams *at1Params, const AtomicParams *at2Params, const AtomicParams *at3Params, unsigned int order=0) | |
| Constructor. | |
| double | getEnergy (double *pos) const |
| returns our contribution to the energy of a position | |
| void | getGrad (double *pos, double *grad) const |
| calculates our contribution to the gradients of a position | |
Definition at line 17 of file AngleBend.h.
| ForceFields::UFF::AngleBendContrib::AngleBendContrib | ( | ) | [inline] |
Definition at line 19 of file AngleBend.h.
| ForceFields::UFF::AngleBendContrib::AngleBendContrib | ( | ForceField * | owner, | |
| unsigned int | idx1, | |||
| unsigned int | idx2, | |||
| unsigned int | idx3, | |||
| double | bondOrder12, | |||
| double | bondOrder23, | |||
| const AtomicParams * | at1Params, | |||
| const AtomicParams * | at2Params, | |||
| const AtomicParams * | at3Params, | |||
| unsigned int | order = 0 | |||
| ) |
Constructor.
The angle is between atom1 - atom2 - atom3
| owner | pointer to the owning ForceField | |
| idx1 | index of atom1 in the ForceField's positions | |
| idx2 | index of atom2 in the ForceField's positions | |
| idx3 | index of atom3 in the ForceField's positions | |
| bondOrder12 | order of the bond between atoms 1 and 2 (as a double) | |
| bondOrder23 | order of the bond between atoms 2 and 3 (as a double) | |
| at1Params | pointer to the parameters for atom 1 | |
| at2Params | pointer to the parameters for atom 2 | |
| at3Params | pointer to the parameters for atom 3 | |
| order | (optional) the order of the angle term, this is for special cases and should adopt values:
|
| double ForceFields::UFF::AngleBendContrib::getEnergy | ( | double * | pos | ) | const [virtual] |
| void ForceFields::UFF::AngleBendContrib::getGrad | ( | double * | pos, | |
| double * | grad | |||
| ) | const [virtual] |
calculates our contribution to the gradients of a position
Implements ForceFields::ForceFieldContrib.
1.5.3