9 const Real*
dx = geomdata.CellSize();
15 x_vel_pert(i, j, k) =
V_0 * sin(
x) * cos(
y) * cos(
z);
22 const Real*
dx = geomdata.CellSize();
28 y_vel_pert(i, j, k) = -
V_0 * cos(
x) * sin(
y) * cos(
z);
ParallelFor(xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real *prob_lo=geomdata.ProbLo();const Real *dx=geomdata.CellSize();const Real x=prob_lo[0]+(i+0.0) *dx[0];const Real y=prob_lo[1]+(j+0.5) *dx[1];const Real z=prob_lo[2]+(k+0.5) *dx[2];x_vel_pert(i, j, k)=V_0 *sin(x) *cos(y) *cos(z);})
ParmParse pp_for_pert_vels("prob")
Real V_0
Definition: ERF_InitCustomPertVels_TaylorGreenVortex.H:3
const Real dx
Definition: ERF_InitCustomPert_ABL.H:23
const amrex::Real * prob_lo
Definition: ERF_InitCustomPert_IsentropicVortex.H:16
const Box xbx
Definition: ERF_SetupDiff.H:7
const Box ybx
Definition: ERF_SetupDiff.H:8
amrex::Real Real
Definition: ERF_ShocInterface.H:19