Gromacs
2024.4
|
#include <gromacs/pulling/pullcoordexpressionparser.h>
Class with a mathematical expression and parser.
Public Member Functions | |
PullCoordExpressionParser (const std::string &expression, int numVariables, bool allowTimeAsVariable) | |
Constructor which takes a mathematical expression and the number of variables as arguments. | |
double | evaluate (ArrayRef< const double > variables) |
Evaluates the expression with the numerical values passed in variables . | |