33#ifndef PECLET_CORE_SCHEME_CUT_CELL_CLOSURE_HPP
34#define PECLET_CORE_SCHEME_CUT_CELL_CLOSURE_HPP
36#ifdef KOKKOS_INLINE_FUNCTION
37#define PECLET_CORE_CC_HD KOKKOS_INLINE_FUNCTION
39#define PECLET_CORE_CC_HD inline
47 return xi * (
Real(1) + xi);
51 return xi * (
Real(1) - xi);
55 return Real(2) * (xi * xi -
Real(1));
104 return (xi_m +
Real(1)) * (xi_p -
Real(1));
108 return (xi_m / (xi_m + xi_p)) * (
Real(1) + xi_m);
112 return (xi_p / (xi_m + xi_p)) * (
Real(1) - xi_p);
116 return xi_m * xi_p -
Real(1) /
Real(12);
124 return (xi_m / (xi_m + xi_p)) * (
Real(1) + xi_m) -
Real(1) /
Real(12);
128 return (xi_p / (xi_m + xi_p)) * (
Real(1) - xi_p) +
Real(1) /
Real(12);
#define PECLET_CORE_CC_HD
PECLET_CORE_CC_HD Real poly_D_sandwich_avg(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_D(Real xi)
PECLET_CORE_CC_HD Real poly_Nc_avg(Real xi)
PECLET_CORE_CC_HD Real poly_Nbc(Real)
PECLET_CORE_CC_HD Real poly_Nbc_pp_sw(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_N_c_sandwich_avg(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_N_c_sandwich(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_Nnb_avg(Real xi)
PECLET_CORE_CC_HD Real poly_D_sandwich(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_Nbc_mp_sw_avg(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_Nbc_avg(Real)
PECLET_CORE_CC_HD Real poly_D_slip(Real xi, Real lam)
PECLET_CORE_CC_HD Real poly_Nbc_pp_sw_avg(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_N_nb_slip(Real xi, Real lam)
PECLET_CORE_CC_HD Real poly_Nc(Real xi)
PECLET_CORE_CC_HD Real poly_D_avg(Real xi)
PECLET_CORE_CC_HD Real poly_Nbc_mp_sw(Real xi_m, Real xi_p)
PECLET_CORE_CC_HD Real poly_Nc_slip(Real xi, Real lam)
PECLET_CORE_CC_HD Real poly_N_nb(Real xi)
double Real
Default host floating type. Device kernels may use float; conversions happen at the boundary.