#include <DataCollectionObject.h>
Public Member Functions | |
| double | getArgumentValue (const std::string &name) const |
| Get the value of one of the arguments. | |
| Vector | getAtomPosition (const AtomNumber &ind) const |
| Return one of the atomic positions. | |
| void | setArgument (const std::string &name, const double &value) |
| Set the value of one of the arguments. | |
| void | setAtomNumbersAndArgumentNames (const std::string &action_label, const std::vector< AtomNumber > &ind, const std::vector< std::string > &arg_names) |
| Set the names and atom numbers. | |
| void | setAtomPositions (const std::vector< Vector > &pos) |
| Set the positions of all the atoms. | |
| bool | transferDataToPDB (PDB &mypdb) |
| Transfer the data inside the object to a PDB object. | |
Private Attributes | |
| std::map< std::string, double > | args |
| The map containing the arguments that we are storing. | |
| std::vector< AtomNumber > | indices |
| The list of atom numbers that are stored in the object. | |
| std::string | myaction |
| The label of the action in which the data is stored. | |
| std::vector< Vector > | positions |
| The list of atomic positions. | |
Friends | |
| class | ReadAnalysisFrames |
|
inline |
Get the value of one of the arguments.
|
inline |
Return one of the atomic positions.
| void PLMD::analysis::DataCollectionObject::setArgument | ( | const std::string & | name, |
| const double & | value ) |
Set the value of one of the arguments.
| void PLMD::analysis::DataCollectionObject::setAtomNumbersAndArgumentNames | ( | const std::string & | action_label, |
| const std::vector< AtomNumber > & | ind, | ||
| const std::vector< std::string > & | arg_names ) |
Set the names and atom numbers.
| void PLMD::analysis::DataCollectionObject::setAtomPositions | ( | const std::vector< Vector > & | pos | ) |
Set the positions of all the atoms.
| bool PLMD::analysis::DataCollectionObject::transferDataToPDB | ( | PDB & | mypdb | ) |
Transfer the data inside the object to a PDB object.
|
friend |
|
private |
The map containing the arguments that we are storing.
|
private |
The list of atom numbers that are stored in the object.
|
private |
The label of the action in which the data is stored.
|
private |
The list of atomic positions.
Hosted by GitHub
|
1.17.0
|