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>

Public Member Functions | |
| Colvar (const ActionOptions &) | |
| ~Colvar () | |
| bool | checkIsEnergy () |
| unsigned | getNumberOfDerivatives () override |
Static Public Member Functions | |
| static void | registerKeywords (Keywords &keys) |
Protected Member Functions | |
| void | apply () override |
| Apply an Action. | |
| const Tensor & | getBoxDerivatives () const |
| const double & | getForce () const |
| void | requestAtoms (const std::vector< AtomNumber > &a) |
| void | setAtomsDerivatives (int, const Vector &) |
| void | setAtomsDerivatives (Value *, int, const Vector &) |
| void | setBoxDerivatives (const Tensor &) |
| void | setBoxDerivatives (Value *, const Tensor &) |
| void | setBoxDerivativesNoPbc () |
| Set box derivatives automatically. | |
| void | setBoxDerivativesNoPbc (Value *) |
Protected Attributes | |
| bool | isEnergy |
| bool | isExtraCV |
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.
|
explicit |
|
inline |
|
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.
|
inline |
|
protected |
|
protected |
|
inlineoverridevirtual |
Implements PLMD::ActionWithValue.
|
static |
|
protected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
Set box derivatives automatically.
It should be called after the setAtomsDerivatives has been used for all single atoms.
|
protected |
|
protected |
|
protected |
Hosted by GitHub
|
1.17.0
|