ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_Advection.H>
Functions | |
void | AdvectionSrcForOpenBC_Normal (const Box &bx, const int &dir, const Array4< Real > &rhs_arr, const Array4< const Real > &vel_norm_arr, const Array4< const Real > &cell_data_arr, const GpuArray< Real, AMREX_SPACEDIM > &dxInv, const bool do_lo) |
void | AdvectionSrcForOpenBC_Tangent_Xmom (const Box &bxx, const int &dir, const Array4< Real > &rho_u_rhs, const Array4< const Real > &u, const Array4< const Real > &rho_u, const Array4< const Real > &rho_v, const Array4< const Real > &Omega, const Array4< const Real > &ax, const Array4< const Real > &az, const Array4< const Real > &detJ, const GpuArray< Real, AMREX_SPACEDIM > &cellSizeInv, const bool do_lo) |
void | AdvectionSrcForOpenBC_Tangent_Ymom (const Box &bxy, const int &dir, const Array4< Real > &rho_v_rhs, const Array4< const Real > &v, const Array4< const Real > &rho_u, const Array4< const Real > &rho_v, const Array4< const Real > &Omega, const Array4< const Real > &ay, const Array4< const Real > &az, const Array4< const Real > &detJ, const GpuArray< Real, AMREX_SPACEDIM > &cellSizeInv, const bool do_lo) |
void | AdvectionSrcForOpenBC_Tangent_Zmom (const Box &bxz, const int &dir, const Array4< Real > &rho_w_rhs, const Array4< const Real > &w, const Array4< const Real > &rho_u, const Array4< const Real > &rho_v, const Array4< const Real > &Omega, const Array4< const Real > &ax, const Array4< const Real > &ay, const Array4< const Real > &az, const Array4< const Real > &detJ, const GpuArray< Real, AMREX_SPACEDIM > &cellSizeInv, const int domhi_z, const bool do_lo) |
void | AdvectionSrcForOpenBC_Tangent_Cons (const Box &bx, const int &dir, const int &icomp, const int &ncomp, const Array4< Real > &cell_rhs, const Array4< const Real > &cell_prim, const Array4< const Real > &avg_xmom, const Array4< const Real > &avg_ymom, const Array4< const Real > &avg_zmom, const Array4< const Real > &detJ, const GpuArray< Real, AMREX_SPACEDIM > &cellSizeInv, const bool do_lo) |
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Real | AdvectionSrcForOpenBC_Tangent (const int &i, const int &j, const int &k, const int &nprim, const int &dir, const Array4< const Real > &prim_tang_arr, const Array4< const Real > &mom_norm_arr, const Real &dxInv, const bool do_lo) |
void AdvectionSrcForOpenBC_Normal | ( | const Box & | bx, |
const int & | dir, | ||
const Array4< Real > & | rhs_arr, | ||
const Array4< const Real > & | vel_norm_arr, | ||
const Array4< const Real > & | cell_data_arr, | ||
const GpuArray< Real, AMREX_SPACEDIM > & | dxInv, | ||
const bool | do_lo | ||
) |
Compute advection tendencies for momentum normal to BC
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Real AdvectionSrcForOpenBC_Tangent | ( | const int & | i, |
const int & | j, | ||
const int & | k, | ||
const int & | nprim, | ||
const int & | dir, | ||
const Array4< const Real > & | prim_tang_arr, | ||
const Array4< const Real > & | mom_norm_arr, | ||
const Real & | dxInv, | ||
const bool | do_lo | ||
) |
Referenced by AdvectionSrcForOpenBC_Tangent_Cons(), AdvectionSrcForOpenBC_Tangent_Xmom(), AdvectionSrcForOpenBC_Tangent_Ymom(), and AdvectionSrcForOpenBC_Tangent_Zmom().
void AdvectionSrcForOpenBC_Tangent_Cons | ( | const Box & | bx, |
const int & | dir, | ||
const int & | icomp, | ||
const int & | ncomp, | ||
const Array4< Real > & | cell_rhs, | ||
const Array4< const Real > & | cell_prim, | ||
const Array4< const Real > & | avg_xmom, | ||
const Array4< const Real > & | avg_ymom, | ||
const Array4< const Real > & | avg_zmom, | ||
const Array4< const Real > & | detJ, | ||
const GpuArray< Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const bool | do_lo | ||
) |
Compute advection tendencies for x momentum tangential to BC (2nd order)
void AdvectionSrcForOpenBC_Tangent_Xmom | ( | const Box & | bxx, |
const int & | dir, | ||
const Array4< Real > & | rho_u_rhs, | ||
const Array4< const Real > & | u, | ||
const Array4< const Real > & | rho_u, | ||
const Array4< const Real > & | rho_v, | ||
const Array4< const Real > & | Omega, | ||
const Array4< const Real > & | ax, | ||
const Array4< const Real > & | az, | ||
const Array4< const Real > & | detJ, | ||
const GpuArray< Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const bool | do_lo | ||
) |
Compute advection tendencies for x momentum tangential to BC (2nd order)
void AdvectionSrcForOpenBC_Tangent_Ymom | ( | const Box & | bxy, |
const int & | dir, | ||
const Array4< Real > & | rho_v_rhs, | ||
const Array4< const Real > & | v, | ||
const Array4< const Real > & | rho_u, | ||
const Array4< const Real > & | rho_v, | ||
const Array4< const Real > & | Omega, | ||
const Array4< const Real > & | ay, | ||
const Array4< const Real > & | az, | ||
const Array4< const Real > & | detJ, | ||
const GpuArray< Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const bool | do_lo | ||
) |
Compute advection tendencies for x momentum tangential to BC (2nd order)
void AdvectionSrcForOpenBC_Tangent_Zmom | ( | const Box & | bxz, |
const int & | dir, | ||
const Array4< Real > & | rho_w_rhs, | ||
const Array4< const Real > & | w, | ||
const Array4< const Real > & | rho_u, | ||
const Array4< const Real > & | rho_v, | ||
const Array4< const Real > & | Omega, | ||
const Array4< const Real > & | ax, | ||
const Array4< const Real > & | ay, | ||
const Array4< const Real > & | az, | ||
const Array4< const Real > & | detJ, | ||
const GpuArray< Real, AMREX_SPACEDIM > & | cellSizeInv, | ||
const int | domhi_z, | ||
const bool | do_lo | ||
) |
Compute advection tendencies for x momentum tangential to BC (2nd order)