32 if (!value_.isSet()) {
35 return value_.value();
48 {
return value_.isSet(); }
Utility classes for scientific computation.
virtual ~ColVar()
Destructor.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
virtual double value()
Return current value, compute if not already set.
bool isSet() const
Is the value already set?
void unset()
Unset the stored value (mark as unknown or obsolete).