AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::SSElementFieldIndexing< Indexing > Struct Template Reference

Help turn slice data zone indices into strided structured element field indices. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/bump/IndexingPolicies.hpp>

Public Member Functions

void update (const conduit::Node &field)
 Update the indexing offsets/strides from a Conduit node. More...
 
AXOM_HOST_DEVICE axom::IndexType operator[] (axom::IndexType index) const
 Transforms the index from local to global through an indexing object. More...
 

Public Attributes

Indexing m_indexing {}
 

Detailed Description

template<typename Indexing>
struct axom::bump::SSElementFieldIndexing< Indexing >

Help turn slice data zone indices into strided structured element field indices.

Template Parameters
IndexingA StridedStructuredIndexing of some dimension.

Member Function Documentation

◆ update()

template<typename Indexing >
void axom::bump::SSElementFieldIndexing< Indexing >::update ( const conduit::Node &  field)
inline

Update the indexing offsets/strides from a Conduit node.

Parameters
fieldThe Conduit node for a field.
Note
Executes on the host.

References axom::bump::utilities::fillFromNode(), and axom::bump::SSElementFieldIndexing< Indexing >::m_indexing.

◆ operator[]()

template<typename Indexing >
AXOM_HOST_DEVICE axom::IndexType axom::bump::SSElementFieldIndexing< Indexing >::operator[] ( axom::IndexType  index) const
inline

Transforms the index from local to global through an indexing object.

Parameters
indexThe local index
Returns
The global index for the field.

References axom::bump::SSElementFieldIndexing< Indexing >::m_indexing.

Member Data Documentation

◆ m_indexing

template<typename Indexing >
Indexing axom::bump::SSElementFieldIndexing< Indexing >::m_indexing {}

The documentation for this struct was generated from the following file: