86 static void registerKeywords(
Keywords& keys);
89 PLUMED_REGISTER_ACTION(
BiasValue,
"BIASVALUE")
92 Bias::registerKeywords(keys);
94 componentsAreNotOptional(keys);
96 keys.addOutputComponent(
"bias.",
"default",
"one or multiple instances of this quantity will be refereceable elsewhere in the input file. "
97 "these quantities will named with the arguments of the bias followed by "
98 "the character string _bias. These quantities tell the user how much the bias is "
99 "due to each of the colvars.");
100 keys.addOutputComponent(
"bias",
"default",
"total bias");
const std::string & getName() const
Get the name of the quantity.
void componentIsNotPeriodic(const std::string &name)
Set your value component to have no periodicity.
void checkRead()
Check if Action was properly read.
Value * getPntrToArgument(const unsigned n)
Return a pointer to specific argument.
void addComponent(const std::string &name)
Add a value with a name like label.name.
void calculate()
Calculate an Action.
void set(double)
Set the value of the function.
This class holds the keywords and their documentation.
This class is used to bring the relevant information to the Action constructor.
void setOutputForce(int i, double g)
double getArgument(const unsigned n) const
Returns the value of an argument.
Provides the keyword BIASVALUE
This is the abstract base class to use for implementing new simulation biases, within it there is inf...
#define PLUMED_BIAS_INIT(ao)
Value * getPntrToComponent(int i)
Return a pointer to the component by index.
unsigned getNumberOfArguments() const
Returns the number of arguments.