|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Go to the source code of this file.
Functions | |
| ParmParse | pp_prob ("prob") |
| pp_prob | query ("axis", axis) |
| pp_prob | query ("theta_lo", theta_lo) |
| pp_prob | query ("theta_hi", theta_hi) |
| ParallelFor (bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const int index=(axis==0) ? i :((axis==1) ? j :k);const Real coordinate=problo_axis+(static_cast< Real >(index)+Real(0.5)) *dx_axis;const Real theta=theta_lo+(theta_hi - theta_lo) *(coordinate - problo_axis)/length;const Real rho=state(i, j, k, Rho_comp);state_pert(i, j, k, RhoTheta_comp)=rho *theta - state(i, j, k, RhoTheta_comp);}) | |
Variables | |
| int | axis = 0 |
| Real | theta_lo = 300.0 |
| Real | theta_hi = 301.0 |
| const Real | problo_axis = geomdata.ProbLo(axis) |
| const Real | dx_axis = geomdata.CellSize(axis) |
| const Real | length = geomdata.ProbHi(axis) - geomdata.ProbLo(axis) |
| ParallelFor | ( | bx | , |
| [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const int index=(axis==0) ? i :((axis==1) ? j :k);const Real coordinate=problo_axis+(static_cast< Real >(index)+Real(0.5)) *dx_axis;const Real theta=theta_lo+(theta_hi - theta_lo) *(coordinate - problo_axis)/length;const Real rho=state(i, j, k, Rho_comp);state_pert(i, j, k, RhoTheta_comp)=rho *theta - state(i, j, k, RhoTheta_comp);} | |||
| ) |

| ParmParse pp_prob | ( | "prob" | ) |
Referenced by erf_init_const_dens_and_linear_th_hse(), erf_init_const_dens_and_th_hse(), erf_init_rayleigh(), ProblemBase::init_custom_terrain(), init_my_custom_terrain(), and erf_cloud_chamber::parse_config().

| int axis = 0 |
Referenced by ParallelFor().
Referenced by ParallelFor().
Referenced by ParallelFor().
| Real theta_hi = 301.0 |
Referenced by ComputeStratificationForSmagorinsky(), and ParallelFor().
| Real theta_lo = 300.0 |
Referenced by ComputeStratificationForSmagorinsky(), and ParallelFor().