AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::slam::policies::NoIndirection< PositionType, ElementType > Struct Template Reference

A policy class for sets with no indirection. More...

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/develop/src/axom/slam/policies/IndirectionPolicies.hpp>

Inheritance diagram for axom::slam::policies::NoIndirection< PositionType, ElementType >:

Public Types

using IndirectionResult = ElementType
 
using ConstIndirectionResult = const ElementType
 
using IndirectionBufferType = struct { }
 
using IndirectionPtrType = IndirectionBufferType *
 

Public Member Functions

AXOM_HOST_DEVICE NoIndirection ()
 
 NoIndirection (IndirectionBufferType *)
 
AXOM_HOST_DEVICE IndirectionResult indirection (PositionType pos) const
 
AXOM_HOST_DEVICE IndirectionResult operator() (PositionType pos) const
 
AXOM_HOST_DEVICE IndirectionBufferTypeptr ()
 
bool hasIndirection () const
 
bool isValid (PositionType, PositionType, PositionType, bool) const
 

Static Public Attributes

static constexpr bool DeviceAccessible = true
 

Detailed Description

template<typename PositionType, typename ElementType>
struct axom::slam::policies::NoIndirection< PositionType, ElementType >

A policy class for sets with no indirection.

Member Typedef Documentation

◆ IndirectionResult

template<typename PositionType , typename ElementType >
using axom::slam::policies::NoIndirection< PositionType, ElementType >::IndirectionResult = ElementType

◆ ConstIndirectionResult

template<typename PositionType , typename ElementType >
using axom::slam::policies::NoIndirection< PositionType, ElementType >::ConstIndirectionResult = const ElementType

◆ IndirectionBufferType

template<typename PositionType , typename ElementType >
using axom::slam::policies::NoIndirection< PositionType, ElementType >::IndirectionBufferType = struct { }

◆ IndirectionPtrType

template<typename PositionType , typename ElementType >
using axom::slam::policies::NoIndirection< PositionType, ElementType >::IndirectionPtrType = IndirectionBufferType*

Constructor & Destructor Documentation

◆ NoIndirection() [1/2]

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE axom::slam::policies::NoIndirection< PositionType, ElementType >::NoIndirection ( )
inline

◆ NoIndirection() [2/2]

template<typename PositionType , typename ElementType >
axom::slam::policies::NoIndirection< PositionType, ElementType >::NoIndirection ( IndirectionBufferType )
inline

Member Function Documentation

◆ indirection()

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionResult axom::slam::policies::NoIndirection< PositionType, ElementType >::indirection ( PositionType  pos) const
inline

◆ operator()()

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionResult axom::slam::policies::NoIndirection< PositionType, ElementType >::operator() ( PositionType  pos) const
inline

◆ ptr()

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionBufferType* axom::slam::policies::NoIndirection< PositionType, ElementType >::ptr ( )
inline

◆ hasIndirection()

template<typename PositionType , typename ElementType >
bool axom::slam::policies::NoIndirection< PositionType, ElementType >::hasIndirection ( ) const
inline

◆ isValid()

template<typename PositionType , typename ElementType >
bool axom::slam::policies::NoIndirection< PositionType, ElementType >::isValid ( PositionType  ,
PositionType  ,
PositionType  ,
bool   
) const
inline

Member Data Documentation

◆ DeviceAccessible

template<typename PositionType , typename ElementType >
constexpr bool axom::slam::policies::NoIndirection< PositionType, ElementType >::DeviceAccessible = true
staticconstexpr

The documentation for this struct was generated from the following file: