Go to the source code of this file.
|
| ParmParse | pp ("prob") |
| |
| pp | query ("KE_0", KE_0) |
| |
| pp | query ("KE_decay_height", KE_decay_height) |
| |
| pp | query ("KE_decay_order", KE_decay_order) |
| |
| | if (KE_decay_height > 0) |
| |
| | ParallelFor (bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real z=z_cc(i, j, k);if(state_pert.nComp() > RhoKE_comp) { state_pert(i, j, k, RhoKE_comp)=r_hse(i, j, k) *KE_0;if(KE_decay_height > 0) { state_pert(i, j, k, RhoKE_comp) *=max(std::pow(1 - min(z/KE_decay_height, 1.0), KE_decay_order), 1e-12);} } }) |
| |
◆ if()
Real KE_decay_order
Definition: ERF_InitCustomPert_KE.H:6
Real KE_decay_height
Definition: ERF_InitCustomPert_KE.H:5
◆ ParallelFor()
| ParallelFor |
( |
bx |
, |
|
|
[=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real z=z_cc(i, j, k);if(state_pert.nComp() > RhoKE_comp) { state_pert(i, j, k, RhoKE_comp)=r_hse(i, j, k) *KE_0;if(KE_decay_height > 0) { state_pert(i, j, k, RhoKE_comp) *=max(std::pow(1 - min(z/KE_decay_height, 1.0), KE_decay_order), 1e-12);} } } |
|
|
) |
| |
◆ pp()
◆ query() [1/3]
◆ query() [2/3]
◆ query() [3/3]
◆ KE_0
◆ KE_decay_height
| Real KE_decay_height = -1 |
◆ KE_decay_order