Go to the source code of this file.
|
| AMREX_ENUM (LESType, None, Smagorinsky, Deardorff) |
|
| AMREX_ENUM (RANSType, None, kEqn) |
|
| AMREX_ENUM (PBLType, None, MYNN25, YSU) |
|
template<typename T > |
void | query_one_or_per_level (const amrex::ParmParse &pp, const char *query_string, T &query_var, const int lev, const int maxlev) |
|
◆ AMREX_ENUM() [1/3]
AMREX_ENUM |
( |
LESType |
, |
|
|
None |
, |
|
|
Smagorinsky |
, |
|
|
Deardorff |
|
|
) |
| |
◆ AMREX_ENUM() [2/3]
AMREX_ENUM |
( |
PBLType |
, |
|
|
None |
, |
|
|
MYNN25 |
, |
|
|
YSU |
|
|
) |
| |
◆ AMREX_ENUM() [3/3]
AMREX_ENUM |
( |
RANSType |
, |
|
|
None |
, |
|
|
kEqn |
|
|
) |
| |
◆ query_one_or_per_level()
template<typename T >
void query_one_or_per_level |
( |
const amrex::ParmParse & |
pp, |
|
|
const char * |
query_string, |
|
|
T & |
query_var, |
|
|
const int |
lev, |
|
|
const int |
maxlev |
|
) |
| |
15 int count =
pp.countval(query_string);
18 }
else if (count == 1) {
19 pp.query(query_string, query_var);
20 }
else if (count == maxlev + 1) {
21 pp.query(query_string, query_var, lev);
23 amrex::Error(
"For parmparse variable " +
pp.prefixedName(query_string)
24 +
": if specified, specify once total or once for each level");
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real pp(amrex::Real y)
Definition: ERF_MicrophysicsUtils.H:219
Referenced by TurbChoice::init_params().