24 const amrex::Array4<const amrex::Real>& cell_data,
25 const amrex::Array4<const amrex::Real>& mu_turb,
27 bool l_consA,
bool l_turb)
29 if (l_consA && l_turb) {
31 + cell_data(i,j,k-1,
Rho_comp ) + cell_data(i-ioff,j-joff,k-1,
Rho_comp ) ) * mu_eff
35 + cell_data(i,j,k+1,
Rho_comp ) + cell_data(i-ioff,j-joff,k+1,
Rho_comp ) ) * mu_eff
51 + cell_data(i,j,k-1,
Rho_comp ) + cell_data(i-ioff,j-joff,k-1,
Rho_comp ) ) * mu_eff;
53 + cell_data(i,j,k+1,
Rho_comp ) + cell_data(i-ioff,j-joff,k+1,
Rho_comp ) ) * mu_eff;
83 const amrex::Array4<const amrex::Real>& cell_data,
84 const amrex::Array4<const amrex::Real>& mu_turb,
86 bool l_consA,
bool l_turb)
88 if (l_consA && l_turb) {
89 rhoAlpha_lo = cell_data(i,j,k-1,
Rho_comp) * mu_eff
91 rhoAlpha_hi = cell_data(i,j,k ,
Rho_comp) * mu_eff
101 rhoAlpha_lo = cell_data(i,j,k-1,
Rho_comp) * mu_eff;
102 rhoAlpha_hi = cell_data(i,j,k ,
Rho_comp) * mu_eff;
106 rhoAlpha_lo = mu_eff;
107 rhoAlpha_hi = mu_eff;
constexpr amrex::Real fourth
Definition: ERF_Constants.H:14
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void getRhoAlphaForFaces(int i, int j, int k, int ioff, int joff, amrex::Real &rhoAlpha_lo, amrex::Real &rhoAlpha_hi, const amrex::Array4< const amrex::Real > &cell_data, const amrex::Array4< const amrex::Real > &mu_turb, const amrex::Real mu_eff, bool l_consA, bool l_turb)
Definition: ERF_GetRhoAlphaForFaces.H:22
#define Rho_comp
Definition: ERF_IndexDefines.H:36
amrex::Real Real
Definition: ERF_ShocInterface.H:19
@ Mom_v
Definition: ERF_IndexDefines.H:211