26 const Real*
dx = geomdata.CellSize();
30 const Real y = (j + 0.5) *
dx[1];
40 const Real*
dx = geomdata.CellSize();
43 const Real x = (i + 0.5) *
dx[0];
constexpr amrex::Real R_d
Definition: ERF_Constants.H:10
constexpr amrex::Real Gamma
Definition: ERF_Constants.H:19
ParallelFor(xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real *dx=geomdata.CellSize();const Real x=i *dx[0];const Real y=(j+0.5) *dx[1];const Real Omg=erf_vortex_Gaussian(x, y, xc, yc, R, beta, sigma);x_vel_pert(i, j, k)=(M_inf *std::cos(alpha) -(y - yc)/R *Omg) *a_inf;})
amrex::Real gamma
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:8
const amrex::Real * prob_lo
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:15
amrex::Real R
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:11
amrex::Real yc
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:19
ParmParse pp_for_pert_vels("prob")
amrex::Real a_inf
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:21
amrex::Real sigma
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:10
amrex::Real alpha
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:7
amrex::Real xc_frac
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:12
const amrex::Real * prob_hi
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:16
amrex::Real beta
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:9
amrex::Real M_inf
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:5
amrex::Real yc_frac
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:13
amrex::Real T_inf
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:6
amrex::Real xc
Definition: ERF_InitCustomPertVels_IsentropicVortex.H:18
const auto dx
Definition: ERF_InitCustomPertVels_ParticleTests.H:15
static AMREX_GPU_DEVICE amrex::Real erf_vortex_Gaussian(amrex::Real x, amrex::Real y, amrex::Real xc, amrex::Real yc, amrex::Real R, amrex::Real beta, amrex::Real sigma)
Definition: ERF_InitCustomPert.H:31
const Box xbx
Definition: ERF_SetupDiff.H:7
const Box ybx
Definition: ERF_SetupDiff.H:8
amrex::Real Real
Definition: ERF_ShocInterface.H:19