#include <ERF_MYNNStruct.H>
|
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | calc_stability_funcs (amrex::Real &SM, amrex::Real &SH, amrex::Real &SQ, const amrex::Real GM, const amrex::Real GH, const amrex::Real alphac=1.0) const |
|
◆ calc_stability_funcs()
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void MYNNLevel25::calc_stability_funcs |
( |
amrex::Real & |
SM, |
|
|
amrex::Real & |
SH, |
|
|
amrex::Real & |
SQ, |
|
|
const amrex::Real |
GM, |
|
|
const amrex::Real |
GH, |
|
|
const amrex::Real |
alphac = 1.0 |
|
) |
| const |
|
inline |
24 amrex::Real alphac2 = alphac * alphac;
27 amrex::Real Phi1 = 1.0 - alphac2*3.0*
A2*
B2*(1-
C3)*GH;
28 amrex::Real Phi2 = 1.0 - alphac2*9.0*
A1*
A2*(1-
C2)*GH;
29 amrex::Real Phi3 = Phi1 + alphac2*9.0*
A2*
A2*(1-
C2)*(1-
C5)*GH;
30 amrex::Real Phi4 = Phi1 - alphac2*12.0*
A1*
A2*(1-
C2)*GH;
31 amrex::Real Phi5 = 6.0*alphac*
A1*
A1*GM;
34 amrex::Real D = Phi2*Phi4 + Phi5*Phi3;
35 SM = alphac *
A1 * (Phi3 - 3*
C1*Phi4) / D;
36 SH = alphac *
A2 * (Phi2 + 3*
C1*Phi5) / D;
amrex::Real C1
Definition: ERF_MYNNStruct.H:45
amrex::Real C3
Definition: ERF_MYNNStruct.H:47
amrex::Real C2
Definition: ERF_MYNNStruct.H:46
amrex::Real A2
Definition: ERF_MYNNStruct.H:42
amrex::Real B2
Definition: ERF_MYNNStruct.H:44
amrex::Real C5
Definition: ERF_MYNNStruct.H:49
amrex::Real A1
Definition: ERF_MYNNStruct.H:41
◆ A1
amrex::Real MYNNLevel25::A1 = 1.18 |
◆ A2
amrex::Real MYNNLevel25::A2 = 0.665 |
◆ B1
amrex::Real MYNNLevel25::B1 = 24.0 |
◆ B2
amrex::Real MYNNLevel25::B2 = 15.0 |
◆ C1
amrex::Real MYNNLevel25::C1 = 0.137 |
◆ C2
amrex::Real MYNNLevel25::C2 = 0.75 |
◆ C3
amrex::Real MYNNLevel25::C3 = 0.352 |
◆ C4
amrex::Real MYNNLevel25::C4 = 0.0 |
◆ C5
amrex::Real MYNNLevel25::C5 = 0.2 |
◆ config
◆ diffuse_moistvars
bool MYNNLevel25::diffuse_moistvars = false |
◆ SHmax
amrex::Real MYNNLevel25::SHmax = 4.0 |
◆ SHmin
amrex::Real MYNNLevel25::SHmin = 0.0 |
◆ SMmax
amrex::Real MYNNLevel25::SMmax = 1.0e34 |
◆ SMmin
amrex::Real MYNNLevel25::SMmin = 0.0 |
The documentation for this struct was generated from the following file: