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(1.0,1.0/
Gamma
) * 101325.0 / 287.0 - p_hse(i,j,k);
5
});
Gamma
constexpr amrex::Real Gamma
Definition:
ERF_Constants.H:19
RhoTheta_comp
#define RhoTheta_comp
Definition:
ERF_IndexDefines.H:37
ParallelFor
ParallelFor(bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { state_pert(i, j, k, RhoTheta_comp)=std::pow(1.0, 1.0/Gamma) *101325.0/287.0 - p_hse(i, j, k);})
Source
Prob
ERF_InitCustomPert_StokesSecondProblem.H
Generated by
1.9.1