escript  Revision_
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
finley::ReferenceElement Struct Reference

this struct holds the realization of a reference element More...

#include <ReferenceElements.h>

Public Member Functions

 ReferenceElement (ElementTypeId id, int order)
 constructor with type ID and integration order More...
 
 ~ReferenceElement ()
 destructor More...
 
int getNumNodes () const
 

Static Public Member Functions

static const ReferenceElementInfo * getInfo (ElementTypeId id)
 returns the element information structure for the given type id More...
 
static ElementTypeId getTypeId (const char *)
 returns the element type id from its textual representation More...
 

Public Attributes

const ReferenceElementInfo * Type
 type of the reference element More...
 
const ReferenceElementInfo * LinearType
 type of the linear reference element More...
 
int integrationOrder
 used integration order More...
 
int numNodes
 
int numLocalDim
 
int numLinearNodes
 
const_ShapeFunction_ptr Parametrization
 
const_ShapeFunction_ptr BasisFunctions
 
const_ShapeFunction_ptr LinearBasisFunctions
 
double * DBasisFunctionDv
 
bool DBasisFunctionDvShared
 

Detailed Description

this struct holds the realization of a reference element

Constructor & Destructor Documentation

finley::ReferenceElement::ReferenceElement ( ElementTypeId  id,
int  order 
)
finley::ReferenceElement::~ReferenceElement ( )

destructor

References DBasisFunctionDv, and DBasisFunctionDvShared.

Member Function Documentation

const ReferenceElementInfo * finley::ReferenceElement::getInfo ( ElementTypeId  id)
static

returns the element information structure for the given type id

References finley::NoRef, finley::setError(), and VALUE_ERROR.

Referenced by ReferenceElement(), and finley::ReferenceElementSet::ReferenceElementSet().

int finley::ReferenceElement::getNumNodes ( ) const
inline
ElementTypeId finley::ReferenceElement::getTypeId ( const char *  element_type)
static

returns the element type id from its textual representation

References finley::NoRef, and finley::ReferenceElementInfo::TypeId.

Referenced by finley::Mesh::read().

Member Data Documentation

const_ShapeFunction_ptr finley::ReferenceElement::BasisFunctions

Referenced by ReferenceElement().

double* finley::ReferenceElement::DBasisFunctionDv

pointer to derivatives to basis function corresponding to the Parametrization of quad points

Referenced by ReferenceElement(), and ~ReferenceElement().

bool finley::ReferenceElement::DBasisFunctionDvShared

if true indicates that DBasisFunctionDv is shared with another object which is managing it

Referenced by ReferenceElement(), and ~ReferenceElement().

int finley::ReferenceElement::integrationOrder

used integration order

Referenced by ReferenceElement().

const_ShapeFunction_ptr finley::ReferenceElement::LinearBasisFunctions

Referenced by ReferenceElement().

const ReferenceElementInfo* finley::ReferenceElement::LinearType

type of the linear reference element

Referenced by ReferenceElement().

int finley::ReferenceElement::numLinearNodes

Referenced by ReferenceElement().

int finley::ReferenceElement::numLocalDim

Referenced by ReferenceElement().

int finley::ReferenceElement::numNodes

Referenced by ReferenceElement().

const_ShapeFunction_ptr finley::ReferenceElement::Parametrization

Referenced by ReferenceElement().

const ReferenceElementInfo* finley::ReferenceElement::Type

type of the reference element

Referenced by ReferenceElement().


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