|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
This class provides a view for Conduit/Blueprint mixed shape unstructured grids. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/views/UnstructuredTopologyMixedShapeView.hpp>
Public Types | |
| using | ConnectivityType = ConnT |
| using | ConnectivityView = axom::ArrayView< ConnectivityType > |
| using | ShapeType = VariableShape< ConnectivityType > |
| using | IndexingPolicy = BasicIndexing |
Public Member Functions | |
| AXOM_HOST_DEVICE | UnstructuredTopologyMixedShapeView (const ConnectivityView &conn, const ConnectivityView &shapes, const ConnectivityView &sizes, const ConnectivityView &offsets, const ShapeMap &shapemap) |
| Constructor. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfZones () const |
| Return the number of zones. 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 provides a view for Conduit/Blueprint mixed shape unstructured grids.
| IndexT | The index type that will be used for connectivity, etc. |
| ShapeT | The shape type. |
| using axom::bump::views::UnstructuredTopologyMixedShapeView< ConnT >::ConnectivityType = ConnT |
| using axom::bump::views::UnstructuredTopologyMixedShapeView< ConnT >::ConnectivityView = axom::ArrayView<ConnectivityType> |
| using axom::bump::views::UnstructuredTopologyMixedShapeView< ConnT >::ShapeType = VariableShape<ConnectivityType> |
| using axom::bump::views::UnstructuredTopologyMixedShapeView< ConnT >::IndexingPolicy = BasicIndexing |
|
inline |
Constructor.
| conn | The mesh connectivity. |
| shapes | The shape in each zone. |
| sizes | The number of nodes in each zone. |
| offsets | The offset to each zone in the connectivity. |
References axom::bump::views::ShapeMap::empty(), axom::ArrayView< T, DIM, SPACE >::empty(), axom::ArrayView< T, DIM, SPACE >::size(), and SLIC_ERROR_IF.
|
inlinestaticconstexpr |
Return the dimension of the shape.
|
inline |
Return the number of zones.
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the size of the connectivity.
References axom::ArrayView< T, DIM, SPACE >::size().
|
inline |
Return the size of the connectivity.
|
inline |
Return a zone.
| zoneIndex | The index of the zone to return. |
References axom::ArrayView< T, DIM, SPACE >::data(), axom::bump::views::isValidShapeID(), axom::bump::views::UnstructuredTopologyMixedShapeView< ConnT >::numberOfZones(), and SLIC_ASSERT.