AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
MapBuilders.hpp File Reference

Construction helpers for SLAM maps that deduce a full policy stack from a set, stride, and backing buffer. More...

Namespaces

 axom
 
 axom::slam
 
 axom::slam::detail
 

Functions

template<typename SetType , typename PosType >
axom::IndexType axom::slam::detail::map_storage_size (const SetType *set, PosType stride)
 
template<typename SetType , typename T , typename PosType >
void axom::slam::detail::check_map_view_size (const SetType *set, PosType stride, const axom::ArrayView< T > &AXOM_DEBUG_PARAM(data))
 Debug-only check that an ArrayView backing a map is correctly sized. More...
 
template<typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map (const SetType *set, PosType stride, axom::ArrayView< T > data)
 Make a strided SLAM map backed by ArrayView storage. More...
 
template<typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map (const SetType *set, axom::ArrayView< T > data)
 Make a stride-one SLAM map backed by ArrayView storage. More...
 
template<typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map (const SetType *set, PosType stride, T *data)
 Make a strided SLAM map backed by a raw pointer buffer. More...
 
template<typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map (const SetType *set, T *data)
 Make a stride-one SLAM map backed by a raw pointer buffer. More...
 
template<int STRIDE, typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map_ct (const SetType *set, axom::ArrayView< T > data)
 Make a compile-time strided SLAM map backed by ArrayView storage. More...
 
template<int STRIDE, typename SetType , typename T , typename PosType = typename SetType::PositionType>
auto axom::slam::make_map_ct (const SetType *set, T *data)
 Make a compile-time strided SLAM map backed by a raw pointer buffer. More...
 

Detailed Description

Construction helpers for SLAM maps that deduce a full policy stack from a set, stride, and backing buffer.