|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Coefficients and stability functions for the Level 2 MYNN closure. More...
#include <ERF_MYNNStruct.H>

Public Member Functions | |
| void | init_coeffs (amrex::Real A1_lvl25, amrex::Real A2_lvl25, amrex::Real B1, amrex::Real B2, amrex::Real C1, amrex::Real C2, amrex::Real C3, amrex::Real, amrex::Real C5) |
| Initialize Level 2 closure coefficients from Level 2.5 coefficients. More... | |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | calc_Rf (const amrex::Real GM, const amrex::Real GH) const |
| Calculate the reduced Richardson number. More... | |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | calc_SH (const amrex::Real Rf) const |
| Calculate the heat stability function. More... | |
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | calc_SM (const amrex::Real Rf) const |
| Calculate the momentum stability function. More... | |
Public Attributes | |
| bool | initialized {false} |
| amrex::Real | A1 |
| amrex::Real | A2 |
| amrex::Real | F1 |
| amrex::Real | F2 |
| const amrex::Real | gam1 = amrex::Real(0.235) |
| amrex::Real | gam2 |
| amrex::Real | Rf1 |
| amrex::Real | Rf2 |
| amrex::Real | Rfc |
| amrex::Real | Ri1 |
| amrex::Real | Ri2 |
| amrex::Real | Ri3 |
| const amrex::Real | eps = std::numeric_limits<amrex::Real>::epsilon() |
Coefficients and stability functions for the Level 2 MYNN closure.
|
inline |
Calculate the reduced Richardson number.
| [in] | GM | Momentum gradient. |
| [in] | GH | Heat gradient. |
|
inline |
Calculate the heat stability function.
| [in] | Rf | Reduced Richardson number. |
Referenced by calc_SM().

|
inline |
Calculate the momentum stability function.
| [in] | Rf | Reduced Richardson number. |

|
inline |
Initialize Level 2 closure coefficients from Level 2.5 coefficients.
| [in] | A1_lvl25 | Level 2.5 coefficient A1. |
| [in] | A2_lvl25 | Level 2.5 coefficient A2. |
| [in] | B1 | Closure coefficient B1. |
| [in] | B2 | Closure coefficient B2. |
| [in] | C1 | Closure coefficient C1. |
| [in] | C2 | Closure coefficient C2. |
| [in] | C3 | Closure coefficient C3. |
| [in] | C5 | Closure coefficient C5. |
Referenced by TurbChoice::init_params().

| amrex::Real MYNNLevel2::A1 |
Referenced by calc_SM(), and init_coeffs().
| amrex::Real MYNNLevel2::A2 |
Referenced by calc_SH(), calc_SM(), and init_coeffs().
| const amrex::Real MYNNLevel2::eps = std::numeric_limits<amrex::Real>::epsilon() |
Referenced by calc_Rf().
| amrex::Real MYNNLevel2::F1 |
Referenced by calc_SM(), and init_coeffs().
| amrex::Real MYNNLevel2::F2 |
Referenced by calc_SM(), and init_coeffs().
| const amrex::Real MYNNLevel2::gam1 = amrex::Real(0.235) |
Referenced by calc_SH(), and init_coeffs().
| amrex::Real MYNNLevel2::gam2 |
Referenced by calc_SH(), and init_coeffs().
| bool MYNNLevel2::initialized {false} |
Referenced by calc_Rf(), calc_SH(), calc_SM(), and init_coeffs().
| amrex::Real MYNNLevel2::Rf1 |
Referenced by calc_SM(), and init_coeffs().
| amrex::Real MYNNLevel2::Rf2 |
Referenced by calc_SM(), and init_coeffs().
| amrex::Real MYNNLevel2::Rfc |
Referenced by calc_SH(), and init_coeffs().
| amrex::Real MYNNLevel2::Ri1 |
Referenced by calc_Rf(), and init_coeffs().
| amrex::Real MYNNLevel2::Ri2 |
Referenced by calc_Rf(), and init_coeffs().
| amrex::Real MYNNLevel2::Ri3 |
Referenced by calc_Rf(), and init_coeffs().