ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <ERF_DataStruct.H>
Public Member Functions | |
void | init_params (int max_level) |
void | check_params (int max_level) |
void | display (int max_level) |
void | build_coriolis_forcings () |
void | read_int_string (int max_level, const char *string_to_read, amrex::Vector< int > &vec_to_fill, int default_int) |
Static Public Member Functions | |
static void | set_flat_terrain_flag () |
Public Attributes | |
AdvChoice | advChoice |
DiffChoice | diffChoice |
SpongeChoice | spongeChoice |
amrex::Vector< TurbChoice > | turbChoice |
std::string | pp_prefix {"erf"} |
int | force_stage1_single_substep = 1 |
amrex::Vector< SubsteppingType > | substepping_type |
amrex::Vector< int > | anelastic |
int | constant_density = 0 |
int | ncorr = 1 |
amrex::Real | poisson_abstol = 1e-10 |
amrex::Real | poisson_reltol = 1e-10 |
bool | test_mapfactor = false |
int | buoyancy_type = 1 |
bool | use_gravity = false |
bool | use_coriolis = false |
bool | coriolis_3d = true |
bool | rayleigh_damp_U = false |
bool | rayleigh_damp_V = false |
bool | rayleigh_damp_W = false |
bool | rayleigh_damp_T = false |
amrex::Real | rayleigh_dampcoef = 0.2 |
amrex::Real | rayleigh_zdamp = 500.0 |
amrex::Real | rayleigh_ztop |
bool | use_lagged_delta_rt = true |
amrex::Real | gravity |
amrex::Real | c_p = Cp_d |
amrex::Real | rdOcp |
amrex::Real | grid_stretching_ratio = 0 |
amrex::Real | zsurf = 0.0 |
amrex::Real | dz0 |
bool | project_initial_velocity = false |
amrex::Real | coriolis_factor = 0.0 |
amrex::Real | cosphi = 0.0 |
amrex::Real | sinphi = 0.0 |
bool | custom_rhotheta_forcing = false |
bool | custom_moisture_forcing = false |
bool | custom_w_subsidence = false |
bool | custom_geostrophic_profile = false |
bool | custom_forcing_prim_vars = false |
bool | nudging_from_input_sounding = false |
bool | use_explicit_most = false |
bool | use_rotate_most = false |
bool | time_avg_vel = false |
PerturbationType | pert_type |
bool | use_num_diff {false} |
amrex::Real | num_diff_coeff {0.} |
bool | use_mono_adv {false} |
CouplingType | coupling_type |
MoistureType | moisture_type |
WindFarmType | windfarm_type |
WindFarmLocType | windfarm_loc_type |
LandSurfaceType | lsm_type |
ABLDriverType | abl_driver_type |
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | abl_pressure_grad |
amrex::GpuArray< amrex::Real, AMREX_SPACEDIM > | abl_geo_forcing |
std::string | abl_geo_wind_table |
bool | have_geo_wind_profile {false} |
int | ave_plane {2} |
bool | do_cloud {true} |
bool | do_precip {true} |
bool | use_moist_background {false} |
int | RhoQv_comp {-1} |
int | RhoQc_comp {-1} |
int | RhoQr_comp {-1} |
std::string | windfarm_loc_table |
std::string | windfarm_spec_table |
std::string | windfarm_spec_table_extra |
std::string | windfarm_blade_table |
std::string | windfarm_airfoil_tables |
amrex::Real | sampling_distance_by_D = -1.0 |
amrex::Real | turb_disk_angle = -1.0 |
amrex::Real | windfarm_x_shift = -1.0 |
amrex::Real | windfarm_y_shift = -1.0 |
bool | do_forest_drag {false} |
bool | do_terrain_drag {false} |
Static Public Attributes | |
static bool | terrain_is_flat = false |
static TerrainType | terrain_type = TerrainType::None |
static MeshType | mesh_type = MeshType::ConstantDz |
Container holding many of the algorithmic options and parameters
|
inline |
Referenced by init_params().
|
inline |
Referenced by init_params().
|
inline |
|
inline |
|
inline |
Referenced by init_params().
|
inlinestatic |
ABLDriverType SolverChoice::abl_driver_type |
Referenced by build_coriolis_forcings(), display(), and init_params().
amrex::GpuArray<amrex::Real, AMREX_SPACEDIM> SolverChoice::abl_geo_forcing |
Referenced by build_coriolis_forcings(), display(), init_params(), and make_mom_sources().
std::string SolverChoice::abl_geo_wind_table |
Referenced by build_coriolis_forcings(), and init_params().
amrex::GpuArray<amrex::Real, AMREX_SPACEDIM> SolverChoice::abl_pressure_grad |
Referenced by display(), erf_slow_rhs_pre(), and init_params().
AdvChoice SolverChoice::advChoice |
Referenced by display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
amrex::Vector<int> SolverChoice::anelastic |
Referenced by display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), and make_mom_sources().
int SolverChoice::ave_plane {2} |
Referenced by Kessler::Define(), SAM::Define(), init_params(), make_mom_sources(), and make_sources().
int SolverChoice::buoyancy_type = 1 |
Referenced by check_params(), display(), init_params(), and make_buoyancy().
amrex::Real SolverChoice::c_p = Cp_d |
Referenced by Kessler::Define(), SAM::Define(), SatAdj::Define(), and init_params().
int SolverChoice::constant_density = 0 |
Referenced by erf_slow_rhs_pre(), and init_params().
bool SolverChoice::coriolis_3d = true |
Referenced by build_coriolis_forcings().
amrex::Real SolverChoice::coriolis_factor = 0.0 |
Referenced by build_coriolis_forcings(), init_params(), and make_mom_sources().
amrex::Real SolverChoice::cosphi = 0.0 |
Referenced by build_coriolis_forcings(), and make_mom_sources().
CouplingType SolverChoice::coupling_type |
Referenced by display(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
bool SolverChoice::custom_forcing_prim_vars = false |
Referenced by init_params(), make_mom_sources(), and make_sources().
bool SolverChoice::custom_geostrophic_profile = false |
Referenced by init_params().
bool SolverChoice::custom_moisture_forcing = false |
Referenced by init_params(), and make_sources().
bool SolverChoice::custom_rhotheta_forcing = false |
Referenced by init_params(), and make_sources().
bool SolverChoice::custom_w_subsidence = false |
Referenced by init_params(), make_mom_sources(), and make_sources().
DiffChoice SolverChoice::diffChoice |
bool SolverChoice::do_cloud {true} |
Referenced by Kessler::Define(), SAM::Define(), and init_params().
bool SolverChoice::do_forest_drag {false} |
Referenced by make_mom_sources().
bool SolverChoice::do_precip {true} |
Referenced by Kessler::Define(), SAM::Define(), and init_params().
bool SolverChoice::do_terrain_drag {false} |
Referenced by make_mom_sources().
amrex::Real SolverChoice::dz0 |
Referenced by init_params().
int SolverChoice::force_stage1_single_substep = 1 |
Referenced by display(), and init_params().
amrex::Real SolverChoice::gravity |
Referenced by ComputeTurbulentViscosity(), erf_slow_rhs_post(), erf_slow_rhs_pre(), init_params(), and make_buoyancy().
amrex::Real SolverChoice::grid_stretching_ratio = 0 |
Referenced by init_params().
bool SolverChoice::have_geo_wind_profile {false} |
Referenced by init_params(), and make_mom_sources().
LandSurfaceType SolverChoice::lsm_type |
Referenced by init_params().
|
inlinestatic |
Referenced by ERF::AverageDownTo(), ERF::compute_divergence(), display(), ERF::ERF_shared(), erf_slow_rhs_post(), init_params(), ERF::init_stuff(), ERF::init_zphys(), ERF::InitData_post(), make_mom_sources(), ERF::make_physbcs(), ERF::MakeNewLevelFromCoarse(), ERF::ReadCheckpointFile(), ERF::refinement_criteria_setup(), ERF::remake_zphys(), ERF::RemakeLevel(), ERF::setPlotVariables(), ERF::update_terrain_arrays(), ERF::WriteCheckpointFile(), and ERF::WritePlotFile().
MoistureType SolverChoice::moisture_type |
int SolverChoice::ncorr = 1 |
Referenced by init_params().
bool SolverChoice::nudging_from_input_sounding = false |
Referenced by init_params(), make_mom_sources(), and make_sources().
amrex::Real SolverChoice::num_diff_coeff {0.} |
Referenced by init_params(), make_mom_sources(), and make_sources().
PerturbationType SolverChoice::pert_type |
Referenced by init_params(), and make_sources().
amrex::Real SolverChoice::poisson_abstol = 1e-10 |
Referenced by init_params().
amrex::Real SolverChoice::poisson_reltol = 1e-10 |
Referenced by init_params().
std::string SolverChoice::pp_prefix {"erf"} |
Referenced by build_coriolis_forcings(), and init_params().
bool SolverChoice::project_initial_velocity = false |
Referenced by init_params().
bool SolverChoice::rayleigh_damp_T = false |
Referenced by init_params(), and make_sources().
bool SolverChoice::rayleigh_damp_U = false |
Referenced by init_params(), and make_mom_sources().
bool SolverChoice::rayleigh_damp_V = false |
Referenced by init_params(), and make_mom_sources().
bool SolverChoice::rayleigh_damp_W = false |
Referenced by init_params(), and make_mom_sources().
amrex::Real SolverChoice::rayleigh_dampcoef = 0.2 |
Referenced by init_params(), make_mom_sources(), and make_sources().
amrex::Real SolverChoice::rayleigh_zdamp = 500.0 |
Referenced by init_params(), make_mom_sources(), and make_sources().
amrex::Real SolverChoice::rayleigh_ztop |
Referenced by make_mom_sources(), and make_sources().
amrex::Real SolverChoice::rdOcp |
Referenced by SAM::Define(), SatAdj::Define(), init_params(), and make_buoyancy().
int SolverChoice::RhoQc_comp {-1} |
Referenced by ComputeTurbulentViscosity(), DiffusionSrcForState_N(), DiffusionSrcForState_T(), and init_params().
int SolverChoice::RhoQr_comp {-1} |
Referenced by ComputeTurbulentViscosity(), DiffusionSrcForState_N(), DiffusionSrcForState_T(), and init_params().
int SolverChoice::RhoQv_comp {-1} |
Referenced by ComputeTurbulentViscosity(), DiffusionSrcForState_N(), DiffusionSrcForState_T(), and init_params().
amrex::Real SolverChoice::sampling_distance_by_D = -1.0 |
Referenced by check_params(), and init_params().
amrex::Real SolverChoice::sinphi = 0.0 |
Referenced by build_coriolis_forcings(), init_params(), and make_mom_sources().
SpongeChoice SolverChoice::spongeChoice |
Referenced by display(), init_params(), make_mom_sources(), and make_sources().
amrex::Vector<SubsteppingType> SolverChoice::substepping_type |
Referenced by display(), and init_params().
|
inlinestatic |
Referenced by set_flat_terrain_flag().
|
inlinestatic |
bool SolverChoice::test_mapfactor = false |
Referenced by init_params().
bool SolverChoice::time_avg_vel = false |
Referenced by init_params().
amrex::Real SolverChoice::turb_disk_angle = -1.0 |
Referenced by check_params(), and init_params().
amrex::Vector<TurbChoice> SolverChoice::turbChoice |
bool SolverChoice::use_coriolis = false |
Referenced by display(), init_params(), and make_mom_sources().
bool SolverChoice::use_explicit_most = false |
Referenced by erf_make_tau_terms(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
bool SolverChoice::use_gravity = false |
Referenced by display(), and init_params().
bool SolverChoice::use_lagged_delta_rt = true |
Referenced by check_params(), and init_params().
bool SolverChoice::use_moist_background {false} |
Referenced by init_params().
bool SolverChoice::use_mono_adv {false} |
Referenced by erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
bool SolverChoice::use_num_diff {false} |
Referenced by init_params(), and make_sources().
bool SolverChoice::use_rotate_most = false |
Referenced by erf_make_tau_terms(), erf_slow_rhs_post(), erf_slow_rhs_pre(), and init_params().
std::string SolverChoice::windfarm_airfoil_tables |
Referenced by init_params().
std::string SolverChoice::windfarm_blade_table |
Referenced by init_params().
std::string SolverChoice::windfarm_loc_table |
Referenced by init_params().
WindFarmLocType SolverChoice::windfarm_loc_type |
Referenced by check_params(), and init_params().
std::string SolverChoice::windfarm_spec_table |
Referenced by init_params().
std::string SolverChoice::windfarm_spec_table_extra |
Referenced by init_params().
WindFarmType SolverChoice::windfarm_type |
Referenced by check_params(), and init_params().
amrex::Real SolverChoice::windfarm_x_shift = -1.0 |
Referenced by check_params(), and init_params().
amrex::Real SolverChoice::windfarm_y_shift = -1.0 |
Referenced by check_params(), and init_params().
amrex::Real SolverChoice::zsurf = 0.0 |
Referenced by init_params().