SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
apf::FieldShape Class Referenceabstract

Describes field distribution and shape functions. More...

Public Member Functions

virtual EntityShapegetEntityShape (int type)=0
 Get the sub-descriptor for this entity type. More...
 
virtual bool hasNodesIn (int dimension)=0
 Return true iff there are nodes on entities of this dimension. More...
 
virtual int countNodesOn (int type)=0
 Return the number of nodes associated with an entity of this type. More...
 
virtual int getOrder ()=0
 Return the polynomial order of the shape functions. More...
 
virtual void getNodeXi (int type, int node, Vector3 &xi)
 Get the parent element coordinates of an element node. More...
 
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

Definition at line 73 of file apfShape.h.

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
typeselect from apf::Mesh::Type
virtual EntityShape* apf::FieldShape::getEntityShape ( int  type)
pure virtual

Get the sub-descriptor for this entity type.

Parameters
typeselect 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
typeelement type, select from apf::Mesh::Type
nodeindex from element node ordering
xiparent 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: