22 #include "core/ActionWithValue.h"
23 #include "core/ActionRegister.h"
49 static void registerKeywords(
Keywords& keys );
52 virtual void calculate();
56 PLUMED_REGISTER_ACTION(Time,
"TIME")
59 Action::registerKeywords( keys );
60 ActionWithValue::registerKeywords( keys );
void setNotPeriodic()
Set your default value to have no periodicity.
virtual void calculate()
Calculate an Action.
Value * getPntrToValue()
Get a pointer to the default value.
void addValueWithDerivatives()
Add a value with the name label that has derivatives.
Used to create a PLMD::Action that has some scalar or vectorial output that may or may not have some ...
This class holds the keywords and their documentation.
virtual void apply()
Apply an Action.
This class is used to bring the relevant information to the Action constructor.
double getTime() const
Return the present time.
Base class for all the input Actions.
void setValue(const double &d)
Set the default value (the one without name)
void resizeDerivatives(int n)
Set the number of derivatives.
Provides the keyword TIME