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 (amrex::Real theta, amrex::Real qv, amrex::Real qc_liquid, amrex::Real qc_ice) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | GetThetav (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 (amrex::Real theta, amrex::Real T, amrex::Real qc_liquid) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | GetThetal (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 | ComputeMoistStratification (int i, int j, int k, const amrex::Array4< amrex::Real const > &cell_data, amrex::Real dzInv, amrex::Real abs_g, amrex::Real inv_theta0, const MoistureComponentIndices &moisture_indices) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ComputeStratificationForSmagorinsky (int i, int j, int k, const amrex::Array4< amrex::Real const > &cell_data, amrex::Real dzInv, amrex::Real abs_g, amrex::Real inv_theta0, bool use_moisture, int rho_qv_comp, const MoistureComponentIndices &moisture_indices) |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeLiquidWaterPotentialTemperature | ( | amrex::Real | theta, |
amrex::Real | T, | ||
amrex::Real | qc_liquid | ||
) |
Compute linearized liquid-water potential temperature
Referenced by GetThetal().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeMoistStratification | ( | int | i, |
int | j, | ||
int | k, | ||
const amrex::Array4< amrex::Real const > & | cell_data, | ||
amrex::Real | dzInv, | ||
amrex::Real | abs_g, | ||
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 | ( | int | i, |
int | j, | ||
int | k, | ||
const amrex::Array4< amrex::Real const > & | cell_data, | ||
amrex::Real | dzInv, | ||
amrex::Real | abs_g, | ||
amrex::Real | inv_theta0, | ||
bool | use_moisture, | ||
int | rho_qv_comp, | ||
const MoistureComponentIndices & | moisture_indices | ||
) |
Compute stratification for Smagorinsky scheme (moist or dry)
Referenced by ComputeTurbulentViscosityLES().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real ComputeVirtualPotentialTemperature | ( | amrex::Real | theta, |
amrex::Real | qv, | ||
amrex::Real | qc_liquid, | ||
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 | ( | int | i, |
int | j, | ||
int | k, | ||
const amrex::Array4< amrex::Real const > & | cell_data, | ||
const MoistureComponentIndices & | moisture_indices | ||
) |
Wrapper around ComputeLiquidWaterPotentialTemperature
Referenced by ComputeTurbulentViscosityLES().
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real GetThetav | ( | int | i, |
int | j, | ||
int | k, | ||
const amrex::Array4< amrex::Real const > & | cell_data, | ||
const MoistureComponentIndices & | moisture_indices | ||
) |
Wrapper around ComputeVirtualPotentialTemperature
Referenced by MYNNPBLH::compute_pblh(), ComputeMoistStratification(), ComputeTurbulentViscosityLES(), and ComputeVerticalDerivativesPBL().