|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
This class implements a view for Blueprint polyhedral topologies. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/views/UnstructuredTopologyPolyhedralView.hpp>
Classes | |
| struct | PolyhedronData |
| This struct contains views that hold polyhedral connectivity. More... | |
| struct | PolyhedronShape |
| This struct provides data about Zone i's shape. More... | |
Public Types | |
| using | ConnectivityType = ConnType |
| using | ConnectivityView = axom::ArrayView< ConnectivityType > |
| using | IndexingPolicy = BasicIndexing |
| using | ShapeType = PolyhedronShape |
Public Member Functions | |
| AXOM_HOST_DEVICE | UnstructuredTopologyPolyhedralView (const ConnectivityView &subelement_conn, const ConnectivityView &subelement_sizes, const ConnectivityView &subelement_offsets, const ConnectivityView &element_conn, const ConnectivityView &element_sizes, const ConnectivityView &element_offsets) |
| Constructor. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfZones () const |
| Return the number of zones in the mesh. More... | |
| AXOM_HOST_DEVICE IndexType | connectivitySize () const |
| Return the size of the connectivity. More... | |
| AXOM_HOST_DEVICE const IndexingPolicy & | indexing () const |
| Return the size of the connectivity. More... | |
| AXOM_HOST_DEVICE ShapeType | zone (axom::IndexType zoneIndex) const |
| Return a zone. More... | |
Static Public Member Functions | |
| static constexpr AXOM_HOST_DEVICE int | dimension () |
| Return the dimension of the shape. More... | |
This class implements a view for Blueprint polyhedral topologies.
| using axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::ConnectivityType = ConnType |
| using axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::ConnectivityView = axom::ArrayView<ConnectivityType> |
| using axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::IndexingPolicy = BasicIndexing |
| using axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::ShapeType = PolyhedronShape |
|
inline |
Constructor.
|
inline |
Return the number of zones in the mesh.
References axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::PolyhedronData::m_element_sizes, and axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the size of the connectivity.
|
inlinestaticconstexpr |
Return the dimension of the shape.
|
inline |
Return the size of the connectivity.
References axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::PolyhedronData::m_indexing.
|
inline |
Return a zone.
| zoneIndex | The requested zone. |
References axom::bump::views::UnstructuredTopologyPolyhedralView< ConnType >::numberOfZones(), and SLIC_ASSERT.