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

Go to the source code of this file.

Functions

ParmParse pp_prob ("prob")
 
pp_prob query ("U_0", U_0)
 
pp_prob query ("V_0", V_0)
 
pp_prob query ("W_0", W_0)
 
 ParallelFor (xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { x_vel_pert(i, j, k)=U_0;})
 
 ParallelFor (ybx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { y_vel_pert(i, j, k)=V_0;})
 
 ParallelFor (zbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { z_vel_pert(i, j, k)=W_0;})
 

Variables

Real U_0 = 0.0
 
Real V_0 = 0.0
 
Real W_0 = 0.0
 

Function Documentation

◆ ParallelFor() [1/3]

ParallelFor ( xbx  ,
[=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { x_vel_pert(i, j, k)=U_0;}   
)

◆ ParallelFor() [2/3]

ParallelFor ( ybx  ,
[=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { y_vel_pert(i, j, k)=V_0;}   
)

◆ ParallelFor() [3/3]

ParallelFor ( zbx  ,
[=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { z_vel_pert(i, j, k)=W_0;}   
)

◆ pp_prob()

ParmParse pp_prob ( "prob"  )

◆ query() [1/3]

pp_prob query ( "U_0"  ,
U_0   
)

◆ query() [2/3]

pp_prob query ( "V_0"  ,
V_0   
)

◆ query() [3/3]

pp_prob query ( "W_0"  ,
W_0   
)

Variable Documentation

◆ U_0

Real U_0 = 0.0

Referenced by ParallelFor().

◆ V_0

Real V_0 = 0.0

Referenced by ParallelFor().

◆ W_0

Real W_0 = 0.0

Referenced by ParallelFor().