![]() |
Block-Structured AMR Software Framework
|
#include <AMReX_StateDescriptor.H>
Public Member Functions | |
| BndryFunc () noexcept=default | |
| Bogus constructor. | |
| BndryFunc (BndryFuncDefault inFunc) noexcept | |
Construct from a scalar boundary-fill callback inFunc. | |
| BndryFunc (BndryFunc3DDefault inFunc) noexcept | |
Construct from a 3-D boundary-fill callback inFunc. | |
| BndryFunc (BndryFuncFabDefault inFunc) noexcept | |
Construct from a FAB-aware functor inFunc. | |
| BndryFunc (BndryFuncDefault inFunc, BndryFuncDefault gFunc) noexcept | |
| Constructor that installs both regular and group boundary callbacks. | |
| BndryFunc (BndryFunc3DDefault inFunc, BndryFunc3DDefault gFunc) noexcept | |
3D counterpart installing per-cell function inFunc and group function gFunc. | |
| void | operator() (Real *data, const int *lo, const int *hi, const int *dom_lo, const int *dom_hi, const Real *dx, const Real *grd_lo, const Real *time, const int *bc) const |
| Fill boundary cells using the "regular" scalar function pointer. | |
| void | operator() (Real *data, const int *lo, const int *hi, const int *dom_lo, const int *dom_hi, const Real *dx, const Real *grd_lo, const Real *time, const int *bc, int ng) const |
| Fill boundary cells using the "group" function (supports grown regions). | |
| void | operator() (Box const &bx, FArrayBox &data, int dcomp, int numcomp, Geometry const &geom, Real time, const Vector< BCRec > &bcr, int bcomp, int scomp) const |
FAB-aware overload that operates directly on data over bx at time time. | |
| bool | RunOnGPU () const noexcept |
| void | setRunOnGPU (bool b) noexcept |
| bool | hasFabVersion () const noexcept |
Type of function called by BCRec for user-supplied boundary data.
Class wrapper around BndryFuncDefault.
|
defaultnoexcept |
Bogus constructor.
|
inlinenoexcept |
Construct from a scalar boundary-fill callback inFunc.
| inFunc | Function that fills ghost cells one component at a time. |
|
inlinenoexcept |
Construct from a 3-D boundary-fill callback inFunc.
| inFunc | Function that fills ghost cells using 3-D array arguments. |
|
inlinenoexcept |
Construct from a FAB-aware functor inFunc.
| inFunc | Callable that operates directly on FArrayBox data. |
|
inlinenoexcept |
Constructor that installs both regular and group boundary callbacks.
| inFunc | Function used for per-cell BC fills. |
| gFunc | Function used when treating grown regions as a whole. |
|
inlinenoexcept |
3D counterpart installing per-cell function inFunc and group function gFunc.
|
inlinenoexcept |
| void amrex::StateDescriptor::BndryFunc::operator() | ( | Box const & | bx, |
| FArrayBox & | data, | ||
| int | dcomp, | ||
| int | numcomp, | ||
| Geometry const & | geom, | ||
| Real | time, | ||
| const Vector< BCRec > & | bcr, | ||
| int | bcomp, | ||
| int | scomp | ||
| ) | const |
FAB-aware overload that operates directly on data over bx at time time.
| bx | Region to fill. |
| data | FAB storing the components. |
| dcomp | Destination component offset in data. |
| numcomp | Number of components to update. |
| geom | Geometry describing the level. |
| time | Physical time at which BCs are evaluated. |
| bcr | Array of BCRecs (one per component). |
| bcomp | Starting component offset into bcr. |
| scomp | Source component offset when referencing BC metadata. |
| void amrex::StateDescriptor::BndryFunc::operator() | ( | Real * | data, |
| const int * | lo, | ||
| const int * | hi, | ||
| const int * | dom_lo, | ||
| const int * | dom_hi, | ||
| const Real * | dx, | ||
| const Real * | grd_lo, | ||
| const Real * | time, | ||
| const int * | bc | ||
| ) | const |
Fill boundary cells using the "regular" scalar function pointer.
| data | Pointer to the raw FAB data. |
| lo | Lower bounds of the region being filled. |
| hi | Upper bounds of the region being filled. |
| dom_lo | Lower bounds of the domain. |
| dom_hi | Upper bounds of the domain. |
| dx | Cell spacing array. |
| grd_lo | Index-space location of the owning grid. |
| time | Physical time (as an array for compatibility). |
| bc | Encoded boundary condition types. |
| void amrex::StateDescriptor::BndryFunc::operator() | ( | Real * | data, |
| const int * | lo, | ||
| const int * | hi, | ||
| const int * | dom_lo, | ||
| const int * | dom_hi, | ||
| const Real * | dx, | ||
| const Real * | grd_lo, | ||
| const Real * | time, | ||
| const int * | bc, | ||
| int | ng | ||
| ) | const |
Fill boundary cells using the "group" function (supports grown regions).
| data | Pointer to the raw FAB data. |
| lo | Lower bounds of the region being filled. |
| hi | Upper bounds of the region being filled. |
| dom_lo | Lower bounds of the domain. |
| dom_hi | Upper bounds of the domain. |
| dx | Cell spacing array. |
| grd_lo | Index-space location of the owning grid. |
| time | Physical time (as an array for compatibility). |
| bc | Encoded boundary condition types. |
| ng | Number of ghost cells to treat as a group. |
|
inlinenoexcept |
|
inlinenoexcept |