|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|

Go to the source code of this file.
Functions | |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void | getRhoAlpha (int i, int j, int k, 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 *d_alpha_eff, const int *d_eddy_diff_idz, int prim_index, int prim_scal_index, bool l_consA, bool l_turb) |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void getRhoAlpha | ( | int | i, |
| int | j, | ||
| int | k, | ||
| 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 * | d_alpha_eff, | ||
| const int * | d_eddy_diff_idz, | ||
| int | prim_index, | ||
| int | prim_scal_index, | ||
| bool | l_consA, | ||
| bool | l_turb | ||
| ) |
Average rhoAlpha from cell centers to the lower and upper z-faces.
| [in] | i | cell-centered i-index |
| [in] | j | cell-centered j-index |
| [in] | k | cell-centered k-index |
| [out] | rhoAlpha_lo | rhoAlpha averaged to the lower z-face |
| [out] | rhoAlpha_hi | rhoAlpha averaged to the upper z-face |
| [in] | cell_data | conserved cell-centered state |
| [in] | mu_turb | turbulent diffusivity |
| [in] | d_alpha_eff | effective molecular diffusivity by primitive component |
| [in] | d_eddy_diff_idz | vertical eddy-diffusivity component map |
| [in] | prim_index | primitive component index |
| [in] | prim_scal_index | scalar primitive component index |
| [in] | l_consA | flag for conservative constant-alpha diffusion |
| [in] | l_turb | flag for turbulent diffusion |
Referenced by ImplicitDiffForStateLU_N(), ImplicitDiffForStateLU_S(), and ImplicitDiffForStateLU_T().
