AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::bump::MapBasedNaming< IndexT, MAXIDS >::View Class Reference

A view for making names. More...

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

Public Types

using KeyType = MapBasedNaming::KeyType
 

Public Member Functions

AXOM_HOST_DEVICE KeyType makeName (const IndexType *p, int n) const
 Make a name from an array of ids. More...
 
AXOM_HOST_DEVICE void setMaxId (IndexType)
 Set the max number of nodes. More...
 

Public Attributes

MapType * m_map_ptr {nullptr}
 

Detailed Description

template<typename IndexT, int MAXIDS = 14>
class axom::bump::MapBasedNaming< IndexT, MAXIDS >::View

A view for making names.

Member Typedef Documentation

◆ KeyType

template<typename IndexT , int MAXIDS = 14>
using axom::bump::MapBasedNaming< IndexT, MAXIDS >::View::KeyType = MapBasedNaming::KeyType

Member Function Documentation

◆ makeName()

template<typename IndexT , int MAXIDS = 14>
AXOM_HOST_DEVICE KeyType axom::bump::MapBasedNaming< IndexT, MAXIDS >::View::makeName ( const IndexType p,
int  n 
) const
inline

Make a name from an array of ids.

Parameters
pThe array of ids.
nThe number of ids in the array.
Returns
The name that describes the array of ids.

References axom::bump::MapBasedNaming< IndexT, MAXIDS >::View::m_map_ptr.

◆ setMaxId()

template<typename IndexT , int MAXIDS = 14>
AXOM_HOST_DEVICE void axom::bump::MapBasedNaming< IndexT, MAXIDS >::View::setMaxId ( IndexType  )
inline

Set the max number of nodes.

Member Data Documentation

◆ m_map_ptr

template<typename IndexT , int MAXIDS = 14>
MapType* axom::bump::MapBasedNaming< IndexT, MAXIDS >::View::m_map_ptr {nullptr}

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