7 const amrex::Array4<const amrex::Real>& cell_data,
8 const amrex::Array4<const amrex::Real>& mu_turb,
13 rhoAlpha_lo = 0.25 * ( cell_data(i,j,k ,
Rho_comp ) + cell_data(i-ioff,j-joff,k ,
Rho_comp )
14 + cell_data(i,j,k-1,
Rho_comp ) + cell_data(i-ioff,j-joff,k-1,
Rho_comp ) ) * mu_eff
17 rhoAlpha_hi = 0.25 * ( cell_data(i,j,k ,
Rho_comp ) + cell_data(i-ioff,j-joff,k ,
Rho_comp )
18 + cell_data(i,j,k+1,
Rho_comp ) + cell_data(i-ioff,j-joff,k+1,
Rho_comp ) ) * mu_eff
33 rhoAlpha_lo = 0.25 * ( cell_data(i,j,k ,
Rho_comp ) + cell_data(i-ioff,j-joff,k ,
Rho_comp )
34 + cell_data(i,j,k-1,
Rho_comp ) + cell_data(i-ioff,j-joff,k-1,
Rho_comp ) ) * mu_eff;
35 rhoAlpha_hi = 0.25 * ( cell_data(i,j,k ,
Rho_comp ) + cell_data(i-ioff,j-joff,k ,
Rho_comp )
36 + cell_data(i,j,k+1,
Rho_comp ) + cell_data(i-ioff,j-joff,k+1,
Rho_comp ) ) * mu_eff;
51 const amrex::Array4<const amrex::Real>& cell_data,
52 const amrex::Array4<const amrex::Real>& mu_turb,
57 rhoAlpha_lo = cell_data(i,j,k-1,
Rho_comp) * mu_eff
59 rhoAlpha_hi = cell_data(i,j,k ,
Rho_comp) * mu_eff
69 rhoAlpha_lo = cell_data(i,j,k-1,
Rho_comp) * mu_eff;
70 rhoAlpha_hi = cell_data(i,j,k ,
Rho_comp) * mu_eff;
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:5
#define Rho_comp
Definition: ERF_IndexDefines.H:36
bool l_turb
Definition: ERF_SetupVertDiff.H:8
bool l_consA
Definition: ERF_SetupVertDiff.H:7
amrex::Real Real
Definition: ERF_ShocInterface.H:19
@ Mom_v
Definition: ERF_IndexDefines.H:175