Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_EB2_GeometryShop.H File Reference
#include <AMReX_Config.H>
#include <AMReX_EB2_IF_Base.H>
#include <AMReX_EB2_Graph.H>
#include <AMReX_Geometry.H>
#include <AMReX_BaseFab.H>
#include <AMReX_Print.H>
#include <AMReX_Array.H>
#include <memory>
#include <type_traits>
#include <cmath>
#include <limits>
#include <utility>

Go to the source code of this file.

Classes

class  amrex::EB2::GeometryShop< F, R >
 Samples an implicit function on boxes and fills EB data. More...

Namespaces

namespace  amrex
namespace  amrex::EB2

Functions

template<class F>
requires (IsGPUable<F>::value)
__host__ __device__ Real amrex::EB2::IF_f (F const &f, GpuArray< Real, 3 > const &p) noexcept
template<class F>
requires (!IsGPUable<F>::value)
__host__ __device__ Real amrex::EB2::IF_f (F const &f, GpuArray< Real, 3 > const &p)
template<class F>
__host__ __device__ Real amrex::EB2::BrentRootFinder (GpuArray< Real, 3 > const &lo, GpuArray< Real, 3 > const &hi, int rangedir, F const &f)
__host__ __device__ GpuArray< Real, 8 > amrex::EB2::IF_invdist2 (GpuArray< Real, 3 > const &dx)
__host__ __device__ Real amrex::EB2::IF_size (GpuArray< Real, 3 > const &problo, GpuArray< Real, 3 > const &probhi)
__host__ __device__ Real amrex::EB2::IF_tolmax (Real vmin, Real vmax, GpuArray< Real, 8 > const &invd2, Real size)
template<class F>
__host__ __device__ Real amrex::EB2::IF_roundoff (F const &f, IntVect const &iv, Real fv, Array4< Real const > const &fab, GpuArray< Real, 3 > const &problo, GpuArray< Real, 3 > const &dx, GpuArray< Real, 8 > const &invd2, Real size, IntVect const &blo, IntVect const &bhi)
template<class F>
__host__ __device__ Real amrex::EB2::ZeroEndIntercept (F const &f, IntVect const &ivz, int rangedir, int side, Array4< Real const > const &lst, GpuArray< Real, 3 > const &problo, GpuArray< Real, 3 > const &dx, Real size, IntVect const &blo, IntVect const &bhi)
template<class F>
GeometryShop< std::decay_t< F > > amrex::EB2::makeShop (F &&f)
 Helper that constructs a GeometryShop owning the supplied implicit function.
template<class F, class R>
GeometryShop< std::decay_t< F >, std::decay_t< R > > amrex::EB2::makeShop (F &&f, R &&r)
 Helper that constructs a GeometryShop for an implicit function plus an extra resource handle.