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


Go to the source code of this file.
Functions | |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | GetMoistureVars (int i, int j, int k, const amrex::Array4< amrex::Real const > &cell_data, amrex::Real &qv, amrex::Real &qc_liquid, amrex::Real &qc_ice, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ComputeVirtualPotentialTemperature (const amrex::Real &theta, const amrex::Real &qv, const amrex::Real &qc_liquid, const amrex::Real &qc_ice) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | GetThetav (const int &i, const int &j, const int &k, const amrex::Array4< amrex::Real const > &cell_data, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | GetThetavl (int i, int j, int k, const amrex::Array4< amrex::Real const > &cell_data, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ComputeLiquidWaterPotentialTemperature (const amrex::Real &theta, const amrex::Real &T, const amrex::Real &qc_liquid) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | GetThetal (const int &i, const int &j, const int &k, const amrex::Array4< amrex::Real const > &cell_data, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ComputeMoistStratification (const int &i, const int &j, const int &k, const amrex::Array4< amrex::Real const > &cell_data, const amrex::Real &dzInv, const amrex::Real &abs_g, const amrex::Real &inv_theta0, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ComputeStratificationForSmagorinsky (const int &i, const int &j, const int &k, const amrex::Array4< amrex::Real const > &cell_data, const amrex::Real &dzInv, const amrex::Real &abs_g, const amrex::Real &inv_theta0, const bool &use_moisture, const int &rho_qv_comp, const MoistureComponentIndices &moisture_indices) |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeLiquidWaterPotentialTemperature | ( | const amrex::Real & | theta, |
| const amrex::Real & | T, | ||
| const amrex::Real & | qc_liquid | ||
| ) |
Compute linearized liquid-water potential temperature
Referenced by GetThetal().

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeMoistStratification | ( | const int & | i, |
| const int & | j, | ||
| const int & | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| const amrex::Real & | dzInv, | ||
| const amrex::Real & | abs_g, | ||
| const amrex::Real & | inv_theta0, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Compute moist stratification accounting for conditional instability
Referenced by ComputeStratificationForSmagorinsky().


| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeStratificationForSmagorinsky | ( | const int & | i, |
| const int & | j, | ||
| const int & | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| const amrex::Real & | dzInv, | ||
| const amrex::Real & | abs_g, | ||
| const amrex::Real & | inv_theta0, | ||
| const bool & | use_moisture, | ||
| const int & | rho_qv_comp, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Compute stratification for Smagorinsky scheme (moist or dry)

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeVirtualPotentialTemperature | ( | const amrex::Real & | theta, |
| const amrex::Real & | qv, | ||
| const amrex::Real & | qc_liquid, | ||
| const amrex::Real & | qc_ice | ||
| ) |
Compute virtual potential temperature with moisture loading effects
Referenced by GetThetav().

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE void GetMoistureVars | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| amrex::Real & | qv, | ||
| amrex::Real & | qc_liquid, | ||
| amrex::Real & | qc_ice, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Extract moisture variables and partition into liquid/ice phases
Referenced by ComputeMoistStratification(), GetThetal(), and GetThetav().

| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real GetThetal | ( | const int & | i, |
| const int & | j, | ||
| const int & | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Wrapper around ComputeLiquidWaterPotentialTemperature
Referenced by ComputeN2(), ComputeN2_EB(), and ComputeTurbulentViscosityLES().


| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real GetThetav | ( | const int & | i, |
| const int & | j, | ||
| const int & | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Wrapper around ComputeVirtualPotentialTemperature
Referenced by MYNNPBLH::compute_pblh(), ComputeDiffusivityMRF(), ComputeDiffusivityYSUNew(), ComputeMoistStratification(), ComputeN2(), ComputeN2_EB(), ComputeTurbulentViscosityLES(), and ComputeVerticalDerivativesPBL().


| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real GetThetavl | ( | int | i, |
| int | j, | ||
| int | k, | ||
| const amrex::Array4< amrex::Real const > & | cell_data, | ||
| const MoistureComponentIndices & | moisture_indices | ||
| ) |
Compute liquid-water virtual potential temperature theta_vl = theta * (1 + 0.61*qv - ql - qi) where ql = qc (cloud liquid) and qi = qi (cloud ice) This accounts for condensate loading in the virtual temperature effect
Referenced by ComputeDiffusivityYSUNew().
