const Real ztop
Definition: ERF_InitCustomPertVels_ParticleTests.H:4
ParmParse pp_for_pert_vels("prob")
Real U_0
Definition: ERF_InitCustomPertVels_ParticleTests.H:2
const auto dx
Definition: ERF_InitCustomPertVels_ParticleTests.H:16
ParallelFor(xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { Real zbot=z_nd(i, j, 0);x_vel_pert(i, j, k)=U_0 *ztop/(ztop - zbot);})
amrex::GpuArray< Real, AMREX_SPACEDIM > dxInv
Definition: ERF_InitCustomPertVels_ParticleTests.H:17
AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real WFromOmega(int &i, int &j, int &k, amrex::Real omega, const amrex::Array4< const amrex::Real > &u_arr, const amrex::Array4< const amrex::Real > &v_arr, const amrex::Array4< const amrex::Real > &mf_u, const amrex::Array4< const amrex::Real > &mf_v, const amrex::Array4< const amrex::Real > &z_nd, const amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > &dxInv)
Definition: ERF_TerrainMetrics.H:464