|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
This struct represents a polygon zone. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/views/Shapes.hpp>

Public Types | |
| using | ConnectivityType = ConnType |
| using | ConnectivityView = axom::ArrayView< ConnectivityType > |
| using | ConnectivityStorage = ConnectivityType |
| using | ConnectivityStorageRef = ConnectivityView & |
| using | ConnectivityStorageConstRef = const ConnectivityView & |
Public Member Functions | |
| AXOM_HOST_DEVICE | PolygonShape (const ConnectivityView &ids) |
| Construct a shape. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfNodes () const |
| Return the number of nodes in the polygon. More... | |
| AXOM_HOST_DEVICE ConnectivityType | getId (size_t index) const |
| Get a specific id that makes up this shape. More... | |
| AXOM_HOST_DEVICE ConnectivityStorageRef | getIdsStorage () |
| Get the storage for the ids that make up this shape. More... | |
| AXOM_HOST_DEVICE ConnectivityStorageConstRef | getIdsStorage () const |
| Get the storage for the ids that make up this shape. More... | |
| AXOM_HOST_DEVICE ConnectivityView | getIds () const |
| Get the ids that make up this shape. More... | |
| AXOM_HOST_DEVICE void | getFace (int AXOM_UNUSED_PARAM(faceIndex), ConnectivityType *ids, axom::IndexType &numIds) const |
| Get the ids for the requested face. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfEdges () const |
| Return the number of edges in the polygon. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfNodesInFace (int) const |
| Return the number of nodes in the face. More... | |
| AXOM_HOST_DEVICE axom::StackArray< IndexType, 2 > | getEdge (int edgeIndex) const |
| Return the specified edge. More... | |
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 | numberOfFaces () |
| constexpr static AXOM_HOST_DEVICE IndexType | maxNodesInFace () |
| constexpr static AXOM_HOST_DEVICE const char * | name () |
This struct represents a polygon zone.
| using axom::bump::views::PolygonShape< ConnType >::ConnectivityType = ConnType |
| using axom::bump::views::PolygonShape< ConnType >::ConnectivityView = axom::ArrayView<ConnectivityType> |
| using axom::bump::views::PolygonShape< ConnType >::ConnectivityStorage = ConnectivityType |
| using axom::bump::views::PolygonShape< ConnType >::ConnectivityStorageRef = ConnectivityView & |
| using axom::bump::views::PolygonShape< ConnType >::ConnectivityStorageConstRef = const ConnectivityView & |
|
inline |
Construct a shape.
|
inline |
Return the number of nodes in the polygon.
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Get a specific id that makes up this shape.
References axom::ArrayView< T, DIM, SPACE >::size(), and SLIC_ASSERT.
|
inline |
Get the storage for the ids that make up this shape.
|
inline |
Get the storage for the ids that make up this shape.
|
inline |
Get the ids that make up this shape.
|
inline |
Get the ids for the requested face.
| faceIndex | The index of the desired face. | |
| [out] | ids | A buffer that will contain the ids. |
| [out] | numIds | The number of ids returned for the face. |
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the number of edges in the polygon.
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the number of nodes in the face.
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the specified edge.
| edgeIndex | The index of the edge to return. |
References axom::ArrayView< T, DIM, SPACE >::size().
|
inlinestaticconstexprinherited |
References axom::bump::views::Polygon_ShapeID.
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |
|
inlinestaticconstexprinherited |