![]() |
Block-Structured AMR Software Framework
|
Wrapper that forwards operator() calls to an implicit function pointer. More...
#include <AMReX_EB2_IF_DevicePtr.H>
Public Member Functions | |
| DevicePtrIF (T *a_p) | |
| Store the pointer that owns the actual implicit-function operator. | |
| AMREX_GPU_HOST_DEVICE Real | operator() (AMREX_D_DECL(Real x, Real y, Real z)) const noexcept |
| Device-friendly overload dispatching to the pointee. | |
| Real | operator() (const RealArray &a) const noexcept |
| Array-based helper overload. | |
Protected Attributes | |
| T * | p = nullptr |
Wrapper that forwards operator() calls to an implicit function pointer.
|
inline |
Store the pointer that owns the actual implicit-function operator.
|
inlinenoexcept |
Device-friendly overload dispatching to the pointee.
|
inlinenoexcept |
Array-based helper overload.
|
protected |