|
| | GeometryShop (F f) |
| | Construct a GeometryShop that owns an implicit function f.
|
| |
| | GeometryShop (F f, R r) |
| | Construct a GeometryShop with an implicit function and resource handle.
|
| |
| F const & | GetImpFunc () const & |
| | Immutable access to the underlying implicit function.
|
| |
| F && | GetImpFunc () && |
| |
| int | getBoxType_Cpu (const Box &bx, Geometry const &geom) const noexcept |
| |
| template<class U = F, std::enable_if_t< IsGPUable< U >::value > * FOO = nullptr> |
| int | getBoxType (const Box &bx, const Geometry &geom, RunOn run_on) const noexcept |
| | Classify bx as regular, covered, or mixed (GPU-capable case).
|
| |
| template<class U = F, std::enable_if_t<!IsGPUable< U >::value > * BAR = nullptr> |
| int | getBoxType (const Box &bx, const Geometry &geom, RunOn) const noexcept |
| | CPU-only fallback for getBoxType().
|
| |
| template<class U = F, std::enable_if_t< IsGPUable< U >::value > * FOO = nullptr> |
| void | fillFab (BaseFab< Real > &levelset, const Geometry &geom, RunOn run_on, Box const &bounding_box) const noexcept |
| | Fill a level-set FAB by sampling the implicit function on each point in the FAB.
|
| |
| template<class U = F, std::enable_if_t<!IsGPUable< U >::value > * BAR = nullptr> |
| void | fillFab (BaseFab< Real > &levelset, const Geometry &geom, RunOn, Box const &bounding_box) const noexcept |
| | CPU-only overload of fillFab().
|
| |
| void | fillFab_Cpu (BaseFab< Real > &levelset, const Geometry &geom, Box const &bounding_box) const noexcept |
| |
| template<class U = F, std::enable_if_t< IsGPUable< U >::value > * FOO = nullptr> |
| void | getIntercept (Array< Array4< Real >, 3 > const &inter_arr, Array< Array4< Type_t const >, 3 > const &type_arr, Array4< Real const > const &, Geometry const &geom, RunOn run_on, Box const &bounding_box) const noexcept |
| | Compute EB intercepts for irregular edges (GPU-capable case).
|
| |
| template<class U = F, std::enable_if_t<!IsGPUable< U >::value > * BAR = nullptr> |
| void | getIntercept (Array< Array4< Real >, 3 > const &inter_arr, Array< Array4< Type_t const >, 3 > const &type_arr, Array4< Real const > const &, Geometry const &geom, RunOn, Box const &bounding_box) const noexcept |
| | CPU-only overload of getIntercept().
|
| |
| void | getIntercept_Cpu (Array4< Real > const &inter, Array4< Type_t const > const &type, Geometry const &geom, Box const &bounding_box, const int idim) const noexcept |
| |
| void | updateIntercept (Array< Array4< Real >, 3 > const &inter_arr, Array< Array4< Type_t const >, 3 > const &type_arr, Array4< Real const > const &lst, Geometry const &geom) const noexcept |
| | Update intercepts when level-set data has been adjusted (e.g., fixing small cells).
|
| |
template<class
F, class R = int>
class amrex::EB2::GeometryShop< F, R >
Samples an implicit function on boxes and fills EB data.
- Template Parameters
-
| F | Functor providing the implicit function value. |
| R | Optional resource handle kept alive as long as the shop exists. |