A view for making names, suitable for use in device code.
More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/HashNaming.hpp>
template<typename IndexT, int MAXIDS = 14>
class axom::bump::HashNaming< IndexT, MAXIDS >::View
A view for making names, suitable for use in device code.
◆ KeyType
template<typename IndexT , int MAXIDS = 14>
◆ makeName()
template<typename IndexT , int MAXIDS = 14>
Make a name from an array of ids.
- Parameters
-
| p | The array of ids. |
| n | The number of ids in the array. |
- Returns
- The name that describes the array of ids.
- Note
- Different make_name_* functions are used because we can skip most sorting for 1,2 element arrays. Also, there is a small benefit to some of the other shortcuts for smaller arrays.
◆ setMaxId()
template<typename IndexT , int MAXIDS = 14>
Set the max number of nodes, which can be useful for packing/narrowing.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/bump/HashNaming.hpp