Go to the source code of this file.
|
| ParmParse | pp_for_pert_vels ("prob") |
| |
| pp_for_pert_vels | query ("U_0", U_0) |
| |
| pp_for_pert_vels | query ("V_0", V_0) |
| |
| pp_for_pert_vels | query ("W_0", W_0) |
| |
| pp_for_pert_vels | query ("z0", z0) |
| |
| pp_for_pert_vels | query ("zRef", zRef) |
| |
| pp_for_pert_vels | query ("uRef", uRef) |
| |
| pp_for_pert_vels | query ("prob_type", prob_type) |
| |
| | ParallelFor (xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real *prob_lo=geomdata.ProbLo();const Real *dx=geomdata.CellSize();const Real z=prob_lo[2]+(k+0.5) *dx[2];if(uRef !=0.0) { x_vel_pert(i, j, k)=U_0+uRef *std::log((z+z0)/z0)/std::log((zRef+z0)/z0);} else { 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;}) |
| |
◆ ParallelFor() [1/3]
◆ 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_for_pert_vels()
| ParmParse pp_for_pert_vels |
( |
"prob" |
| ) |
|
◆ query() [1/7]
◆ query() [2/7]
◆ query() [3/7]
◆ query() [4/7]
◆ query() [5/7]
◆ query() [6/7]
◆ query() [7/7]
◆ prob_type
◆ U_0
◆ uRef
◆ V_0
◆ W_0
◆ z0
Referenced by COARE3_roughness(), ComputeDiffusivityYSU(), Donelan_roughness(), WindFarm::fill_SMark_multifab(), interpolate_column_metgrid_linear(), adiabatic_mod_charnock::iterate_flux(), adiabatic_donelan::iterate_flux(), adiabatic_wave_coupled::iterate_flux(), adiabatic_charnock::iterate_flux(), surface_flux_charnock::iterate_flux(), surface_flux_mod_charnock::iterate_flux(), surface_flux_donelan::iterate_flux(), surface_temp_charnock::iterate_flux(), surface_temp_mod_charnock::iterate_flux(), surface_temp_donelan::iterate_flux(), surface_flux_wave_coupled::iterate_flux(), surface_temp_wave_coupled::iterate_flux(), surface_temp::iterate_flux(), make_mom_sources(), make_sources(), ParallelFor(), quad_interp_1d(), thinbody_wall_dist(), and z0_est().
◆ zRef