Public Member Functions

apf::FieldShape Class Reference

Describes field distribution and shape functions. More...

List of all members.

Public Member Functions

virtual EntityShapegetEntityShape (int type)=0
 Get the sub-descriptor for this entity type.
virtual bool hasNodesIn (int dimension)=0
 Return true iff there are nodes on entities of this dimension.
virtual int countNodesOn (int type)=0
 Return the number of nodes associated with an entity of this type.
virtual int getOrder ()=0
 Return the polynomial order of the shape functions.
virtual void getNodeXi (int type, int node, Vector3 &xi)
 Get the parent element coordinates of an element node.
virtual const char * getName () const =0
 Get a unique string for this shape function scheme.

Detailed Description

Describes field distribution and shape functions.

these classes are typically singletons, one for each shape function scheme


Member Function Documentation

virtual int apf::FieldShape::countNodesOn ( int  type  )  [pure virtual]

Return the number of nodes associated with an entity of this type.

in a linear mesh, nodes are associated with vertices but there are no nodes associated with other entities.

Parameters:
type select from apf::Mesh::Type
virtual EntityShape* apf::FieldShape::getEntityShape ( int  type  )  [pure virtual]

Get the sub-descriptor for this entity type.

Parameters:
type select from apf::Mesh::Type
virtual void apf::FieldShape::getNodeXi ( int  type,
int  node,
Vector3 xi 
) [virtual]

Get the parent element coordinates of an element node.

Parameters:
type element type, select from apf::Mesh::Type
node index from element node ordering
xi parent element coordinates
virtual int apf::FieldShape::getOrder (  )  [pure virtual]

Return the polynomial order of the shape functions.

this is not always applicable

virtual bool apf::FieldShape::hasNodesIn ( int  dimension  )  [pure virtual]

Return true iff there are nodes on entities of this dimension.

this is used to skip dimensions in loops


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines