MOERTEL::Function_ConstantTri Class Reference

A 2D constant shape function for a 3-noded triangle More...

#include <mrtr_functions.H>

Inheritance diagram for MOERTEL::Function_ConstantTri:

Inheritance graph
[legend]
Collaboration diagram for MOERTEL::Function_ConstantTri:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Function_ConstantTri (int out)
 Constructor.
 Function_ConstantTri (const MOERTEL::Function_ConstantTri &old)
 Copy-Constructor.
virtual MOERTEL::FunctionClone () const
 Clone method.
virtual ~Function_ConstantTri ()
 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.

Detailed Description

A 2D constant shape function for a 3-noded triangle

phi_1 = 1
phi_2 = 1
phi_3 = 1
phi_1,xi_1 = 0
phi_1,xi_2 = 0
phi_2,xi_1 = 0
phi_2,xi_2 = 0
phi_3,xi_1 = 0
phi_3,xi_2 = 0

Author:
Michael W. Gee (mwgee@sandia.gov)


Constructor & Destructor Documentation

MOERTEL::Function_ConstantTri::Function_ConstantTri ( int  out  )  [inline]

Constructor.

Parameters:
out : Level of output information written to stdout ( 0 - 10 )


Member Function Documentation

MOERTEL::Function * MOERTEL::Function_ConstantTri::Clone (  )  const [virtual]

Clone method.

Makes a deep copy of this instance and returns a pointer to it.

Implements MOERTEL::Function.

bool MOERTEL::Function_ConstantTri::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.

Parameters:
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.


The documentation for this class was generated from the following files:
Generated on Wed May 12 21:58:36 2010 for Moertel by  doxygen 1.4.7