WarpX
Loading...
Searching...
No Matches
DistanceToEB Namespace Reference

Functions

AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::Real dot_product (const amrex::RealVect &a, const amrex::RealVect &b) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_INLINE void normalize (amrex::RealVect &a) noexcept
 
AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::RealVect interp_normal (int i, int j, int k, const amrex::Real W[3][2], int ic, int jc, int kc, const amrex::Real Wc[3][2], amrex::Array4< const amrex::Real > const &phi, amrex::GpuArray< amrex::Real, 3 > const &dxi) noexcept
 

Function Documentation

◆ dot_product()

AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::Real DistanceToEB::dot_product ( const amrex::RealVect & a,
const amrex::RealVect & b )
noexcept

◆ interp_normal()

AMREX_GPU_HOST_DEVICE AMREX_INLINE amrex::RealVect DistanceToEB::interp_normal ( int i,
int j,
int k,
const amrex::Real W[3][2],
int ic,
int jc,
int kc,
const amrex::Real Wc[3][2],
amrex::Array4< const amrex::Real > const & phi,
amrex::GpuArray< amrex::Real, 3 > const & dxi )
noexcept

◆ normalize()

AMREX_GPU_HOST_DEVICE AMREX_INLINE void DistanceToEB::normalize ( amrex::RealVect & a)
noexcept