ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_InitCustomPert_StokesSecondProblem.H
Go to the documentation of this file.
1  ParallelFor(bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept
2  {
3  // This version perturbs rho but not p -- TODO: CHECK THIS
4  state_pert(i, j, k, RhoTheta_comp) = std::pow(one,one/Gamma) * amrex::Real(101325.0) / amrex::Real(287.0) - p_hse(i,j,k);
5  });
constexpr amrex::Real one
Definition: ERF_Constants.H:7
constexpr amrex::Real Gamma
Definition: ERF_Constants.H:29
#define RhoTheta_comp
Definition: ERF_IndexDefines.H:37
state_pert(i, j, k, RhoTheta_comp)
ParallelFor(bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { state_pert(i, j, k, RhoTheta_comp)=std::pow(one, one/Gamma) *amrex::Real(101325.0)/amrex::Real(287.0) - p_hse(i, j, k);})
amrex::Real Real
Definition: ERF_ShocInterface.H:19