|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/views/UniformCoordsetView.hpp>
Public Types | |
| using | LogicalIndex = axom::StackArray< axom::IndexType, NDIMS > |
| using | ExtentsType = axom::StackArray< double, NDIMS > |
| using | IndexType = axom::IndexType |
| using | value_type = DataType |
| using | PointType = axom::primal::Point< DataType, NDIMS > |
Public Member Functions | |
| AXOM_HOST_DEVICE | UniformCoordsetView () |
| Constructor. More... | |
| AXOM_HOST_DEVICE | UniformCoordsetView (const LogicalIndex &dims, const ExtentsType &origin, const ExtentsType &spacing) |
| Constructor. More... | |
| AXOM_HOST_DEVICE const StructuredIndexing< IndexType, NDIMS > & | indexing () const |
| Return the indexing for the coordset so we know its logical sizes. More... | |
| AXOM_HOST_DEVICE const ExtentsType & | origin () const |
| Return the coordset origin. More... | |
| AXOM_HOST_DEVICE const ExtentsType & | spacing () const |
| Return the coordset spacing. More... | |
| AXOM_HOST_DEVICE PointType | getPoint (const LogicalIndex &vertex_index) const |
| Return the requested point from the coordset. More... | |
| AXOM_HOST_DEVICE PointType | operator[] (const LogicalIndex &vertex_index) const |
| Return the requested point from the coordset. More... | |
| AXOM_HOST_DEVICE PointType | operator[] (IndexType vertex_index) const |
| Return the requested point from the coordset. More... | |
| AXOM_HOST_DEVICE IndexType | size () const |
| Return the number of points in the coordset. More... | |
| AXOM_HOST_DEVICE IndexType | numberOfNodes () const |
Static Public Member Functions | |
| constexpr static AXOM_HOST_DEVICE int | dimension () |
Public Attributes | |
| StructuredIndexing< IndexType, NDIMS > | m_indexing |
| ExtentsType | m_origin |
| ExtentsType | m_spacing |
| using axom::bump::views::UniformCoordsetView< DataType, NDIMS >::LogicalIndex = axom::StackArray<axom::IndexType, NDIMS> |
| using axom::bump::views::UniformCoordsetView< DataType, NDIMS >::ExtentsType = axom::StackArray<double, NDIMS> |
| using axom::bump::views::UniformCoordsetView< DataType, NDIMS >::IndexType = axom::IndexType |
| using axom::bump::views::UniformCoordsetView< DataType, NDIMS >::value_type = DataType |
| using axom::bump::views::UniformCoordsetView< DataType, NDIMS >::PointType = axom::primal::Point<DataType, NDIMS> |
|
inline |
Constructor.
|
inline |
Constructor.
| dims | The logical dimensions of the coordset. |
| origin | The origin of the coordset's coordinate system. |
| spacing | The spacing inbetween points. |
|
inlinestaticconstexpr |
|
inline |
Return the number of points in the coordset.
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_indexing.
|
inline |
|
inline |
Return the indexing for the coordset so we know its logical sizes.
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_indexing.
|
inline |
Return the coordset origin.
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_origin.
|
inline |
Return the coordset spacing.
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_spacing.
|
inline |
Return the requested point from the coordset.
| vertex_index | The logical index of the point to return. |
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_origin, and axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_spacing.
|
inline |
Return the requested point from the coordset.
| vertex_index | The logical index of the point to return. |
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::getPoint().
|
inline |
Return the requested point from the coordset.
| vertex_index | The index of the point to return. |
References axom::bump::views::UniformCoordsetView< DataType, NDIMS >::getPoint(), and axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_indexing.
| StructuredIndexing<IndexType, NDIMS> axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_indexing |
| ExtentsType axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_origin |
| ExtentsType axom::bump::views::UniformCoordsetView< DataType, NDIMS >::m_spacing |