|
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 amrex::Real | slow_rhs_pre_z_pressure_buoyancy (const amrex::Array4< const amrex::Real > &qt_arr, int i, int j, int k, bool use_moisture, amrex::Real gpz, amrex::Real abl_pressure_grad_z, amrex::Real buoyancy) |
| AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real slow_rhs_pre_z_pressure_buoyancy | ( | const amrex::Array4< const amrex::Real > & | qt_arr, |
| int | i, | ||
| int | j, | ||
| int | k, | ||
| bool | use_moisture, | ||
| amrex::Real | gpz, | ||
| amrex::Real | abl_pressure_grad_z, | ||
| amrex::Real | buoyancy | ||
| ) |
Return the pressure and buoyancy contribution to the vertical momentum RHS.
The moisture inertia is face-centered from the two adjacent cell values, matching the z-momentum staggering in erf_slow_rhs_pre. In a dry run the moisture array is not read.
Referenced by erf_slow_rhs_pre().
