23 #include "core/PlumedMain.h"
85 static void registerKeywords(
Keywords& keys);
91 PathMSDBase::registerKeywords(keys);
92 keys.add(
"compulsory",
"PROPERTY",
"the property to be used in the indexing: this goes in the REMARK field of the reference");
93 ActionWithValue::useCustomisableComponents(keys);
94 keys.addOutputComponent(
"zzz",
"default",
"the minimum distance from the reference points");
104 log<<
" Bibliography "
105 <<
plumed.cite(
"Spiwok V, Kralova B J. Chem. Phys. 135, 224504 (2011)")
109 sprintf(buf,
"Need to specify PROPERTY with this action\n");
112 for(
unsigned i=0;i<
labels.size();i++){
113 log<<
" found custom propety to be found in the REMARK line: "<<
labels[i].c_str()<<
"\n";
119 for(
unsigned i=0;i<
pdbv.size();i++){
120 vector<std::string> myv(
pdbv[i].getRemark());
122 vector<double> labelvals;
123 for(
unsigned j=0;j<
labels.size();j++){
128 sprintf(buf,
"PROPERTY LABEL \" %s \" NOT FOUND IN REMARK FOR FRAME %u \n",
labels[j].c_str(),i);
Log & log
Reference to the log stream.
void componentIsNotPeriodic(const std::string &name)
Set your value component to have no periodicity.
void checkRead()
Check if Action was properly read.
void requestAtoms(const std::vector< AtomNumber > &a)
This class holds the keywords and their documentation.
Provides the keyword PROPERTYMAP
This class is used to bring the relevant information to the Action constructor.
Base class for all the input Actions.
void parseVector(const std::string &key, std::vector< T > &t)
Parse one keyword as std::vector.
void addComponentWithDerivatives(const std::string &name)
Add a value with a name like label.name that has derivatives.
std::vector< std::string > labels
std::vector< std::vector< double > > indexvec