22 #ifndef __PLUMED_function_Function_h
23 #define __PLUMED_function_Function_h
25 #include "core/ActionWithValue.h"
26 #include "core/ActionWithArguments.h"
A class for holding the value of a function together with its derivatives.
Value * getPntrToValue()
Get a pointer to the default value.
This is used to create PLMD::Action objects that take the output from some other Action as input...
Used to create a PLMD::Action that has some scalar or vectorial output that may or may not have some ...
void addComponentWithDerivatives(const std::string &name)
This class holds the keywords and their documentation.
const std::string name
Name of the directive in the plumed.dat file.
This class is used to bring the relevant information to the Action constructor.
static void registerKeywords(Keywords &)
void apply()
Apply an Action.
void addValueWithDerivatives()
Function(const ActionOptions &)
This is the abstract base class to use for implementing new CV function, within it there is informati...
void addDerivative(unsigned i, double d)
Add some derivative to the ith component of the derivatives array.
void setDerivative(int, double)