Skip to content
Snippets Groups Projects
Commit b0f2adb4 authored by davidebr's avatar davidebr
Browse files

printout added components

parent 93d420a3
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ void ActionWithValue::addComponent( const std::string& name ){
plumed_massert(values[i]->name!=thename,"there is already a value with this name");
}
values.push_back(new Value(this,thename, false ) );
std::string msg=" added component to this variable: "+thename+" \n";
std::string msg=" added component to this action: "+thename+" \n";
log.printf(msg.c_str());
}
......@@ -127,6 +127,8 @@ void ActionWithValue::addComponentWithDerivatives( const std::string& name ){
plumed_massert(values[i]->name!=thename,"there is already a value with this name");
}
values.push_back(new Value(this,thename, true ) );
std::string msg=" added component to this action: "+thename+" \n";
log.printf(msg.c_str());
}
int ActionWithValue::getComponent( const std::string& name ) const {
......
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