Describes field distribution and shape functions. More...
Public Member Functions | |
virtual EntityShape * | getEntityShape (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. |
Describes field distribution and shape functions.
these classes are typically singletons, one for each shape function scheme
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.
type | select from apf::Mesh::Type |
virtual EntityShape* apf::FieldShape::getEntityShape | ( | int | type | ) | [pure virtual] |
Get the sub-descriptor for this entity type.
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.
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