ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
ERF_InitCustomPert_FlowInABox.H File Reference

Go to the source code of this file.

Functions

ParmParse pp_prob ("prob")
 
pp_prob query ("T_0_Pert_Mag", T_0_Pert_Mag)
 
 ParallelForRNG (bx, [=] AMREX_GPU_DEVICE(int i, int j, int k, const amrex::RandomEngine &engine) noexcept { Real rand_double=amrex::Random(engine);state_pert(i, j, k, RhoTheta_comp)=(rand_double *2.0 - 1.0) *T_0_Pert_Mag;state_pert(i, j, k, RhoTheta_comp) *=r_hse(i, j, k);})
 

Variables

Real T_0_Pert_Mag = 0.0
 

Function Documentation

◆ ParallelForRNG()

ParallelForRNG ( bx  ,
[=] AMREX_GPU_DEVICE(int i, int j, int k, const amrex::RandomEngine &engine) noexcept { Real rand_double=amrex::Random(engine);state_pert(i, j, k, RhoTheta_comp)=(rand_double *2.0 - 1.0) *T_0_Pert_Mag;state_pert(i, j, k, RhoTheta_comp) *=r_hse(i, j, k);}   
)
Here is the call graph for this function:

◆ pp_prob()

ParmParse pp_prob ( "prob"  )

◆ query()

pp_prob query ( "T_0_Pert_Mag"  ,
T_0_Pert_Mag   
)

Variable Documentation

◆ T_0_Pert_Mag

Real T_0_Pert_Mag = 0.0

Referenced by ParallelForRNG().