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