Abstract class to define by user specified function. More...
Public Member Functions | |
MyNLAS () | |
Default Constructor. | |
MyNLAS (const Mesh &mesh) | |
Constructor using mesh instance. More... | |
virtual | ~MyNLAS () |
Destructor. | |
virtual real_t | Function (const Vect< real_t > &x, int i=1)=0 |
Virtual member function to define nonlinear function to zeroe. More... | |
virtual real_t | Gradient (const Vect< real_t > &x, int i=1, int j=1) |
Virtual member function to define partial derivatives of function. More... | |
Abstract class to define by user specified function.
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 nonlinear function to zeroe.
[in] | x | Vector of variables |
[in] | i | component of function to define [Default: 1 ]. |
Virtual member function to define partial derivatives of function.
[in] | x | Vector of variables |
[in] | i | Function component [Default: 1 ] |
[in] | j | Index of partial derivative [Default: 1 ] |