Moertel  Development
 All Classes Namespaces Files Functions Enumerations Friends Pages
Public Member Functions | List of all members
MOERTEL::Function_Constant1D Class Reference

A 1D constant shape function for a 2-noded 1D Segment More...

#include <mrtr_functions.H>

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

Public Member Functions

 Function_Constant1D (int out)
 Constructor. More...
 
 Function_Constant1D (const MOERTEL::Function_Constant1D &old)
 Copy-Constructor.
 
MOERTEL::FunctionClone () const
 Clone method. More...
 
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. More...
 
- Public Member Functions inherited from MOERTEL::Function
 Function (int outlevel, MOERTEL::Function::FunctionType type)
 Constructor. More...
 
 Function (const MOERTEL::Function &old)
 Copy-Constructor. More...
 
virtual ~Function ()
 Destructor.
 
int OutLevel ()
 Return the level of output written to stdout ( 0 - 10 )
 
MOERTEL::Function::FunctionType Type () const
 Return the function type.
 

Additional Inherited Members

- Public Types inherited from MOERTEL::Function
enum  FunctionType {
  func_none, func_Constant1D, func_Linear1D, func_DualLinear1D,
  func_LinearTri, func_DualLinearTri, func_ConstantTri, func_BiLinearQuad,
  func_DualBiLinearQuad
}
 Type of function. More...
 
- Protected Attributes inherited from MOERTEL::Function
MOERTEL::Function::FunctionType type_
 
int outputlevel_
 

Detailed Description

A 1D constant shape function for a 2-noded 1D Segment

phi_1 = 1
phi_2 = 1
phi_1,xi = 0
phi_2,xi = 0

Author
Glen Hansen (gahan.nosp@m.se@s.nosp@m.andia.nosp@m..gov)

Constructor & Destructor Documentation

MOERTEL::Function_Constant1D::Function_Constant1D ( int  out)
inline

Constructor.

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

Member Function Documentation

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.

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.

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

References MOERTEL::ReportError().


The documentation for this class was generated from the following files: