AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Utility class to enable processing an array of points whose layout is either interleaved or separated strided arrays. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/quest/ScatteredInterpolation.hpp>
Public Types | |
using | CoordType = T |
using | PointType = primal::Point< CoordType, NDIMS > |
using | StridedPoints = primal::detail::ZipBase< PointType > |
using | InterleavedPoints = axom::ArrayView< PointType > |
Public Member Functions | |
InterleavedOrStridedPoints (conduit::Node &values) | |
Constructor from a multi-component array Conduit node. More... | |
InterleavedOrStridedPoints (const sidre::Group *values) | |
Constructor from a multi-component array Sidre group node. More... | |
int | size () const |
Returns the number of points in the array. More... | |
PointType | operator[] (int idx) const |
Access the point at index idx in the array. More... | |
Static Public Attributes | |
static constexpr int | DIM = NDIMS |
Utility class to enable processing an array of points whose layout is either interleaved or separated strided arrays.
using axom::quest::detail::InterleavedOrStridedPoints< T, NDIMS >::CoordType = T |
using axom::quest::detail::InterleavedOrStridedPoints< T, NDIMS >::PointType = primal::Point<CoordType, NDIMS> |
using axom::quest::detail::InterleavedOrStridedPoints< T, NDIMS >::StridedPoints = primal::detail::ZipBase<PointType> |
using axom::quest::detail::InterleavedOrStridedPoints< T, NDIMS >::InterleavedPoints = axom::ArrayView<PointType> |
|
inlineexplicit |
Constructor from a multi-component array Conduit node.
References SLIC_ASSERT.
|
inlineexplicit |
Constructor from a multi-component array Sidre group node.
References axom::sidre::Group::createNativeLayout(), and SLIC_ASSERT.
|
inline |
Returns the number of points in the array.
|
inline |
Access the point at index idx in the array.
|
staticconstexpr |