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

Help turn blend group node indices (global) into vertex 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_topoIndexing {}
 
Indexing m_fieldIndexing {}
 

Detailed Description

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

Help turn blend group node indices (global) into vertex field indices.

Template Parameters
IndexingA StridedStructuredIndexing of some dimension.

Member Function Documentation

◆ update()

template<typename Indexing >
void axom::bump::SSVertexFieldIndexing< 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::SSVertexFieldIndexing< Indexing >::m_fieldIndexing.

◆ operator[]()

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

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

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

References axom::bump::SSVertexFieldIndexing< Indexing >::m_fieldIndexing, and axom::bump::SSVertexFieldIndexing< Indexing >::m_topoIndexing.

Member Data Documentation

◆ m_topoIndexing

template<typename Indexing >
Indexing axom::bump::SSVertexFieldIndexing< Indexing >::m_topoIndexing {}

◆ m_fieldIndexing

template<typename Indexing >
Indexing axom::bump::SSVertexFieldIndexing< Indexing >::m_fieldIndexing {}

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