This is the abstract base class to use for implementing new collective variables, within it there is information as to how to go about implementing a new CV.
More...
#include <Colvar.h>
This is the abstract base class to use for implementing new collective variables, within it there is information as to how to go about implementing a new CV.
◆ Colvar()
◆ ~Colvar()
| PLMD::Colvar::~Colvar |
( |
| ) |
|
|
inline |
◆ apply()
| void PLMD::Colvar::apply |
( |
| ) |
|
|
overrideprotectedvirtual |
Apply an Action.
This method is called one time per step. The set of all Actions is applied in backward order.
Implements PLMD::Action.
◆ getBoxDerivatives()
| const Tensor & PLMD::Colvar::getBoxDerivatives |
( |
| ) |
const |
|
protected |
◆ getForce()
| const double & PLMD::Colvar::getForce |
( |
| ) |
const |
|
protected |
◆ getNumberOfDerivatives()
| unsigned PLMD::Colvar::getNumberOfDerivatives |
( |
| ) |
|
|
inlineoverridevirtual |
◆ registerKeywords()
| void PLMD::Colvar::registerKeywords |
( |
Keywords & | keys | ) |
|
|
static |
◆ requestAtoms()
| void PLMD::Colvar::requestAtoms |
( |
const std::vector< AtomNumber > & | a | ) |
|
|
protected |
◆ setAtomsDerivatives() [1/2]
| void PLMD::Colvar::setAtomsDerivatives |
( |
int | i, |
|
|
const Vector & | d ) |
|
inlineprotected |
◆ setAtomsDerivatives() [2/2]
| void PLMD::Colvar::setAtomsDerivatives |
( |
Value * | v, |
|
|
int | i, |
|
|
const Vector & | d ) |
|
inlineprotected |
◆ setBoxDerivatives() [1/2]
| void PLMD::Colvar::setBoxDerivatives |
( |
const Tensor & | d | ) |
|
|
inlineprotected |
◆ setBoxDerivatives() [2/2]
| void PLMD::Colvar::setBoxDerivatives |
( |
Value * | v, |
|
|
const Tensor & | d ) |
|
inlineprotected |
◆ setBoxDerivativesNoPbc() [1/2]
| void PLMD::Colvar::setBoxDerivativesNoPbc |
( |
| ) |
|
|
inlineprotected |
Set box derivatives automatically.
It should be called after the setAtomsDerivatives has been used for all single atoms.
- Warning
- It only works for collective variable NOT using PBCs!
◆ setBoxDerivativesNoPbc() [2/2]
| void PLMD::Colvar::setBoxDerivativesNoPbc |
( |
Value * | v | ) |
|
|
protected |
The documentation for this class was generated from the following files: