#include <mrtr_functions.H>
Public Member Functions | |
Function_Constant1D (int out) | |
Constructor. | |
Function_Constant1D (const MOERTEL::Function_Constant1D &old) | |
Copy-Constructor. | |
MOERTEL::Function * | Clone () const |
Clone method. | |
virtual | ~Function_Constant1D () |
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 = 1
phi_2 = 1
phi_1,xi = 0
phi_2,xi = 0
MOERTEL::Function_Constant1D::Function_Constant1D | ( | int | out | ) | [inline] |
Constructor.
out | : Level of output information written to stdout ( 0 - 10 ) |
Referenced by Clone().
MOERTEL::Function * MOERTEL::Function_Constant1D::Clone | ( | ) | const [virtual] |
Clone method.
Makes a deep copy of this instance and returns a pointer to it.
Implements MOERTEL::Function.
References Function_Constant1D().
bool MOERTEL::Function_Constant1D::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 | |
val | (out) : Function values at xi, dimension 2, if NULL on input no evaluation | |
valdim | (in) : Dimension of val should be 2 | |
deriv | (out) : Derivative of functions at xi, dimension 4, if NULL on input no evaluation |
Implements MOERTEL::Function.