A term to capture all Inversion Contributionss.
More...
#include <PlanarityContribs.h>
A term to capture all Inversion Contributionss.
Definition at line 36 of file PlanarityContribs.h.
◆ PlanarityContribs() [1/2]
| ForceFields::CrystalFF::PlanarityContribs::PlanarityContribs |
( |
| ) |
|
|
default |
◆ PlanarityContribs() [2/2]
| ForceFields::CrystalFF::PlanarityContribs::PlanarityContribs |
( |
ForceField * | owner | ) |
|
◆ ~PlanarityContribs()
| ForceFields::CrystalFF::PlanarityContribs::~PlanarityContribs |
( |
| ) |
|
|
overridedefault |
◆ addContrib()
| void ForceFields::CrystalFF::PlanarityContribs::addContrib |
( |
std::size_t | idx1, |
|
|
std::size_t | idx2, |
|
|
std::size_t | idx3, |
|
|
std::size_t | idx4, |
|
|
double | forceConstant = 1.0 ) |
Add contribution to this contrib.
- Parameters
-
| idx1 | |
| idx2 | |
| idx3 | |
| idx4 | |
| forceConst | |
◆ copy()
◆ empty()
| bool ForceFields::CrystalFF::PlanarityContribs::empty |
( |
| ) |
const |
|
inline |
Return true if there are no contributions in this contrib.
Definition at line 77 of file PlanarityContribs.h.
◆ getEnergy()
| double ForceFields::CrystalFF::PlanarityContribs::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::CrystalFF::PlanarityContribs::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::CrystalFF::PlanarityContribs::size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: