Block-Structured AMR Software Framework
amrex::EB2::DevicePtrIF< T > Class Template Reference

#include <AMReX_EB2_IF_DevicePtr.H>

Inheritance diagram for amrex::EB2::DevicePtrIF< T >:
amrex::GPUable

Public Member Functions

 DevicePtrIF (T *a_p)
 
AMREX_GPU_HOST_DEVICE Real operator() (AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
 
Real operator() (const RealArray &a) const noexcept
 

Protected Attributes

T * p = nullptr
 

Constructor & Destructor Documentation

◆ DevicePtrIF()

template<typename T >
amrex::EB2::DevicePtrIF< T >::DevicePtrIF ( T *  a_p)
inline

Member Function Documentation

◆ operator()() [1/2]

template<typename T >
AMREX_GPU_HOST_DEVICE Real amrex::EB2::DevicePtrIF< T >::operator() ( AMREX_D_DECL(Real x, Real y, Real z)  ) const
inlinenoexcept

◆ operator()() [2/2]

template<typename T >
Real amrex::EB2::DevicePtrIF< T >::operator() ( const RealArray a) const
inlinenoexcept

Member Data Documentation

◆ p

template<typename T >
T* amrex::EB2::DevicePtrIF< T >::p = nullptr
protected

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