#include <mrtr_functions.H>
Public Member Functions | |
Function_DualLinearTri (int out) | |
Constructor. | |
Function_DualLinearTri (const MOERTEL::Function_DualLinearTri &old) | |
Copy-Constructor. | |
virtual MOERTEL::Function * | Clone () const |
Clone method. | |
virtual | ~Function_DualLinearTri () |
Destructor. | |
bool | EvaluateFunction (const MOERTEL::Segment &seg, const double *xi, double *val, const int valdim, double *deriv) |
Evaluate the function and derivatives at a given local coordinate. |
phi_1 = 3 - 2 * xi_1 - 2 * xi_2
phi_2 = 4 * xi_1 - 1
phi_3 = 4 * xi_2 - 1
phi_1,xi_1 = -2
phi_1,xi_2 = -2
phi_2,xi_1 = 4
phi_2,xi_2 = 0
phi_3,xi_1 = 0
phi_3,xi_2 = 4
MOERTEL::Function_DualLinearTri::Function_DualLinearTri | ( | int | out | ) | [inline] |
Constructor.
out | : Level of output information written to stdout ( 0 - 10 ) |
Referenced by Clone().
MOERTEL::Function * MOERTEL::Function_DualLinearTri::Clone | ( | ) | const [virtual] |
Clone method.
Makes a deep copy of this instance and returns a pointer to it.
Implements MOERTEL::Function.
References Function_DualLinearTri().
bool MOERTEL::Function_DualLinearTri::EvaluateFunction | ( | const MOERTEL::Segment & | seg, | |
const double * | xi, | |||
double * | val, | |||
const int | valdim, | |||
double * | deriv | |||
) | [virtual] |
Evaluate the function and derivatives at a given local coordinate.
xi | (in) : Local coordinate where to evaluate the function (dimension 2) | |
val | (out) : Function values at xi, dimension 3, if NULL on input no evaluation | |
valdim | (in) : Dimension of val should be 3 | |
deriv | (out) : Derivative of functions at xi, dimension 6, if NULL on input no evaluation |
Implements MOERTEL::Function.