AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::utilities::detail Namespace Reference

Functions

template<typename T >
axom::ArrayView< T > make_conduit_array_view (conduit::Node &n)
 Make a 1D axom::ArrayView from a typed Conduit node. More...
 
template<typename T >
axom::ArrayView< T > make_conduit_array_view (const conduit::Node &n)
 

Function Documentation

◆ make_conduit_array_view() [1/2]

template<typename T >
axom::ArrayView<T> axom::bump::utilities::detail::make_conduit_array_view ( conduit::Node &  n)
inline

Make a 1D axom::ArrayView from a typed Conduit node.

Note
This helper honors Conduit offset and stride metadata, so it supports regular interleaved layouts in addition to dense arrays.

References SLIC_ASSERT_MSG, and SLIC_ERROR_IF.

◆ make_conduit_array_view() [2/2]

template<typename T >
axom::ArrayView<T> axom::bump::utilities::detail::make_conduit_array_view ( const conduit::Node &  n)
inline

References SLIC_ASSERT_MSG, and SLIC_ERROR_IF.