ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
#include <AMReX_REAL.H>
Go to the source code of this file.
Variables | |
constexpr amrex::Real | PI = 3.14159265358979323846264338327950288 |
constexpr amrex::Real | PIoTwo = PI/2.0 |
constexpr amrex::Real | R_d = 287.0 |
constexpr amrex::Real | R_v = 461.505 |
constexpr amrex::Real | Cp_d = 1004.5 |
constexpr amrex::Real | Cp_v = 1859.0 |
constexpr amrex::Real | Cp_l = 4200.0 |
constexpr amrex::Real | L_v = 2.5e6 |
constexpr amrex::Real | p_0 = 1.0e5 |
constexpr amrex::Real | Gamma = 1.4 |
constexpr amrex::Real | KAPPA = 0.41 |
constexpr amrex::Real | CONST_GRAV = 9.81 |
constexpr amrex::Real | ip_0 = 1./p_0 |
constexpr amrex::Real | iR_d = 1./R_d |
constexpr amrex::Real | iGamma = 1./Gamma |
constexpr amrex::Real | rhor = 1000. |
constexpr amrex::Real | rhos = 100. |
constexpr amrex::Real | rhog = 400. |
constexpr amrex::Real | tbgmin = 253.16 |
constexpr amrex::Real | tbgmax = 273.16 |
constexpr amrex::Real | tprmin = 268.16 |
constexpr amrex::Real | tprmax = 283.16 |
constexpr amrex::Real | tgrmin = 223.16 |
constexpr amrex::Real | tgrmax = 283.16 |
constexpr amrex::Real | a_rain = 842. |
constexpr amrex::Real | b_rain = 0.8 |
constexpr amrex::Real | a_snow = 4.84 |
constexpr amrex::Real | b_snow = 0.25 |
constexpr amrex::Real | a_grau = 94.5 |
constexpr amrex::Real | b_grau = 0.5 |
constexpr amrex::Real | qcw0 = 1.e-3 |
constexpr amrex::Real | qci0 = 1.e-4 |
constexpr amrex::Real | alphaelq = 1.e-3 |
constexpr amrex::Real | betaelq = 1.e-3 |
constexpr amrex::Real | erccoef = 1.0 |
constexpr amrex::Real | esccoef = 1.0 |
constexpr amrex::Real | esicoef = 0.1 |
constexpr amrex::Real | egccoef = 1.0 |
constexpr amrex::Real | egicoef = 0.1 |
constexpr amrex::Real | nzeror = 8.e6 |
constexpr amrex::Real | nzeros = 3.e6 |
constexpr amrex::Real | nzerog = 4.e6 |
constexpr amrex::Real | qp_threshold = 1.e-8 |
constexpr amrex::Real | boltz = 1.38065e-23 |
constexpr amrex::Real | avogadro = 6.02214e26 |
constexpr amrex::Real | mwdair = 28.966 |
constexpr amrex::Real | mwwv = 18.016 |
constexpr amrex::Real | lcond = 2.501e6 |
constexpr amrex::Real | lfus = 2.11727e3 |
constexpr amrex::Real | lsub = lcond+lfus |
constexpr amrex::Real | rair = boltz*avogadro/mwdair |
constexpr amrex::Real | rh20 = rair/mwwv |
constexpr amrex::Real | rga = 1.0/CONST_GRAV |
constexpr amrex::Real | diffelq = 2.21e-05 |
constexpr amrex::Real | therco = 2.40e-02 |
constexpr amrex::Real | muelq = 1.717e-05 |
constexpr amrex::Real | a_bg = 1.0/(tbgmax-tbgmin) |
constexpr amrex::Real | a_pr = 1.0/(tprmax-tprmin) |
constexpr amrex::Real | a_gr = 1.0/(tgrmax-tgrmin) |
constexpr amrex::Real | crain = b_rain / 4.0 |
constexpr amrex::Real | csnow = b_snow / 4.0 |
constexpr amrex::Real | cgrau = b_grau / 4.0 |
constexpr amrex::Real | lat_vap = 2.5e6 |
constexpr amrex::Real | lat_ice = 3.337e5 |
constexpr amrex::Real | Rd_on_Rv = R_d/R_v |
constexpr amrex::Real | tmelt = 273.15 |
constexpr amrex::Real | h2otrip = 273.15 |
constexpr amrex::Real | tboil = 373.16 |
constexpr amrex::Real | ttrice = 20.00 |
constexpr amrex::Real | epsilo = Rd_on_Rv |
constexpr amrex::Real | omeps = 1. - epsilo |
constexpr amrex::Real | rhoh2o = 1.000e3 |
static constexpr int | ORB_UNDEF_INT = 2000000000 |
|
constexpr |
Referenced by SAM::Precip().
|
constexpr |
Referenced by SAM::Precip(), SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by SAM::Precip(), SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by Kessler::AdvanceKessler(), and SAM::Precip().
|
constexpr |
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), SAM::Precip(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), SAM::Precip(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), SAM::Precip(), and SAM::PrecipFall().
|
constexpr |
Referenced by SAM::Precip().
|
constexpr |
|
constexpr |
Referenced by SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by calc_p_isothermal(), InputSoundingData::calc_rho_p(), InputSoundingData::calc_rho_p_isentropic(), TurbulentPerturbation::calc_tpi_amp(), calc_wstar(), COARE3_roughness(), rrtmgp::compute_aerocom_cloudtop(), ComputeDiffusivityMRF(), ComputeDiffusivityMYNN25(), ComputeDiffusivityMYNNEDMF(), ComputeDiffusivityYSU(), ComputeQKESourceTerms(), Kessler::Define(), Morrison::Define(), SAM::Define(), Donelan_roughness(), SurfaceLayer::fill_qsurf_with_qsat(), HSEutils::init_isentropic_hse(), HSEutils::init_isentropic_hse_terrain(), SolverChoice::init_params(), ERF::sum_energy_quantities(), and ERF::Write3DPlotFile().
|
constexpr |
Referenced by Kessler::AdvanceKessler(), InputSoundingData::calc_rho_p(), InputSoundingData::calc_rho_p_isentropic(), rrtmgp::compute_heating_rate(), ComputeLiquidWaterPotentialTemperature(), ComputeMoistStratification(), WaterVaporSat::deriv_outputs(), WaterVaporSat::findsp(), Radiation::kokkos_buffers_to_mf(), lagrange_setup(), ERF::sum_energy_quantities(), WaterVaporSat::tq_enthalpy(), and ERF::Write3DPlotFile().
|
constexpr |
Referenced by ERF::Write3DPlotFile().
|
constexpr |
Referenced by ERF::sum_energy_quantities().
|
constexpr |
Referenced by SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by SatMethods::wv_sat_svp_to_qsat().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
|
constexpr |
Referenced by SatMethods::GoffGratch_svp_ice().
|
constexpr |
Referenced by getRhogivenThetaPress(), and getRhoThetagivenP().
|
constexpr |
Referenced by getdPdRgivenConstantTheta(), getExnergivenP(), getExnergivenRTh(), getPgivenRTh(), and getTgivenRandRTh().
|
constexpr |
Referenced by getRhoThetagivenP().
|
constexpr |
|
constexpr |
|
constexpr |
Referenced by WaterVaporSat::calc_hltalt(), ComputeMoistStratification(), and WaterVaporSat::qsat_ice().
|
constexpr |
Referenced by WaterVaporSat::no_ip_hltalt(), and WaterVaporSat::qsat_ice().
|
constexpr |
|
constexpr |
Referenced by Kessler::Define(), Morrison::Define(), and SAM::Define().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), Kessler::Define(), Morrison::Define(), and SAM::Define().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
Referenced by Radiation::run_impl().
|
constexpr |
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by WaterVaporSat::deriv_outputs(), and SatMethods::wv_sat_svp_to_qsat().
|
staticconstexpr |
Referenced by orbital_params(), and Radiation::run_impl().
|
constexpr |
Referenced by calc_p_isothermal(), InputSoundingData::calc_rho_p_isentropic(), ERF::erf_enforce_hse(), erf_init_dens_hse(), getdPdRgivenConstantTheta(), getPgivenRTh(), getRhogivenThetaPress(), getRhoThetagivenP(), getTgivenPandTh(), getTgivenRandRTh(), getThgivenRandT(), getThgivenTandP(), HSEutils::init_isentropic_hse(), HSEutils::init_isentropic_hse_terrain(), and ERF::Write3DPlotFile().
|
constexpr |
Referenced by SolverChoice::build_coriolis_forcings_const_lat(), similarity_funs::calc_psi_h2(), similarity_funs::calc_psi_m2(), TurbulentPerturbation::calc_tpi_update(), compute_A(), Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), compute_source_terms_Fn_Ft(), polygon_::define(), init_which_terrain_grid(), orbital_avg_cos_zenith(), orbital_cos_zenith(), orbital_decl(), orbital_params(), SAM::PrecipFall(), Radiation::run_impl(), EWP::source_terms_cellcentered(), GeneralAD::source_terms_cellcentered(), and ERF::Write3DPlotFile().
|
constexpr |
|
constexpr |
Referenced by SAM::Precip().
|
constexpr |
Referenced by Kessler::AdvanceKessler(), and SAM::Precip().
|
constexpr |
Referenced by SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by calc_p_isothermal(), InputSoundingData::calc_rho_p(), InputSoundingData::calc_rho_p_isentropic(), SAM::Cloud(), Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), ComputeMoistStratification(), erf_fast_rhs_MT(), erf_fast_rhs_N(), erf_fast_rhs_T(), erf_init_dens_hse(), getdPdRgivenConstantTheta(), getExnergivenRTh(), getPgivenRTh(), getRhogivenTandPress(), getRhogivenThetaPress(), getRhoThetagivenP(), getTgivenRandRTh(), getThgivenRandT(), SolverChoice::init_params(), Radiation::kokkos_buffers_to_mf(), lagrange_setup(), make_fast_coeffs(), ERF::sum_energy_quantities(), and ERF::Write3DPlotFile().
|
constexpr |
Referenced by InputSoundingData::calc_rho_p_isentropic(), SAM::Cloud(), Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), ComputeMoistStratification(), WaterVaporSat::deriv_outputs(), getdPdRgivenConstantTheta(), getExnergivenRTh(), getPgivenRTh(), getRhogivenTandPress(), getRhogivenThetaPress(), getRhoThetagivenP(), getTgivenRandRTh(), getThgivenRandT(), and ERF::sum_energy_quantities().
|
constexpr |
|
constexpr |
Referenced by erf_dtqsati(), erf_dtqsatw(), erf_qsati(), and erf_qsatw().
|
constexpr |
|
constexpr |
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), SAM::Compute_Coefficients(), and SAM::PrecipFall().
|
constexpr |
Referenced by SAM::Cloud(), Morrison::NewtonIterSat(), and SAM::NewtonIterSat().
|
constexpr |
Referenced by SAM::Cloud(), Morrison::NewtonIterSat(), SAM::NewtonIterSat(), and SAM::Precip().
|
constexpr |
Referenced by SatMethods::GoffGratch_svp_water(), and SatMethods::OldGoffGratch_svp_water().
|
constexpr |
|
constexpr |
Referenced by SAM::Precip(), SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by Morrison::Compute_Coefficients(), and SAM::Compute_Coefficients().
|
constexpr |
|
constexpr |
|
constexpr |
Referenced by SAM::Precip(), SAM::PrecipFall(), and term_vel_qp().
|
constexpr |
Referenced by WaterVaporSat::calc_hltalt(), and SatMethods::wv_sat_svp_trans().