# cee::ug::Element

class `Element`

  Class for a FEM element.

  See the enumerator Type for all full listing of all supported element types with edge and surface description.

  Public Types

  enum `Type`

    List of supported element types.

    Node, edge and face order is described for each element type.

    Values:

    enumerator `POINTS`

      Point element

    enumerator `BEAMS`

      Beam element with 2 nodes.

    enumerator `BEAMS_3`

      Higher order beam element with 2 nodes.

    enumerator `TRIANGLES`

      Triangle shell element with 3 nodes.

          edge    nodes
            1     1, 2
            2     2, 3
            3     3, 1

    enumerator `TRIANGLES_6`

      Higher order triangle shell element with 6 nodes.

          edge    nodes
            1     1, 2
            2     2, 3
            3     3, 1

    enumerator `QUADS`

      Quad shell element with 4 nodes.

          edge    nodes   |   face    nodes
            1     1, 2    |     1     1, 2, 3, 4
            2     2, 3    |
            3     3, 4    |
            4     4, 1    |

    enumerator `QUADS_8`

      Higher order quad shell element with 8 nodes.

          edge    nodes   |   face    nodes
            1     1, 2    |     1     1, 5, 2, 6, 3, 7, 4, 8
            2     2, 3    |
            3     3, 4    |
            4     4, 1    |

    enumerator `QUADS_9`

      Higher order quad shell element with 9 nodes.

          edge    nodes   |   face    nodes
            1     1, 2    |     1     1, 5, 2, 6, 3, 7, 4, 8
            2     2, 3    |
            3     3, 4    |
            4     4, 1    |

    enumerator `TETRAHEDRONS`

      Tetrahedron volume element with 4 nodes.

          edge   nodes   edge   nodes   |   face   nodes
            1    1, 2      4    1, 4    |     1    1, 3, 2
            2    2, 3      5    2, 4    |     2    1, 2, 4
            3    3, 1      6    3, 4    |     3    2, 3, 4
                                        |     4    1, 4, 3

    enumerator `TETRAHEDRONS_10`

      Higher order tetrahedron volume element with 10 nodes.

          edge   nodes   edge   nodes   |   face   nodes
            1    1, 2      4    1, 4    |     1    1, 7, 3,  6, 2, 5
            2    2, 3      5    2, 4    |     2    1, 5, 2,  9, 4, 8
            3    3, 1      6    3, 4    |     3    2, 6, 3, 10, 4, 9
                                        |     4    1, 8, 4, 10, 3, 7

    enumerator `PYRAMIDS`

      Pyramid volume element with 5 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    1, 2      5    1, 5    |     1     1, 4, 3, 2
            2    2, 3      6    2, 5    |     2     1, 2, 5
            3    3, 4      7    3, 5    |     3     2, 3, 5
            4    4, 1      8    4, 5    |     4     3, 4, 5
                                        |     5     1, 5, 4

    enumerator `PYRAMIDS_13`

      Higher order pyramid volume element with 13 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    1, 2      5    1, 5    |     1     1,  9, 4,  8, 3,  7, 2, 6
            2    2, 3      6    2, 5    |     2     1,  6, 2, 11, 5, 10
            3    3, 4      7    3, 5    |     3     2,  7, 3, 12, 5, 11
            4    4, 1      8    4, 5    |     4     3,  8, 4, 13, 5, 12
                                        |     5     1, 10, 5, 13, 4,  9

    enumerator `PENTAHEDRONS`

      Pentahedron volume element (Wedge volume element) with 6 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    1, 2      6    6, 4    |     1     1, 3, 2
            2    2, 3      7    1, 4    |     2     4, 5, 6
            3    3, 1      8    2, 5    |     3     1, 2, 5, 4
            4    4, 5      9    3, 6    |     4     2, 3, 6, 5
            5    5, 6                   |     5     1, 4, 6, 3

    enumerator `PENTAHEDRONS_15`

      Higher order pentahedron volume element with 15 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    1, 2      6    6, 4    |     1     1,  9, 3,  8, 2,  7
            2    2, 3      7    1, 4    |     2     4, 10, 5, 11, 6, 12
            3    3, 1      8    2, 5    |     3     1,  7, 2, 14, 5, 10, 4, 13
            4    4, 5      9    3, 6    |     4     2,  8, 3, 15, 6, 11, 5, 14
            5    5, 6                   |     5     1, 13, 4, 12, 6, 15, 3,  9

    enumerator `HEXAHEDRONS`

      Hexahedron volume element with 8 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    2, 6      7    6, 7    |     1     1, 4, 3, 2
            2    1, 2      8    5, 6    |     2     5, 6, 7, 8
            3    1, 5      9    5, 8    |     3     1, 2, 6, 5
            4    1, 4     10    4, 8    |     4     2, 3, 7, 6
            5    2, 3     11    7, 8    |     5     3, 4, 8, 7
            6    3, 7     12    3, 4    |     6     1, 5, 8, 4

    enumerator `HEXAHEDRONS_20`

      Higher order hexahedron volume element with 20 nodes.

          edge   nodes   edge   nodes   |   face    nodes
            1    2, 6      7    6, 7    |     1     1, 12, 4, 11, 3, 10, 2,  9
            2    1, 2      8    5, 6    |     2     5, 13, 6, 14, 7, 15, 8, 16
            3    1, 5      9    5, 8    |     3     1,  9, 2, 18, 6, 13, 5, 17
            4    1, 4     10    4, 8    |     4     2, 10, 3, 19, 7, 14, 6, 18
            5    2, 3     11    7, 8    |     5     3, 11, 4, 20, 8, 15, 7, 19
            6    3, 7     12    3, 4    |     6     1, 17, 5, 16, 8, 20, 4, 12

    enumerator `POLYHEDRONS`

      Polyhedron element

    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 the element edge with index edgeIndex for an element of type elementType.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Envision for Desktop in your own language, or choose a sample question below to start a conversation:

What is HOOPS Envision for Desktop?
What are the latest release notes for HOOPS Envision for Desktop?
How do I start evaluating HOOPS Envision for Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...