Skip to content
Snippets Groups Projects
Commit 8d4e3e75 authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

MIN is an optional keyword for the restart

parent 138dec56
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ namespace PLMD{
//+PLUMEDOC BIAS ABMD
/**
Adds an ratchet-and-pawl like restraint on one or more variables
Adds a ratchet-and-pawl like restraint on one or more variables
\par Syntax
\verbatim
......@@ -59,9 +59,9 @@ PLUMED_REGISTER_ACTION(BiasRatchet,"ABMD")
void BiasRatchet::registerKeywords(Keywords& keys){
Bias::registerKeywords(keys);
keys.use("ARG");
keys.add("compulsory","TO","The array of a values in the above equation");
keys.add("compulsory","TO","The array of target values");
keys.add("compulsory","KAPPA","The array of force constants.");
keys.add("compulsory","MIN","Also the array of a values in the above equation - I don't understand.");
keys.add("optional","MIN","Array of starting values (usefull for restarting)");
}
BiasRatchet::BiasRatchet(const ActionOptions&ao):
......@@ -73,7 +73,6 @@ kappa(getNumberOfArguments(),0.0)
parseVector("KAPPA",kappa);
plumed_assert(kappa.size()==getNumberOfArguments());
parseVector("MIN",min);
plumed_assert(min.size()==getNumberOfArguments());
parseVector("TO",to);
plumed_assert(to.size()==getNumberOfArguments());
checkRead();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment