|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Go to the source code of this file.
Functions | |
| ParmParse | pp_prob ("prob") |
| pp_prob | query ("U_0", U_0) |
| ParallelFor (xbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real x=prob_lo[0]+Real(i) *dx[0];const Real y=prob_lo[1]+(Real(j)+myhalf) *dx[1];const Real z=prob_lo[2]+(Real(k)+myhalf) *dx[2];x_vel_pert(i, j, k)=erf_cloud_chamber::initial_u_velocity_perturbation(x, y, z, prob_lo, length, U_0, nx, ny);}) | |
| ParallelFor (ybx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real x=prob_lo[0]+(Real(i)+myhalf) *dx[0];const Real y=prob_lo[1]+Real(j) *dx[1];const Real z=prob_lo[2]+(Real(k)+myhalf) *dx[2];y_vel_pert(i, j, k)=erf_cloud_chamber::initial_v_velocity_perturbation(x, y, z, prob_lo, length, U_0, v_scale, nx, ny);}) | |
| ParallelFor (zbx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { z_vel_pert(i, j, k)=erf_cloud_chamber::initial_w_velocity_perturbation();}) | |
Variables | |
| Real | U_0 = zero |
| const GpuArray< Real, AMREX_SPACEDIM > | prob_lo |
| const GpuArray< Real, AMREX_SPACEDIM > | prob_hi |
| const GpuArray< Real, AMREX_SPACEDIM > | dx |
| const Real | lx = prob_hi[0] - prob_lo[0] |
| const Real | ly = prob_hi[1] - prob_lo[1] |
| const Real | lz = prob_hi[2] - prob_lo[2] |
| const auto | length = GpuArray<Real, AMREX_SPACEDIM>{lx, ly, lz} |
| const int | nx = geomdata.Domain().length(0) |
| const int | ny = geomdata.Domain().length(1) |
| const Real | v_scale |
| ParallelFor | ( | xbx | , |
| [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real x=prob_lo[0]+Real(i) *dx[0];const Real y=prob_lo[1]+(Real(j)+myhalf) *dx[1];const Real z=prob_lo[2]+(Real(k)+myhalf) *dx[2];x_vel_pert(i, j, k)=erf_cloud_chamber::initial_u_velocity_perturbation(x, y, z, prob_lo, length, U_0, nx, ny);} | |||
| ) |

| ParallelFor | ( | ybx | , |
| [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { const Real x=prob_lo[0]+(Real(i)+myhalf) *dx[0];const Real y=prob_lo[1]+Real(j) *dx[1];const Real z=prob_lo[2]+(Real(k)+myhalf) *dx[2];y_vel_pert(i, j, k)=erf_cloud_chamber::initial_v_velocity_perturbation(x, y, z, prob_lo, length, U_0, v_scale, nx, ny);} | |||
| ) |

| ParallelFor | ( | zbx | , |
| [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { z_vel_pert(i, j, k)=erf_cloud_chamber::initial_w_velocity_perturbation();} | |||
| ) |

| ParmParse pp_prob | ( | "prob" | ) |
| const GpuArray<Real, AMREX_SPACEDIM> dx |
Referenced by ParallelFor().
Referenced by ParallelFor().
Referenced by erf_cloud_chamber::staggered_velocity_v_scale(), and ERF::ParticlePos::z_face_at_xy().
Referenced by ERF::ParticlePos::z_from_zeta().
| const int nx = geomdata.Domain().length(0) |
Referenced by bilinear_interpolation(), bilinear_interpolation_2d(), IBFaceSet::build(), MOSTAverage::compute_eb_averages(), IBFaceSet::compute_shortwave(), moeng_flux_eb::compute_t_flux(), compute_tangent_vectors(), moeng_flux_eb::compute_u_flux(), moeng_flux_eb::compute_v_flux(), IBFaceSet::compute_view_fractions(), DiffusionSrcForMom_EB(), WindFarm::fill_SMark_multifab(), ERF::FillForecastStateMultiFabs(), ERF::FillSurfaceStateMultiFabs(), NullWindFarm::find_if_marked(), get_single_index(), ERF::HurricaneEyeTrackerInitial(), ERF::HurricaneEyeTrackerNotInitial(), idx(), Radiation::Init(), erf_cloud_chamber::initial_u_velocity_perturbation(), erf_cloud_chamber::initial_v_velocity_perturbation(), interp_trilinear(), InterpolateToFineMF(), Radiation::kokkos_buffers_to_mf(), SHOCInterface::kokkos_buffers_to_mf(), SHOCInterface::mf_to_kokkos_buffers(), Radiation::mf_to_kokkos_buffers(), ParallelFor(), Radiation::populateDatalogMF(), ibseb::ray_blocked(), ibseb::ray_hit(), ProblemBase::read_custom_terrain(), ReadCustomBinaryIC(), ReadCustomDataFile(), ERF::resolve_station_stencils(), SHOCInterface::set_eddy_diffs(), SHOCInterface::set_grids(), SimpleAD::source_terms_cellcentered(), erf_cloud_chamber::staggered_velocity_v_scale(), StationSampler::StationSampler(), WindFarm::write_actuator_disks_vtk(), Radiation::write_rrtmgp_fluxes(), and writeNCPlotFile().
| const int ny = geomdata.Domain().length(1) |
Referenced by bilinear_interpolation(), bilinear_interpolation_2d(), IBFaceSet::build(), MOSTAverage::compute_eb_averages(), IBFaceSet::compute_shortwave(), moeng_flux_eb::compute_t_flux(), compute_tangent_vectors(), moeng_flux_eb::compute_u_flux(), moeng_flux_eb::compute_v_flux(), IBFaceSet::compute_view_fractions(), DiffusionSrcForMom_EB(), WindFarm::fill_SMark_multifab(), ERF::FillForecastStateMultiFabs(), ERF::FillSurfaceStateMultiFabs(), NullWindFarm::find_if_marked(), get_single_index(), idx(), Radiation::Init(), erf_cloud_chamber::initial_u_velocity_perturbation(), erf_cloud_chamber::initial_v_velocity_perturbation(), interp_trilinear(), InterpolateToFineMF(), ParallelFor(), ibseb::ray_blocked(), ibseb::ray_hit(), ProblemBase::read_custom_terrain(), ReadCustomBinaryIC(), ReadCustomDataFile(), ERF::resolve_station_stencils(), SHOCInterface::set_grids(), SimpleAD::source_terms_cellcentered(), erf_cloud_chamber::staggered_velocity_v_scale(), StationSampler::StationSampler(), WindFarm::write_actuator_disks_vtk(), and writeNCPlotFile().
| const GpuArray<Real, AMREX_SPACEDIM> prob_hi |
| const GpuArray<Real, AMREX_SPACEDIM> prob_lo |
Referenced by ParallelFor().
Referenced by ParallelFor().
| const Real v_scale |
Referenced by erf_cloud_chamber::initial_v_velocity_perturbation(), and ParallelFor().