ParsedFunction
-
class ParsedFunction : public godzilla::Function
Parsed function.
Public Functions
-
virtual void register_callback(mu::Parser &parser) override
Register this function with the function parser.
- Parameters:
parser – The mu::Parser object we register this function with
-
virtual void evaluate(Real time, const Real x[], Scalar u[])
Evaluate the function.
- Parameters:
time – The time at which to sample
x – The coordinates
u – The computed values
-
virtual void register_callback(mu::Parser &parser) override