Abstract class to define by user specified (system of) ODE. More...
Public Member Functions | |
MyODE () | |
Default Constructor. | |
MyODE (const Mesh &mesh) | |
Constructor using mesh instance. More... | |
virtual | ~MyODE () |
Destructor. | |
virtual real_t | Function (real_t t, const real_t &y) |
Virtual member function to define function defining ODE in case of a single ODE. More... | |
virtual real_t | Function (real_t t, const Vect< real_t > &y, int i=1) |
Virtual member function to define function defining ODE. More... | |
virtual real_t | Jacobian (real_t t, const real_t &y) |
Virtual member function to define derivative of function in case of a single ODE. More... | |
virtual real_t | Jacobian (real_t t, const Vect< real_t > &y, int i=1, int j=1) |
Virtual member function to define partial derivatives of function. More... | |
Abstract class to define by user specified (system of) ODE.
The user has to implement a class that inherits from the present one where the virtual functions are implemented.
Constructor using mesh instance.
mesh | Reference to Mesh instance |
Virtual member function to define function defining ODE in case of a single ODE.
[in] | t | Time at which the ode function is evaluated |
[in] | y | Unknown |
Virtual member function to define function defining ODE.
[in] | t | Time at which the ode function is evaluated |
[in] | y | Vector of unknowns |
[in] | i | component of function to define [Default: 1 ]. |
Virtual member function to define derivative of function in case of a single ODE.
[in] | t | Time at which the derivative function is evaluated |
[in] | y | Unknown |
Virtual member function to define partial derivatives of function.
[in] | t | Time at which the jacobian function is evaluated |
[in] | y | Vector of unknowns |
[in] | i | Function component [Default: 1 ] |
[in] | j | Index of partial derivative [Default: 1 ] |