A term to capture all Inversion Contributionss.
More...
#include <Inversions.h>
A term to capture all Inversion Contributionss.
Definition at line 48 of file Inversions.h.
◆ InversionContribs() [1/2]
ForceFields::UFF::InversionContribs::InversionContribs |
( |
| ) |
|
|
default |
◆ InversionContribs() [2/2]
ForceFields::UFF::InversionContribs::InversionContribs |
( |
ForceField * |
owner | ) |
|
◆ ~InversionContribs()
ForceFields::UFF::InversionContribs::~InversionContribs |
( |
| ) |
|
|
overridedefault |
◆ addContrib()
void ForceFields::UFF::InversionContribs::addContrib |
( |
unsigned int |
idx1, |
|
|
unsigned int |
idx2, |
|
|
unsigned int |
idx3, |
|
|
unsigned int |
idx4, |
|
|
int |
at2AtomicNum, |
|
|
bool |
isCBoundToO, |
|
|
double |
oobForceScalingFactor = 1.0 |
|
) |
| |
Add contribution to this contrib.
- Parameters
-
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 |
idx4 | index of atom4 in the ForceField's positions |
at2AtomicNum | atomic number for atom 2 |
isCBoundToO | boolean flag; true if atom 2 is sp2 C bound to sp2 O |
oobForceScalingFactor | scaling factor for force constant |
◆ copy()
◆ empty()
bool ForceFields::UFF::InversionContribs::empty |
( |
| ) |
const |
|
inline |
Return true if there are no contributions in this contrib.
Definition at line 92 of file Inversions.h.
◆ getEnergy()
double ForceFields::UFF::InversionContribs::getEnergy |
( |
double * |
pos | ) |
const |
|
overridevirtual |
return the contribution of this contrib to the energy of a given state
- Parameters
-
pos | positions of the atoms in the current state |
Implements ForceFields::ForceFieldContrib.
◆ getGrad()
void ForceFields::UFF::InversionContribs::getGrad |
( |
double * |
pos, |
|
|
double * |
grad |
|
) |
| const |
|
overridevirtual |
calculate the contribution of this contrib to the gradient at a given state
- Parameters
-
pos | positions of the atoms in the current state |
grad | gradients to be adapted |
Implements ForceFields::ForceFieldContrib.
◆ size()
unsigned int ForceFields::UFF::InversionContribs::size |
( |
| ) |
const |
|
inline |
Get number of contributions in this contrib.
Definition at line 95 of file Inversions.h.
The documentation for this class was generated from the following file: