AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
MortonIndex.hpp File Reference
#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>

Classes

struct  axom::spin::MortonBase< CoordType, MortonIndexType, Derived >
 
struct  axom::spin::Mortonizer< CoordType, MortonIndexType, 2 >
 
struct  axom::spin::Mortonizer< CoordType, MortonIndexType, 3 >
 
struct  axom::spin::PointHash< CoordType >
 

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...