MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
hilbert.h File Reference

Go to the source code of this file.

Classes

struct  maia::grid::hilbert::detail_::Impl< 2, FloatType, IdType >
 
struct  maia::grid::hilbert::detail_::Impl< 3, FloatType, IdType >
 

Namespaces

namespace  maia
 Namespace for auxiliary functions/classes.
 
namespace  maia::grid
 
namespace  maia::grid::hilbert
 
namespace  maia::grid::hilbert::detail_
 

Functions

template<MInt nDim, typename FloatType , typename IdType >
IdType maia::grid::hilbert::index (const FloatType *const x, const IdType level)
 Return Hilbert index for given location and level in 2D or 3D. More...
 
template<MInt nDim, typename FloatType , typename IdType >
MBool maia::grid::hilbert::coordinatesToTreeId (IdType &treeId, const FloatType *const x, const IdType level, const FloatType *const centerOfGravity, FloatType const lengthOnLevel0)
 
template<MInt nDim, typename FloatType , typename IdType >
void maia::grid::hilbert::treeIdToCoordinates (FloatType *const x, const IdType treeId, const IdType level, const FloatType *const centerOfGravity, const FloatType lengthOnLevel0)