Block-Structured AMR Software Framework
AMReX_EB_Slopes_3D_K.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Slopes_K.H>
#include <AMReX_EBFArrayBox.H>
#include <AMReX_EBCellFlag.H>

Go to the source code of this file.

Functions

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_eb_given_A (int i, int j, int k, int n, amrex::Real A[27][AMREX_SPACEDIM], amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::EBCellFlag const > const &flag) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_eb_given_A_grown (int i, int j, int k, int n, int nx, int ny, int nz, amrex::Real A[125][AMREX_SPACEDIM], amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::EBCellFlag const > const &flag) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex_overwrite_with_regular_slopes (int i, int j, int k, int n, amrex::Real &xslope, amrex::Real &yslope, amrex::Real &zslope, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &vfrac, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_eb (int i, int j, int k, int n, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::EBCellFlag const > const &flag, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_eb_grown (int i, int j, int k, int n, int nx, int ny, int nz, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::EBCellFlag const > const &flag, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex_overwrite_with_regular_slopes_extdir (int i, int j, int k, int n, amrex::Real &xslope, amrex::Real &yslope, amrex::Real &zslope, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &vfrac, bool edlo_x, bool edlo_y, bool edlo_z, bool edhi_x, bool edhi_y, bool edhi_z, int domlo_x, int domlo_y, int domlo_z, int domhi_x, int domhi_y, int domhi_z, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_extdir_eb (int i, int j, int k, int n, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz, amrex::Array4< amrex::EBCellFlag const > const &flag, bool edlo_x, bool edlo_y, bool edlo_z, bool edhi_x, bool edhi_y, bool edhi_z, int domlo_x, int domlo_y, int domlo_z, int domhi_x, int domhi_y, int domhi_z, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_slopes_extdir_eb_grown (int i, int j, int k, int n, int nx, int ny, int nz, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz, amrex::Array4< amrex::EBCellFlag const > const &flag, bool edlo_x, bool edlo_y, bool edlo_z, bool edhi_x, bool edhi_y, bool edhi_z, int domlo_x, int domlo_y, int domlo_z, int domhi_x, int domhi_y, int domhi_z, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real amrex_calc_alpha_stencil (amrex::Real q_hat, amrex::Real q_max, amrex::Real q_min, amrex::Real state, amrex::Real alpha) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_calc_alpha_limiter (int i, int j, int k, int n, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::EBCellFlag const > const &flag, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &slopes, amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz, amrex::Array4< amrex::Real const > const &ccent) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_lim_slopes_eb (int i, int j, int k, int n, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz, amrex::Array4< amrex::EBCellFlag const > const &flag, int max_order) noexcept
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > amrex_lim_slopes_extdir_eb (int i, int j, int k, int n, amrex::Array4< amrex::Real const > const &state, amrex::Array4< amrex::Real const > const &ccent, amrex::Array4< amrex::Real const > const &vfrac, amrex::Array4< amrex::Real const > const &fcx, amrex::Array4< amrex::Real const > const &fcy, amrex::Array4< amrex::Real const > const &fcz, amrex::Array4< amrex::EBCellFlag const > const &flag, bool edlo_x, bool edlo_y, bool edlo_z, bool edhi_x, bool edhi_y, bool edhi_z, int domlo_x, int domlo_y, int domlo_z, int domhi_x, int domhi_y, int domhi_z, int max_order) noexcept
 

Function Documentation

◆ amrex_calc_alpha_limiter()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_alpha_limiter ( int  i,
int  j,
int  k,
int  n,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &  slopes,
amrex::Array4< amrex::Real const > const &  fcx,
amrex::Array4< amrex::Real const > const &  fcy,
amrex::Array4< amrex::Real const > const &  fcz,
amrex::Array4< amrex::Real const > const &  ccent 
)
noexcept

◆ amrex_calc_alpha_stencil()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real amrex_calc_alpha_stencil ( amrex::Real  q_hat,
amrex::Real  q_max,
amrex::Real  q_min,
amrex::Real  state,
amrex::Real  alpha 
)
noexcept

◆ amrex_calc_slopes_eb()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_eb ( int  i,
int  j,
int  k,
int  n,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
int  max_order 
)
noexcept

◆ amrex_calc_slopes_eb_given_A()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_eb_given_A ( int  i,
int  j,
int  k,
int  n,
amrex::Real  A[27][AMREX_SPACEDIM],
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::EBCellFlag const > const &  flag 
)
noexcept

◆ amrex_calc_slopes_eb_given_A_grown()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_eb_given_A_grown ( int  i,
int  j,
int  k,
int  n,
int  nx,
int  ny,
int  nz,
amrex::Real  A[125][AMREX_SPACEDIM],
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::EBCellFlag const > const &  flag 
)
noexcept

◆ amrex_calc_slopes_eb_grown()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_eb_grown ( int  i,
int  j,
int  k,
int  n,
int  nx,
int  ny,
int  nz,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
int  max_order 
)
noexcept

◆ amrex_calc_slopes_extdir_eb()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_extdir_eb ( int  i,
int  j,
int  k,
int  n,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::Real const > const &  fcx,
amrex::Array4< amrex::Real const > const &  fcy,
amrex::Array4< amrex::Real const > const &  fcz,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
bool  edlo_x,
bool  edlo_y,
bool  edlo_z,
bool  edhi_x,
bool  edhi_y,
bool  edhi_z,
int  domlo_x,
int  domlo_y,
int  domlo_z,
int  domhi_x,
int  domhi_y,
int  domhi_z,
int  max_order 
)
noexcept

◆ amrex_calc_slopes_extdir_eb_grown()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_calc_slopes_extdir_eb_grown ( int  i,
int  j,
int  k,
int  n,
int  nx,
int  ny,
int  nz,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::Real const > const &  fcx,
amrex::Array4< amrex::Real const > const &  fcy,
amrex::Array4< amrex::Real const > const &  fcz,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
bool  edlo_x,
bool  edlo_y,
bool  edlo_z,
bool  edhi_x,
bool  edhi_y,
bool  edhi_z,
int  domlo_x,
int  domlo_y,
int  domlo_z,
int  domhi_x,
int  domhi_y,
int  domhi_z,
int  max_order 
)
noexcept

◆ amrex_lim_slopes_eb()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_lim_slopes_eb ( int  i,
int  j,
int  k,
int  n,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::Real const > const &  fcx,
amrex::Array4< amrex::Real const > const &  fcy,
amrex::Array4< amrex::Real const > const &  fcz,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
int  max_order 
)
noexcept

◆ amrex_lim_slopes_extdir_eb()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::GpuArray<amrex::Real,AMREX_SPACEDIM> amrex_lim_slopes_extdir_eb ( int  i,
int  j,
int  k,
int  n,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  ccent,
amrex::Array4< amrex::Real const > const &  vfrac,
amrex::Array4< amrex::Real const > const &  fcx,
amrex::Array4< amrex::Real const > const &  fcy,
amrex::Array4< amrex::Real const > const &  fcz,
amrex::Array4< amrex::EBCellFlag const > const &  flag,
bool  edlo_x,
bool  edlo_y,
bool  edlo_z,
bool  edhi_x,
bool  edhi_y,
bool  edhi_z,
int  domlo_x,
int  domlo_y,
int  domlo_z,
int  domhi_x,
int  domhi_y,
int  domhi_z,
int  max_order 
)
noexcept

◆ amrex_overwrite_with_regular_slopes()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex_overwrite_with_regular_slopes ( int  i,
int  j,
int  k,
int  n,
amrex::Real &  xslope,
amrex::Real &  yslope,
amrex::Real &  zslope,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  vfrac,
int  max_order 
)
noexcept

◆ amrex_overwrite_with_regular_slopes_extdir()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE void amrex_overwrite_with_regular_slopes_extdir ( int  i,
int  j,
int  k,
int  n,
amrex::Real &  xslope,
amrex::Real &  yslope,
amrex::Real &  zslope,
amrex::Array4< amrex::Real const > const &  state,
amrex::Array4< amrex::Real const > const &  vfrac,
bool  edlo_x,
bool  edlo_y,
bool  edlo_z,
bool  edhi_x,
bool  edhi_y,
bool  edhi_z,
int  domlo_x,
int  domlo_y,
int  domlo_z,
int  domhi_x,
int  domhi_y,
int  domhi_z,
int  max_order 
)
noexcept