cee::ug::Element

class Element

Class for a FEM element.

See Type for all full listing of all supported element types.

Public Types

enum Type

List of supported element types.

Values:

enumerator POINTS

../_images/Point1.png

enumerator BEAMS

../_images/Beam1.png

enumerator BEAMS_3

../_images/Beam_31.png

enumerator TRIANGLES

../_images/Triangle1.png

enumerator TRIANGLES_6

../_images/Triangle_61.png

enumerator QUADS

../_images/Quad1.png

enumerator QUADS_8

../_images/Quad_81.png

enumerator QUADS_9

../_images/Quad_91.png

enumerator TETRAHEDRONS

../_images/Tetrahedron1.png

enumerator TETRAHEDRONS_10

../_images/Tetrahedron_101.png

enumerator PYRAMIDS

../_images/Pyramid1.png

enumerator PYRAMIDS_13

../_images/Pyramid_131.png

enumerator PENTAHEDRONS

../_images/Pentahedron1.png

enumerator PENTAHEDRONS_15

../_images/Pentahedron_151.png

enumerator HEXAHEDRONS

../_images/Hexahedron1.png

enumerator HEXAHEDRONS_20

../_images/Hexahedron_201.png

enumerator POLYHEDRONS
enumerator NULL_ELEMENT

Null.

enum Category

List of categories.

Values:

enumerator CATEGORY_SOLID

Solid elements.

enumerator CATEGORY_SHELL

Shell elements (in-plane stress, bending, shear)

enumerator CATEGORY_MEMBRANE

Membrane elements - only in-plane stress.

enumerator CATEGORY_BEAM

Beam elements - axial stress, bending, shear.

enumerator CATEGORY_TRUSS

Truss elements, axial stress only.

enumerator CATEGORY_INFINITE

Infinite element.

enumerator CATEGORY_GAP

Gap element (point contact)

enumerator CATEGORY_JOINT

Joint element.

enumerator CATEGORY_SPRINGDASHPOT

Spring & dashpot element.

enumerator CATEGORY_RIGID

Rigid element.

enumerator CATEGORY_CONSTRAINT

Constraint element, multipoint constraint.

enumerator CATEGORY_MASS

Mass element.

enumerator CATEGORY_INTERFACE

Interface element - distributed contact, boundary conditions.

enumerator CATEGORY_SUPER

Super elements.

enumerator CATEGORY_UNDEFINED

Undefined elements.

Public Static Functions

static size_t nodesPerElement(Type elementType)

Returns number of element nodes for the specified element type.

Returns cee::UNDEFINED_SIZE_T for POLYHEDRON. Use DataElements::nodesPerElement(elementIndex) for polyhedrons

static bool isVolumeElement(Type elementType)

Returns true if the element type is a volume element.

static size_t surfacesPerElement(Type elementType)

Returns number of element surfaces for the specified element type.

Returns cee::UNDEFINED_SIZE_T for POLYHEDRON. Use DataElements::surfacesPerElement(elementIndex) for polyhedrons

static std::vector<unsigned int> elementSurface(Type elementType, size_t surfaceIndex)

Returns the indices defining the element surface with index surfaceIndex of an element of type elementType.

static size_t edgesPerElement(Type elementType)

Returns number of edges for the specified element type.

Returns cee::UNDEFINED_SIZE_T for POLYHEDRON. Use DataElements::edgesPerElement(elementIndex) for polyhedrons

static std::vector<unsigned int> elementEdge(Type elementType, size_t edgeIndex)

Returns the indices defining an the element edge with index edgeIndex for an element of type elementType.