AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::views::PyramidTraits Struct Reference

Pyramid type traits. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/views/Shapes.hpp>

Static Public Member Functions

constexpr static AXOM_HOST_DEVICE int id ()
 
constexpr static AXOM_HOST_DEVICE bool is_polyhedral ()
 
constexpr static AXOM_HOST_DEVICE bool is_variable_size ()
 
constexpr static AXOM_HOST_DEVICE IndexType dimension ()
 
constexpr static AXOM_HOST_DEVICE IndexType numberOfNodes ()
 
constexpr static AXOM_HOST_DEVICE IndexType numberOfNodesInFace (int faceIndex)
 
constexpr static AXOM_HOST_DEVICE IndexType maxNodesInFace ()
 
constexpr static AXOM_HOST_DEVICE IndexType numberOfFaces ()
 
constexpr static AXOM_HOST_DEVICE IndexType numberOfEdges ()
 
constexpr static AXOM_HOST_DEVICE IndexType zoneOffset (int zoneIndex)
 
constexpr static AXOM_HOST_DEVICE axom::StackArray< IndexType, 4 > getFace (IndexType faceIndex)
 
constexpr static AXOM_HOST_DEVICE axom::StackArray< IndexType, 2 > getEdge (int edgeIndex)
 
constexpr static AXOM_HOST_DEVICE const char * name ()
 

Detailed Description

Pyramid type traits.

3*-----------* 2  face 0: 3,2,1,0
 |\         /|    face 1: 0,1,4
 | \       / |    face 2: 1,2,4
 |  \     /  |    face 3: 2,3,4
 |   \   /   |    face 4: 3,0,4
 |    \ /    |
 |     * 4   |    edge 0: 0,1
 |    / \    |    edge 1: 1,2
 |   /   \   |    edge 2: 2,3
 |  /     \  |    edge 3: 3,0
 | /       \ |    edge 4: 0,4
 |/         \|    edge 5: 1,4
0*-----------* 1  edge 6: 2,4
                  edge 7: 3,4

Member Function Documentation

◆ id()

constexpr static AXOM_HOST_DEVICE int axom::bump::views::PyramidTraits::id ( )
inlinestaticconstexpr

◆ is_polyhedral()

constexpr static AXOM_HOST_DEVICE bool axom::bump::views::PyramidTraits::is_polyhedral ( )
inlinestaticconstexpr

◆ is_variable_size()

constexpr static AXOM_HOST_DEVICE bool axom::bump::views::PyramidTraits::is_variable_size ( )
inlinestaticconstexpr

◆ dimension()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::dimension ( )
inlinestaticconstexpr

◆ numberOfNodes()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::numberOfNodes ( )
inlinestaticconstexpr

◆ numberOfNodesInFace()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::numberOfNodesInFace ( int  faceIndex)
inlinestaticconstexpr

◆ maxNodesInFace()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::maxNodesInFace ( )
inlinestaticconstexpr

◆ numberOfFaces()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::numberOfFaces ( )
inlinestaticconstexpr

◆ numberOfEdges()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::numberOfEdges ( )
inlinestaticconstexpr

◆ zoneOffset()

constexpr static AXOM_HOST_DEVICE IndexType axom::bump::views::PyramidTraits::zoneOffset ( int  zoneIndex)
inlinestaticconstexpr

References numberOfNodes().

◆ getFace()

constexpr static AXOM_HOST_DEVICE axom::StackArray<IndexType, 4> axom::bump::views::PyramidTraits::getFace ( IndexType  faceIndex)
inlinestaticconstexpr

References numberOfFaces().

◆ getEdge()

constexpr static AXOM_HOST_DEVICE axom::StackArray<IndexType, 2> axom::bump::views::PyramidTraits::getEdge ( int  edgeIndex)
inlinestaticconstexpr

◆ name()

constexpr static AXOM_HOST_DEVICE const char* axom::bump::views::PyramidTraits::name ( )
inlinestaticconstexpr

The documentation for this struct was generated from the following file: