Public Member Functions | |
DataFetchingObjectTyped (PlumedMain &plumed) | |
~DataFetchingObjectTyped () | |
bool | activate () const |
void | finishDataGrab () override |
After calc has been performed grab all the data and put it in the relevant arrays. More... | |
void | setData (const std::string &key, const std::string &type, void *outval) override |
Set the pointer to the data. More... | |
Static Public Member Functions | |
static std::unique_ptr< DataFetchingObject > | create (unsigned n, PlumedMain &p) |
static ActionWithValue * | findAction (const ActionSet &a, const std::string &key) |
Find the action that calculates a particular value. More... | |
static void | get_rank (const ActionSet &a, const std::string &key, const std::string &type, long *rank) |
Return the rank required for a particular key. More... | |
static void | get_shape (const ActionSet &a, const std::string &key, const std::string &type, long *dims) |
Return the shape required for a particular key. More... | |
Protected Attributes | |
std::vector< ActionWithValue * > | myactions |
Pointers to the various actions required by the grabber. More... | |
std::vector< Value * > | myvalues |
The values required by the user. More... | |
PlumedMain & | plumed |
A copy of the plumed main object. More... | |
Private Attributes | |
std::map< std::string, T * > | data |
A map containing the data we are grabbing. More... | |
|
explicit |
|
inline |
|
inherited |
|
staticinherited |
|
staticinherited |
Find the action that calculates a particular value.
|
overridevirtual |
After calc has been performed grab all the data and put it in the relevant arrays.
Implements PLMD::DataFetchingObject.
|
staticinherited |
Return the rank required for a particular key.
|
staticinherited |
Return the shape required for a particular key.
|
overridevirtual |
Set the pointer to the data.
Implements PLMD::DataFetchingObject.
|
private |
A map containing the data we are grabbing.
|
protectedinherited |
Pointers to the various actions required by the grabber.
|
protectedinherited |
The values required by the user.
|
protectedinherited |
A copy of the plumed main object.
Hosted by GitHub | 1.8.14 |