#include <AMReX_PhysBCFunct.H>
Public Member Functions | |
GpuBndryFuncFab ()=default | |
GpuBndryFuncFab (F const &a_f) | |
GpuBndryFuncFab (F &&a_f) | |
void | operator() (Box const &bx, FArrayBox &dest, int dcomp, int numcomp, Geometry const &geom, Real time, const Vector< BCRec > &bcr, int bcomp, int orig_comp) |
template<class FF > | |
void | ccfcdoit (Box const &bx, FArrayBox &dest, int dcomp, int numcomp, Geometry const &geom, Real time, const Vector< BCRec > &bcr, int bcomp, int orig_comp, FF const &fillfunc) |
void | nddoit (Box const &bx, FArrayBox &dest, int dcomp, int numcomp, Geometry const &geom, Real time, const Vector< BCRec > &bcr, int bcomp, int orig_comp) |
Protected Attributes | |
F | m_user_f |
In this gpu version, F is provided by the user. It needs to have a device operator() that can work on a cell/node for boundaries not handled by amrex::fab_filcc/fab_filnd.
|
default |
|
inline |
|
inline |
void amrex::GpuBndryFuncFab< F >::ccfcdoit | ( | Box const & | bx, |
FArrayBox & | dest, | ||
int | dcomp, | ||
int | numcomp, | ||
Geometry const & | geom, | ||
Real | time, | ||
const Vector< BCRec > & | bcr, | ||
int | bcomp, | ||
int | orig_comp, | ||
FF const & | fillfunc | ||
) |
void amrex::GpuBndryFuncFab< F >::nddoit | ( | Box const & | bx, |
FArrayBox & | dest, | ||
int | dcomp, | ||
int | numcomp, | ||
Geometry const & | geom, | ||
Real | time, | ||
const Vector< BCRec > & | bcr, | ||
int | bcomp, | ||
int | orig_comp | ||
) |
void amrex::GpuBndryFuncFab< F >::operator() | ( | Box const & | bx, |
FArrayBox & | dest, | ||
int | dcomp, | ||
int | numcomp, | ||
Geometry const & | geom, | ||
Real | time, | ||
const Vector< BCRec > & | bcr, | ||
int | bcomp, | ||
int | orig_comp | ||
) |
|
protected |