|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_DataStruct.H>

Public Member Functions | |
| void | init_params (int max_level, std::string pp_prefix) |
| Read solver-wide algorithmic options from the input parameter database. More... | |
| void | check_params (int max_level, const amrex::Vector< amrex::Geometry > &geom_vect, amrex::GpuArray< ERF_BC, AMREX_SPACEDIM *2 > phys_bc_type) |
| Validate solver options after geometry and boundary conditions are known. More... | |
| void | display (int max_level, std::string pp_prefix) |
| Print the configured solver, physics, and transport options. More... | |
| void | build_coriolis_forcings_const_lat (std::string pp_prefix) |
| Build constant-latitude Coriolis forcing parameters. More... | |
| void | read_int_string (int max_level, const char *string_to_read, amrex::Vector< int > &vec_to_fill, int default_int) |
| Read one integer value or one value per AMR level. More... | |
| bool | use_perturbation (int lev) const |
| Query whether any turbulent perturbation mode is enabled on a level. More... | |
| bool | use_direct_perturbation (int lev) const |
| Query whether direct turbulent perturbations are enabled on a level. More... | |
| bool | use_source_perturbation (int lev) const |
| Query whether source-term turbulent perturbations are enabled on a level. More... | |
| bool | use_wvel_perturbation (int lev) const |
| Query whether vertical-velocity CPM perturbations are enabled on a level. More... | |
| bool | uses_shoc_family () const noexcept |
| Query whether any SHOC-family PBL scheme is active. More... | |
| bool | pbl_suppresses_microphysics_condensation () const noexcept |
| Query whether the active PBL scheme suppresses microphysics condensation. More... | |
| bool | any_perturbation () const |
| Query whether any level uses a turbulent perturbation mode. More... | |
Static Public Member Functions | |
| static void | set_mesh_type (MeshType new_mesh_type) |
| Override the globally selected mesh type. More... | |
Public Attributes | |
| AdvChoice | advChoice |
| Advection-related options. More... | |
| DiffChoice | diffChoice |
| Diffusion-related options. More... | |
| DampingChoice | dampingChoice |
| Damping-related options. More... | |
| SpongeChoice | spongeChoice |
| Sponge-layer options. More... | |
| amrex::Vector< TurbChoice > | turbChoice |
| Turbulence options for each AMR level. More... | |
| EBChoice | ebChoice |
| Embedded-boundary options. More... | |
| int | force_stage1_single_substep = 1 |
| Flag forcing a single substep in the first RK stage. More... | |
| amrex::Vector< SubsteppingType > | substepping_type |
| Acoustic substepping type for each AMR level. More... | |
| amrex::Vector< int > | anelastic |
| Per-level flag selecting anelastic dynamics. More... | |
| amrex::Vector< int > | fixed_density |
| Per-level flag selecting fixed-density treatment. More... | |
| amrex::Vector< int > | project_initial_velocity |
| Per-level flag for projecting the initial velocity. More... | |
| amrex::Vector< int > | buoyancy_type |
| Per-level buoyancy formulation selector. More... | |
| amrex::Vector< int > | is_land |
| Per-level land/water selector. More... | |
| bool | substepping_diag = false |
| Whether to emit extra CFL diagnostics for compressible substepping. More... | |
| amrex::Real | beta_s = amrex::Real(0.1) |
| Time off-centering coefficient for forward weighting. More... | |
| amrex::Vector< amrex::Vector< amrex::Real > > | vert_implicit_fac |
| Per-level, per-stage implicit vertical diffusion factors. More... | |
| bool | implicit_thermal_diffusion = true |
| Whether implicit vertical thermal diffusion is included. More... | |
| bool | implicit_moisture_diffusion = true |
| Whether implicit vertical moisture diffusion is included. More... | |
| bool | implicit_ke_diffusion = true |
| Whether implicit vertical TKE diffusion is included. More... | |
| bool | implicit_momentum_diffusion = true |
| Whether implicit vertical momentum diffusion is included. More... | |
| bool | implicit_before_substep = true |
| Whether implicit diffusion is applied before acoustic substepping. More... | |
| int | ncorr = 1 |
| Number of projection correction iterations. More... | |
| amrex::Real | poisson_abstol = amrex::Real(1e-8) |
| Absolute tolerance for the Poisson solve. More... | |
| amrex::Real | poisson_reltol = amrex::Real(1e-8) |
| Relative tolerance for the Poisson solve. More... | |
| bool | test_mapfactor = false |
| Whether to use test map scale factors. More... | |
| int | gradp_type = 0 |
| Terrain-fitted horizontal pressure-gradient formulation. More... | |
| bool | use_pert_pres_gradient = true |
| Whether momentum equations use perturbational pressure gradients. More... | |
| bool | use_gravity = false |
| Whether gravitational forcing is enabled. More... | |
| bool | use_coriolis = false |
| Whether Coriolis forcing is enabled. More... | |
| bool | coriolis_3d = true |
| Whether the three-dimensional Coriolis terms are included. More... | |
| bool | four_stream_radiation = false |
| Whether the four-stream radiation approximation is enabled. More... | |
| bool | immersed_forcing_substep = false |
| Whether immersed-forcing source terms are applied only during substeps. More... | |
| bool | forest_substep = false |
| Whether canopy source terms are applied only during substeps. More... | |
| amrex::Real | if_Cd_momentum = amrex::Real(50.0) |
| Immersed-forcing drag coefficient for momentum. More... | |
| amrex::Real | if_Cd_scalar = amrex::Real(10.0) |
| Immersed-forcing drag coefficient for scalars. More... | |
| bool | if_implicit_drag = false |
| amrex::Real | if_z0 = amrex::Real(0.1) |
| Immersed-forcing roughness length [m]. More... | |
| amrex::Real | if_surf_temp_flux = amrex::Real(1e-8) |
| Immersed-forcing surface temperature flux [K m/s]. More... | |
| amrex::Real | if_init_surf_temp = zero |
| Initial immersed-forcing surface temperature [K]. More... | |
| amrex::Real | if_surf_heating_rate = zero |
| Immersed-forcing surface heating rate [K/hr]. More... | |
| amrex::Real | if_Olen_in = amrex::Real(1e-8) |
| Input Obukhov length for immersed-forcing MOST [m]. More... | |
| bool | if_use_most = false |
| Whether immersed-forcing MOST is enabled. More... | |
| bool | if_stability_correction = false |
| Whether immersed-forcing stability corrections are enabled. More... | |
| amrex::Real | if_ws_floor = 0.001 |
| Wind-speed floor for immersed-forcing MOST [m/s]. More... | |
| amrex::Real | if_damp_alpha = 0.5 |
| Immersed-forcing damping coefficient. More... | |
| bool | use_lagged_delta_rt = true |
| Whether to use lagged delta terms for moving terrain. More... | |
| bool | rebalance_wrf_input = true |
| Whether to rebalance states from wrfinput and wrfbdy data. More... | |
| amrex::Real | gravity |
| Effective gravitational acceleration. More... | |
| amrex::Real | c_p = Cp_d |
| Specific heat at constant pressure for dry air [J/(kg-K)]. More... | |
| amrex::Real | rdOcp |
| Ratio of dry-air gas constant to c_p. More... | |
| amrex::Real | grid_stretching_ratio = 0 |
| Vertical grid stretching ratio. More... | |
| amrex::Real | zsurf = zero |
| Nominal surface height for stretched-grid setup. More... | |
| amrex::Real | dz0 |
| Initial vertical grid spacing for stretched-grid setup. More... | |
| amrex::Real | coriolis_factor = zero |
| Twice the planetary rotation rate used for Coriolis forcing. More... | |
| amrex::Real | cosphi = zero |
| Cosine of the latitude used for Coriolis forcing. More... | |
| amrex::Real | sinphi = zero |
| Sine of the latitude used for Coriolis forcing. More... | |
| bool | custom_rhotheta_forcing = false |
| Whether custom rho-theta forcing is enabled. More... | |
| bool | custom_moisture_forcing = false |
| Whether custom moisture forcing is enabled. More... | |
| bool | custom_w_subsidence = false |
| Whether custom vertical subsidence is enabled. More... | |
| bool | do_theta_advection = true |
| Whether custom vertical subsidence is applied to rho-theta. More... | |
| bool | do_mom_advection = true |
| Whether custom vertical subsidence is applied to momentum. More... | |
| bool | custom_geostrophic_profile = false |
| Whether a custom geostrophic wind profile is used. More... | |
| bool | custom_forcing_prim_vars = false |
| Whether custom forcing operates on primitive variables. More... | |
| bool | spatial_rhotheta_forcing = false |
| Whether spatially varying rho-theta forcing is enabled. More... | |
| bool | spatial_moisture_forcing = false |
| Whether spatially varying moisture forcing is enabled. More... | |
| bool | nudging_from_input_sounding = false |
| Whether solution fields are nudged toward input sounding data. More... | |
| bool | use_rotate_surface_flux = false |
| Whether MOST surface fluxes are rotated with terrain. More... | |
| bool | use_eamxx_shoc = false |
| Whether any level uses the EAMxx SHOC PBL scheme. More... | |
| bool | use_native_shoc = false |
| Whether any level uses the native SHOC PBL scheme. More... | |
| bool | transport_scalar = true |
| Whether the passive scalar component is transported. More... | |
| bool | time_avg_vel = false |
| Whether time-averaged velocity fields are output. More... | |
| amrex::Vector< PerturbationType > | pert_type |
| Turbulent perturbation type for each AMR level. More... | |
| bool | use_num_diff {false} |
| Whether sixth-order numerical diffusion is enabled. More... | |
| amrex::Real | num_diff_coeff {zero} |
| Numerical diffusion coefficient after input scaling. More... | |
| CouplingType | coupling_type |
| Multilevel coupling strategy. More... | |
| MoistureType | moisture_type |
| Moisture or microphysics model. More... | |
| WindFarmType | windfarm_type |
| Wind-farm model. More... | |
| WindFarmLocType | windfarm_loc_type |
| Coordinate system for wind-farm turbine locations. More... | |
| LandSurfaceType | lsm_type |
| Land-surface model. More... | |
| RadiationType | rad_type |
| Radiation model. More... | |
| ABLDriverType | abl_driver_type |
| Atmospheric boundary-layer driver type. More... | |
| amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | abl_pressure_grad |
| Applied ABL pressure-gradient forcing vector. More... | |
| amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | abl_geo_forcing |
| Applied geostrophic-wind forcing vector. More... | |
| std::string | abl_geo_wind_table |
| Path to a time-varying geostrophic wind table. More... | |
| bool | have_geo_wind_profile {false} |
| Whether a geostrophic wind profile has been configured. More... | |
| bool | variable_coriolis {false} |
| Whether spatially varying Coriolis forcing is enabled. More... | |
| int | ave_plane {2} |
| Averaging plane index used by diagnostics. More... | |
| MoistureComponentIndices | moisture_indices |
| Conserved-state component indices for active moisture species. More... | |
| bool | moisture_tight_coupling {false} |
| Whether moisture updates use tight coupling. More... | |
| std::string | windfarm_loc_table |
| Wind-farm location table path. More... | |
| std::string | windfarm_spec_table |
| Wind-farm turbine specification table path. More... | |
| std::string | windfarm_spec_table_extra |
| Additional wind-farm turbine specification table path. More... | |
| std::string | windfarm_blade_table |
| Wind-farm blade table path. More... | |
| std::string | windfarm_airfoil_tables |
| Wind-farm airfoil table paths. More... | |
| amrex::Real | sampling_distance_by_D = -one |
| Turbine inflow sampling distance normalized by rotor diameter. More... | |
| amrex::Real | turb_disk_angle = -one |
| Turbine disk angle from the x axis [deg]. More... | |
| amrex::Real | windfarm_x_shift = -one |
| Wind-farm x-coordinate shift. More... | |
| amrex::Real | windfarm_y_shift = -one |
| Wind-farm y-coordinate shift. More... | |
| amrex::Real | bdy_nudge_factor = amrex::Real(10.0) |
| Boundary sponge nudging factor. More... | |
| bool | use_wrf_bdy_density = false |
| amrex::Real | bdy_rho_nudge_factor = amrex::Real(-1.0) |
| int | bdy_moist_nudge_type = 0 |
| Moist-variable nudging strategy in boundary regions. More... | |
| bool | use_wrf_height_grid {true} |
| bool | do_forest_drag {false} |
| Whether forest canopy drag is enabled. More... | |
| amrex::Real | const_massflux_u = zero |
| Target constant mass flux in the x direction. More... | |
| amrex::Real | const_massflux_v = zero |
| Target constant mass flux in the y direction. More... | |
| amrex::Real | const_massflux_tau = one |
| Relaxation time scale for constant-mass-flux forcing. More... | |
| amrex::Real | const_massflux_layer_lo = amrex::Real(-bogus_large_value) |
| Lower height of the constant-mass-flux forcing layer. More... | |
| amrex::Real | const_massflux_layer_hi = amrex::Real( bogus_large_value) |
| Upper height of the constant-mass-flux forcing layer. More... | |
| int | massflux_klo {0} |
| Lower vertical index for constant-mass-flux forcing. More... | |
| int | massflux_khi {0} |
| Upper vertical index for constant-mass-flux forcing. More... | |
| std::string | hindcast_boundary_data_dir |
| Directory containing hindcast lateral boundary data. More... | |
| std::string | hindcast_surface_data_dir |
| Directory containing hindcast surface boundary data. More... | |
| amrex::Real | hindcast_data_interval_in_hrs = -one |
| Time interval between hindcast data files [hr]. More... | |
| bool | hindcast_lateral_forcing = false |
| Whether hindcast lateral forcing is enabled. More... | |
| bool | hindcast_surface_bcs = false |
| Whether hindcast surface boundary conditions are enabled. More... | |
| amrex::Real | hindcast_lateral_sponge_strength = -one |
| Strength of the hindcast lateral sponge layer. More... | |
| amrex::Real | hindcast_lateral_sponge_length = -one |
| Length of the hindcast lateral sponge layer. More... | |
| amrex::Real | hindcast_zhi_sponge_strength = -one |
| Strength of the upper hindcast sponge layer. More... | |
| amrex::Real | hindcast_zhi_sponge_length = -one |
| Length of the upper hindcast sponge layer. More... | |
| bool | hindcast_zhi_sponge_damping = false |
| Whether upper-boundary hindcast sponge damping is enabled. More... | |
| bool | io_hurricane_eye_tracker = false |
| Whether hurricane-eye tracking output is enabled. More... | |
| amrex::Real | hurricane_eye_latitude = -1e10 |
| Initial hurricane-eye latitude. More... | |
| amrex::Real | hurricane_eye_longitude = -1e10 |
| Initial hurricane-eye longitude. More... | |
| bool | is_init_for_ensemble = false |
| Whether initialization is for an ensemble simulation. More... | |
| int | n_ensemble = -1 |
| Number of ensemble members. More... | |
| amrex::Real | ens_pert_correlated_radius = -1.0 |
| Spatial correlation radius for ensemble perturbations. More... | |
| amrex::Real | ens_pert_amplitude = -1.0 |
| Amplitude of ensemble initialization perturbations. More... | |
| std::string | coarse_bckgnd_data_file |
| Coarse background data file used for ensemble initialization. More... | |
Static Public Attributes | |
| static InitType | init_type = InitType::None |
| Initial-condition source selected for the run. More... | |
| static SoundingType | sounding_type = SoundingType::Ideal |
| Interpretation used for input sounding profiles. More... | |
| static TerrainType | terrain_type = TerrainType::None |
| Terrain or immersed-boundary representation. More... | |
| static BuildingsType | buildings_type = BuildingsType::None |
| Building representation. More... | |
| static bool | use_real_bcs = false |
| Whether real-data lateral boundary conditions are used. More... | |
| static MeshType | mesh_type = MeshType::ConstantDz |
| Vertical mesh representation. More... | |
Container holding many of the algorithmic options and parameters
|
inline |
Query whether any level uses a turbulent perturbation mode.
|
inline |
Build constant-latitude Coriolis forcing parameters.
| pp_prefix | ParmParse prefix for the ERF input namespace. |
Referenced by init_params().


|
inline |
Validate solver options after geometry and boundary conditions are known.
| max_level | Maximum AMR level configured for the run. |
| geom_vect | Geometry for each AMR level. |
| phys_bc_type | Physical boundary-condition types. |

|
inline |
Print the configured solver, physics, and transport options.
| max_level | Maximum AMR level configured for the run. |
| pp_prefix | ParmParse prefix used to display nested choices. |

|
inline |
Read solver-wide algorithmic options from the input parameter database.
| max_level | Maximum AMR level configured for the run. |
| pp_prefix | ParmParse prefix for the ERF input namespace. |

|
inlinenoexcept |
Query whether the active PBL scheme suppresses microphysics condensation.

|
inline |
Read one integer value or one value per AMR level.
| max_level | Maximum AMR level configured for the run. |
| string_to_read | ParmParse key to read. |
| vec_to_fill | Destination vector with one entry per level. |
| default_int | Default value used when the key is absent. |
Referenced by init_params().


|
inlinestatic |
Override the globally selected mesh type.
| new_mesh_type | Mesh type to store. |
Referenced by ERF::check_mesh_type(), and ProblemBase::init_custom_terrain().

|
inline |
Query whether direct turbulent perturbations are enabled on a level.
| lev | AMR level index. |
|
inline |
Query whether any turbulent perturbation mode is enabled on a level.
| lev | AMR level index. |
|
inline |
Query whether source-term turbulent perturbations are enabled on a level.
| lev | AMR level index. |
Referenced by make_sources().

|
inline |
Query whether vertical-velocity CPM perturbations are enabled on a level.
| lev | AMR level index. |
|
inlinenoexcept |
Query whether any SHOC-family PBL scheme is active.
Referenced by Kessler::Define(), Morrison::Define(), SAM::Define(), SatAdj::Define(), WSM6::Define(), init_params(), and pbl_suppresses_microphysics_condensation().

| SolverChoice::abl_driver_type |
Atmospheric boundary-layer driver type.
Referenced by build_coriolis_forcings_const_lat(), display(), and init_params().
| SolverChoice::abl_geo_forcing |
Applied geostrophic-wind forcing vector.
Referenced by build_coriolis_forcings_const_lat(), display(), init_params(), and make_mom_sources().
| SolverChoice::abl_geo_wind_table |
Path to a time-varying geostrophic wind table.
Referenced by build_coriolis_forcings_const_lat(), and init_params().
| SolverChoice::abl_pressure_grad |
Applied ABL pressure-gradient forcing vector.
Referenced by display(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::advChoice |
Advection-related options.
Referenced by ERF::ComputeGhostCells(), display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::anelastic |
Per-level flag selecting anelastic dynamics.
Referenced by display(), ERF::ERF_shared(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), and make_gradp_pert().
| SolverChoice::ave_plane {2} |
Averaging plane index used by diagnostics.
Referenced by SAM::Define(), WSM6::Define(), init_params(), make_mom_sources(), and make_sources().
| SolverChoice::bdy_moist_nudge_type = 0 |
Moist-variable nudging strategy in boundary regions.
Referenced by init_params().
| SolverChoice::bdy_nudge_factor = amrex::Real(10.0) |
Boundary sponge nudging factor.
Referenced by init_params().
| amrex::Real SolverChoice::bdy_rho_nudge_factor = amrex::Real(-1.0) |
Referenced by init_params().
| SolverChoice::beta_s = amrex::Real(0.1) |
Time off-centering coefficient for forward weighting.
Referenced by init_params().
|
inlinestatic |
Building representation.
Referenced by display(), ERF::ERF_shared(), init_params(), make_mom_sources(), and make_sources().
| SolverChoice::buoyancy_type |
Per-level buoyancy formulation selector.
Referenced by check_params(), display(), init_params(), and make_buoyancy().
| SolverChoice::c_p = Cp_d |
Specific heat at constant pressure for dry air [J/(kg-K)].
Referenced by Kessler::Define(), SAM::Define(), SatAdj::Define(), and init_params().
| SolverChoice::coarse_bckgnd_data_file |
Coarse background data file used for ensemble initialization.
Referenced by init_params().
| SolverChoice::const_massflux_layer_hi = amrex::Real( bogus_large_value) |
Upper height of the constant-mass-flux forcing layer.
Referenced by ERF::ERF_shared(), and init_params().
| SolverChoice::const_massflux_layer_lo = amrex::Real(-bogus_large_value) |
Lower height of the constant-mass-flux forcing layer.
Referenced by ERF::ERF_shared(), and init_params().
| SolverChoice::const_massflux_tau = one |
Relaxation time scale for constant-mass-flux forcing.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::const_massflux_u = zero |
Target constant mass flux in the x direction.
Referenced by check_params(), ERF::ERF_shared(), init_params(), and make_mom_sources().
| SolverChoice::const_massflux_v = zero |
Target constant mass flux in the y direction.
Referenced by check_params(), ERF::ERF_shared(), init_params(), and make_mom_sources().
| SolverChoice::coriolis_3d = true |
Whether the three-dimensional Coriolis terms are included.
Referenced by build_coriolis_forcings_const_lat().
| SolverChoice::coriolis_factor = zero |
Twice the planetary rotation rate used for Coriolis forcing.
Referenced by build_coriolis_forcings_const_lat(), init_params(), and make_mom_sources().
| SolverChoice::cosphi = zero |
Cosine of the latitude used for Coriolis forcing.
Referenced by build_coriolis_forcings_const_lat(), and make_mom_sources().
| SolverChoice::coupling_type |
Multilevel coupling strategy.
Referenced by display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::custom_forcing_prim_vars = false |
Whether custom forcing operates on primitive variables.
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::custom_geostrophic_profile = false |
Whether a custom geostrophic wind profile is used.
Referenced by init_params().
| SolverChoice::custom_moisture_forcing = false |
Whether custom moisture forcing is enabled.
Referenced by init_params(), and make_sources().
| SolverChoice::custom_rhotheta_forcing = false |
Whether custom rho-theta forcing is enabled.
Referenced by init_params(), and make_sources().
| SolverChoice::custom_w_subsidence = false |
Whether custom vertical subsidence is enabled.
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::dampingChoice |
Damping-related options.
Referenced by display(), init_params(), make_mom_sources(), and make_sources().
| SolverChoice::diffChoice |
Diffusion-related options.
Referenced by check_params(), DiffusionSrcForMom_EB(), display(), erf_make_tau_terms(), erf_slow_rhs_post(), erf_slow_rhs_pre(), ImplicitDiffForMomLU_N(), ImplicitDiffForMomLU_S(), ImplicitDiffForMomLU_T(), and init_params().
| SolverChoice::do_forest_drag {false} |
Whether forest canopy drag is enabled.
Referenced by make_mom_sources().
| SolverChoice::do_mom_advection = true |
Whether custom vertical subsidence is applied to momentum.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::do_theta_advection = true |
Whether custom vertical subsidence is applied to rho-theta.
Referenced by init_params(), and make_sources().
| SolverChoice::dz0 |
Initial vertical grid spacing for stretched-grid setup.
Referenced by ERF::ERF_shared(), and init_params().
| SolverChoice::ebChoice |
Embedded-boundary options.
Referenced by DiffusionSrcForMom_EB(), DiffusionSrcForState_EB(), display(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::ens_pert_amplitude = -1.0 |
Amplitude of ensemble initialization perturbations.
Referenced by init_params().
| SolverChoice::ens_pert_correlated_radius = -1.0 |
Spatial correlation radius for ensemble perturbations.
Referenced by init_params().
| SolverChoice::fixed_density |
Per-level flag selecting fixed-density treatment.
Referenced by display(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::force_stage1_single_substep = 1 |
Flag forcing a single substep in the first RK stage.
Referenced by init_params().
| SolverChoice::forest_substep = false |
Whether canopy source terms are applied only during substeps.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::four_stream_radiation = false |
Whether the four-stream radiation approximation is enabled.
Referenced by init_params(), and make_sources().
| SolverChoice::gradp_type = 0 |
Terrain-fitted horizontal pressure-gradient formulation.
Referenced by display(), init_params(), and make_gradp_pert().
| SolverChoice::gravity |
Effective gravitational acceleration.
Referenced by ComputeTurbulentViscosity(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), and make_buoyancy().
| SolverChoice::grid_stretching_ratio = 0 |
Vertical grid stretching ratio.
Referenced by ERF::ERF_shared(), and init_params().
| SolverChoice::have_geo_wind_profile {false} |
Whether a geostrophic wind profile has been configured.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::hindcast_boundary_data_dir |
Directory containing hindcast lateral boundary data.
Referenced by init_params().
| SolverChoice::hindcast_data_interval_in_hrs = -one |
Time interval between hindcast data files [hr].
Referenced by init_params().
| SolverChoice::hindcast_lateral_forcing = false |
Whether hindcast lateral forcing is enabled.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::hindcast_lateral_sponge_length = -one |
Length of the hindcast lateral sponge layer.
Referenced by ApplyBndryForcing_Forecast(), and init_params().
| SolverChoice::hindcast_lateral_sponge_strength = -one |
Strength of the hindcast lateral sponge layer.
Referenced by ApplyBndryForcing_Forecast(), and init_params().
| SolverChoice::hindcast_surface_bcs = false |
Whether hindcast surface boundary conditions are enabled.
Referenced by init_params().
| SolverChoice::hindcast_surface_data_dir |
Directory containing hindcast surface boundary data.
Referenced by init_params().
| SolverChoice::hindcast_zhi_sponge_damping = false |
Whether upper-boundary hindcast sponge damping is enabled.
Referenced by ApplyBndryForcing_Forecast(), and init_params().
| SolverChoice::hindcast_zhi_sponge_length = -one |
Length of the upper hindcast sponge layer.
Referenced by ApplyBndryForcing_Forecast(), and init_params().
| SolverChoice::hindcast_zhi_sponge_strength = -one |
Strength of the upper hindcast sponge layer.
Referenced by ApplyBndryForcing_Forecast(), and init_params().
| SolverChoice::hurricane_eye_latitude = -1e10 |
Initial hurricane-eye latitude.
Referenced by ERF::HurricaneEyeTracker(), and init_params().
| SolverChoice::hurricane_eye_longitude = -1e10 |
Initial hurricane-eye longitude.
Referenced by ERF::HurricaneEyeTracker(), and init_params().
| SolverChoice::if_Cd_momentum = amrex::Real(50.0) |
Immersed-forcing drag coefficient for momentum.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::if_Cd_scalar = amrex::Real(10.0) |
Immersed-forcing drag coefficient for scalars.
Referenced by init_params(), and make_sources().
| SolverChoice::if_damp_alpha = 0.5 |
Immersed-forcing damping coefficient.
Referenced by init_params(), and make_mom_sources().
| bool SolverChoice::if_implicit_drag = false |
Referenced by init_params(), and make_mom_sources().
| SolverChoice::if_init_surf_temp = zero |
Initial immersed-forcing surface temperature [K].
Referenced by init_params(), and make_sources().
| SolverChoice::if_Olen_in = amrex::Real(1e-8) |
Input Obukhov length for immersed-forcing MOST [m].
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::if_stability_correction = false |
Whether immersed-forcing stability corrections are enabled.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::if_surf_heating_rate = zero |
Immersed-forcing surface heating rate [K/hr].
Referenced by init_params(), and make_sources().
| SolverChoice::if_surf_temp_flux = amrex::Real(1e-8) |
Immersed-forcing surface temperature flux [K m/s].
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::if_use_most = false |
Whether immersed-forcing MOST is enabled.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::if_ws_floor = 0.001 |
Wind-speed floor for immersed-forcing MOST [m/s].
Referenced by init_params(), and make_mom_sources().
| SolverChoice::if_z0 = amrex::Real(0.1) |
Immersed-forcing roughness length [m].
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::immersed_forcing_substep = false |
Whether immersed-forcing source terms are applied only during substeps.
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::implicit_before_substep = true |
Whether implicit diffusion is applied before acoustic substepping.
Referenced by init_params().
| SolverChoice::implicit_ke_diffusion = true |
Whether implicit vertical TKE diffusion is included.
Referenced by display(), erf_slow_rhs_post(), and init_params().
| SolverChoice::implicit_moisture_diffusion = true |
Whether implicit vertical moisture diffusion is included.
Referenced by check_params(), display(), erf_slow_rhs_post(), and init_params().
| SolverChoice::implicit_momentum_diffusion = true |
Whether implicit vertical momentum diffusion is included.
Referenced by display(), erf_make_tau_terms(), and init_params().
| SolverChoice::implicit_thermal_diffusion = true |
Whether implicit vertical thermal diffusion is included.
Referenced by check_params(), display(), erf_slow_rhs_pre(), and init_params().
|
inlinestatic |
Initial-condition source selected for the run.
Referenced by ERF::ComputeGlobalMinLocation(), ERF::HurricaneEyeTrackerInitial(), init_params(), and make_mom_sources().
| SolverChoice::io_hurricane_eye_tracker = false |
Whether hurricane-eye tracking output is enabled.
Referenced by init_params().
| SolverChoice::is_init_for_ensemble = false |
Whether initialization is for an ensemble simulation.
Referenced by init_params().
| SolverChoice::is_land |
Per-level land/water selector.
Referenced by init_params().
| SolverChoice::lsm_type |
Land-surface model.
Referenced by ERF::ApplyOceanSurfaceState(), init_params(), and Radiation::Radiation().
| SolverChoice::massflux_khi {0} |
Upper vertical index for constant-mass-flux forcing.
Referenced by ERF::ERF_shared(), and make_mom_sources().
| SolverChoice::massflux_klo {0} |
Lower vertical index for constant-mass-flux forcing.
Referenced by ERF::ERF_shared(), and make_mom_sources().
|
inlinestatic |
Vertical mesh representation.
Referenced by ERF::AverageDownTo(), ERF::check_mesh_type(), ERF::compute_divergence(), compute_gradp_interpz(), compute_gradp_xy(), compute_gradp_z(), display(), erf_make_tau_terms(), ERF::ERF_shared(), erf_slow_rhs_post(), erf_slow_rhs_pre(), plotfile2d::fill_condensed_water_paths(), ProblemBase::init_custom_terrain(), init_params(), ERF::init_zphys(), ERF::InitData_post(), make_mom_sources(), ERF::make_physbcs(), make_sources(), ERF::MakeNewLevelFromCoarse(), ERF::post_timestep(), ERF::read_box_for_refinement(), ERF::ReadCheckpointFile(), ERF::RemakeLevel(), set_mesh_type(), ERF::sum_derived_quantities(), ERF::sum_energy_quantities(), ERF::update_terrain_arrays(), ERF::volWgtColumnSum(), ERF::volWgtSumMF(), ERF::Write3DPlotFile(), ERF::WriteCheckpointFile(), and writeNCPlotFile().
| SolverChoice::moisture_indices |
Conserved-state component indices for active moisture species.
Referenced by plotfile2d::active_condensed_water_path_descriptors(), plotfile2d::available_diagnostic_names(), ComputeTurbulentViscosity(), init_params(), ERF::PackAtmosphericStates(), Radiation::Radiation(), and plotfile2d::selected_condensed_water_path_components().
| SolverChoice::moisture_tight_coupling {false} |
Whether moisture updates use tight coupling.
Referenced by init_params().
| SolverChoice::moisture_type |
Moisture or microphysics model.
Referenced by Morrison::Advance(), Kessler::AdvanceKessler(), plotfile2d::available_diagnostic_names(), check_params(), SAM::Cloud(), Kessler::Define(), Morrison::Define(), SAM::Define(), WSM6::Define(), display(), ERF::ERF_shared(), erf_slow_rhs_post(), erf_slow_rhs_pre(), ERF::HurricaneEyeTracker(), SAM::IceFall(), init_params(), make_buoyancy(), make_gradp_pert(), make_sources(), ERF::PackAtmosphericStates(), SAM::Precip(), SAM::PrecipFall(), and Radiation::Radiation().
| SolverChoice::n_ensemble = -1 |
Number of ensemble members.
Referenced by init_params().
| SolverChoice::ncorr = 1 |
Number of projection correction iterations.
Referenced by init_params().
| SolverChoice::nudging_from_input_sounding = false |
Whether solution fields are nudged toward input sounding data.
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::num_diff_coeff {zero} |
Numerical diffusion coefficient after input scaling.
Referenced by init_params(), make_mom_sources(), and make_sources().
| SolverChoice::pert_type |
Turbulent perturbation type for each AMR level.
Referenced by any_perturbation(), init_params(), use_direct_perturbation(), use_perturbation(), use_source_perturbation(), and use_wvel_perturbation().
| SolverChoice::poisson_abstol = amrex::Real(1e-8) |
Absolute tolerance for the Poisson solve.
Referenced by init_params().
| SolverChoice::poisson_reltol = amrex::Real(1e-8) |
Relative tolerance for the Poisson solve.
Referenced by init_params().
| SolverChoice::project_initial_velocity |
Per-level flag for projecting the initial velocity.
Referenced by ERF::ERF_shared(), and init_params().
| SolverChoice::rad_type |
Radiation model.
Referenced by display(), ERF::ERF_shared(), init_params(), and make_sources().
| SolverChoice::rdOcp |
Ratio of dry-air gas constant to c_p.
Referenced by Morrison::Define(), SAM::Define(), SatAdj::Define(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), and make_buoyancy().
| SolverChoice::rebalance_wrf_input = true |
Whether to rebalance states from wrfinput and wrfbdy data.
Referenced by init_params().
| SolverChoice::sampling_distance_by_D = -one |
Turbine inflow sampling distance normalized by rotor diameter.
Referenced by check_params(), and init_params().
| SolverChoice::sinphi = zero |
Sine of the latitude used for Coriolis forcing.
Referenced by build_coriolis_forcings_const_lat(), init_params(), and make_mom_sources().
|
inlinestatic |
Interpretation used for input sounding profiles.
Referenced by init_params().
| SolverChoice::spatial_moisture_forcing = false |
Whether spatially varying moisture forcing is enabled.
Referenced by init_params(), and make_sources().
| SolverChoice::spatial_rhotheta_forcing = false |
Whether spatially varying rho-theta forcing is enabled.
Referenced by init_params(), and make_sources().
| SolverChoice::spongeChoice |
Sponge-layer options.
Referenced by display(), init_params(), make_mom_sources(), and make_sources().
| SolverChoice::substepping_diag = false |
Whether to emit extra CFL diagnostics for compressible substepping.
Referenced by init_params().
| SolverChoice::substepping_type |
Acoustic substepping type for each AMR level.
Referenced by display(), and init_params().
|
inlinestatic |
Terrain or immersed-boundary representation.
Referenced by ERF::AverageDownTo(), check_params(), compute_gradp_xy(), compute_gradp_z(), ERF::ComputeGhostCells(), ComputeTurbulentViscosity(), display(), erf_make_tau_terms(), ERF::ERF_shared(), erf_slow_rhs_post(), erf_slow_rhs_pre(), ERF::ErrorEst(), init_params(), ERF::InitData_post(), make_buoyancy(), make_gradp_pert(), make_mom_sources(), make_sources(), ERF::setPlotVariables(), ERF::setSubVolVariables(), ERF::update_diffusive_arrays(), ERF::update_terrain_arrays(), and ERF::volWgtSumMF().
| SolverChoice::test_mapfactor = false |
Whether to use test map scale factors.
Referenced by init_params().
| SolverChoice::time_avg_vel = false |
Whether time-averaged velocity fields are output.
Referenced by init_params().
| SolverChoice::transport_scalar = true |
Whether the passive scalar component is transported.
Referenced by erf_slow_rhs_post(), and init_params().
| SolverChoice::turb_disk_angle = -one |
Turbine disk angle from the x axis [deg].
Referenced by check_params(), and init_params().
| SolverChoice::turbChoice |
Turbulence options for each AMR level.
Referenced by check_params(), ComputeTurbulentViscosity(), display(), erf_make_tau_terms(), ERF::ERF_shared(), erf_slow_rhs_post(), erf_slow_rhs_pre(), ImplicitDiffForMomLU_N(), ImplicitDiffForMomLU_S(), ImplicitDiffForMomLU_T(), init_params(), and make_sources().
| SolverChoice::use_coriolis = false |
Whether Coriolis forcing is enabled.
Referenced by display(), init_params(), and make_mom_sources().
| SolverChoice::use_eamxx_shoc = false |
Whether any level uses the EAMxx SHOC PBL scheme.
Referenced by init_params(), and uses_shoc_family().
| SolverChoice::use_gravity = false |
Whether gravitational forcing is enabled.
Referenced by display(), and init_params().
| SolverChoice::use_lagged_delta_rt = true |
Whether to use lagged delta terms for moving terrain.
Referenced by check_params(), and init_params().
| SolverChoice::use_native_shoc = false |
Whether any level uses the native SHOC PBL scheme.
Referenced by init_params(), and uses_shoc_family().
| SolverChoice::use_num_diff {false} |
Whether sixth-order numerical diffusion is enabled.
Referenced by ERF::ComputeGhostCells(), init_params(), and make_sources().
| SolverChoice::use_pert_pres_gradient = true |
Whether momentum equations use perturbational pressure gradients.
Referenced by init_params(), and make_gradp_pert().
|
inlinestatic |
Whether real-data lateral boundary conditions are used.
Referenced by init_params().
| SolverChoice::use_rotate_surface_flux = false |
Whether MOST surface fluxes are rotated with terrain.
Referenced by erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
| bool SolverChoice::use_wrf_bdy_density = false |
Referenced by init_params().
| bool SolverChoice::use_wrf_height_grid {true} |
Referenced by init_params().
| SolverChoice::variable_coriolis {false} |
Whether spatially varying Coriolis forcing is enabled.
Referenced by init_params(), and make_mom_sources().
| SolverChoice::vert_implicit_fac |
Per-level, per-stage implicit vertical diffusion factors.
Referenced by check_params(), display(), erf_make_tau_terms(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
| SolverChoice::windfarm_airfoil_tables |
Wind-farm airfoil table paths.
Referenced by init_params().
| SolverChoice::windfarm_blade_table |
Wind-farm blade table path.
Referenced by init_params().
| SolverChoice::windfarm_loc_table |
Wind-farm location table path.
Referenced by init_params().
| SolverChoice::windfarm_loc_type |
Coordinate system for wind-farm turbine locations.
Referenced by check_params(), and init_params().
| SolverChoice::windfarm_spec_table |
Wind-farm turbine specification table path.
Referenced by init_params().
| SolverChoice::windfarm_spec_table_extra |
Additional wind-farm turbine specification table path.
Referenced by init_params().
| SolverChoice::windfarm_type |
Wind-farm model.
Referenced by check_params(), and init_params().
| SolverChoice::windfarm_x_shift = -one |
Wind-farm x-coordinate shift.
Referenced by check_params(), and init_params().
| SolverChoice::windfarm_y_shift = -one |
Wind-farm y-coordinate shift.
Referenced by check_params(), and init_params().
| SolverChoice::zsurf = zero |
Nominal surface height for stretched-grid setup.
Referenced by ERF::ERF_shared(), and init_params().