Skip to main content
Part of Data Repesents the geometry of a finite element within a mesh.

Public Types

Public Member Functions

Detailed Description

Repesents the geometry of a finite element within a mesh. This class represents the geometrical instance of a finite element contained in a FEM mesh. The class associates the geometry and the topology of the mesh (and the finite element type). It does not provide information/methods on the underlying physical process.

Member Function Documentation

computeLinearNodeCoordinates()

recomputes the given node coordinates by linear shape functions The computation is done by assumption of an isoparametric approach. Parameters

computeSurfaceArea()

Computes the surface area of the element Collects all the element faces, checks which of them are on the elements surface, gets the triangulation of these faces and computes the sum of these triangle areas. Returns The surface area.
Element surface: An element face is recognized as a surface if the face in question reports to be onSurface() and the ident of the elementType() face in question is not SNEG

elementEdges()

returns the edges of the element Returns a reference to m_edges

elementFaces()

returns the faces of the element Returns a reference to m_faces

elementNodes()

returns the nodes of the element Returns a reference to m_nodes

elementType()

returns the element type: Returns a reference to *m_type

elementTypeString()

returns the element type: Returns a string describing the element number

getNormal()

define the normal by average of triangles defined on the element Returns the normalized vector

index()

returns the element index: Returns a reference to m_index

isDegenerated()

Returns true if the element is degenerated An element is degenerated if there are at most 3 non degenerated faces (in this case, there is no volume being spanned).

localElementAtNode()

a getter for m_local_element_at_node Returns a reference to m_local_element_at_node

localElementAtNodeRef()

a setter for m_local_element_at_node Returns a reference to m_local_element_at_node

nodeAt()

accesses inidividual connected nodes Parameters Returns a const-reference to the connected node

numNodes()

Returns the number of connected nodes

part_index()

returns the part index: Returns a reference to m_part_index

recomputeNodeCoordinatesMidEdge()

recomputes the given node coordinates by placing the mid-edge nodes in the center of the edges The computation is done by assumption of an isoparametric approach. Parameters

section()

a getter for the element section: Returns a reference to m_section