Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::PullCoordExpressionParser Class Reference

#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.

The documentation for this class was generated from the following files: