OGS
v6.4.0
|
Interface providing access to functions computing \(\dot y\) and its Jacobian to code interfacing with external ODE solver libraries.
Definition at line 31 of file FunctionHandles.h.
#include <FunctionHandles.h>
Public Member Functions | |
virtual bool | call (const double t, double const *const y, double *const ydot)=0 |
virtual bool | callJacobian (const double t, double const *const y, double *const ydot, double *const jac)=0 |
virtual bool | hasJacobian () const =0 |
Tells whether a Jacobian function has been set. More... | |
virtual unsigned | getNumberOfEquations () const =0 |
Returns the number of equations in the ODE system. More... | |
virtual | ~FunctionHandles ()=default |
|
virtualdefault |
|
pure virtual |
Calls a function computing \(\dot y\).
Implemented in MathLib::ODE::detail::FunctionHandlesImpl< N >.
|
pure virtual |
Calls a function computing \(\mathtt{jac} := \partial \dot y/\partial y\).
Implemented in MathLib::ODE::detail::FunctionHandlesImpl< N >.
|
pure virtual |
Returns the number of equations in the ODE system.
Implemented in MathLib::ODE::detail::FunctionHandlesImpl< N >.
|
pure virtual |
Tells whether a Jacobian function has been set.
Implemented in MathLib::ODE::detail::FunctionHandlesImpl< N >.