AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
#include "axom/config.hpp"
#include "axom/core/Types.hpp"
#include "axom/core/Macros.hpp"
#include "axom/primal/geometry/Point.hpp"
#include <type_traits>
#include <limits>
Namespaces | |
axom | |
axom::spin | |
Functions | |
template<typename MortonIndexType , typename CoordType , int DIM> | |
AXOM_HOST_DEVICE MortonIndexType | axom::spin::convertPointToMorton (const primal::Point< CoordType, DIM > &pt) |
A helper function to convert a point directly to a MortonIndex. More... | |
template<typename CoordType , int DIM, typename MortonIndexType > | |
primal::Point< CoordType, DIM > | axom::spin::convertMortonToPoint (MortonIndexType idx) |
A helper function to convert a MortonIndex back to a point. More... | |