4 #ifndef ERF_BASE_STATE_PARAMS_H_
5 #define ERF_BASE_STATE_PARAMS_H_
9 #include <AMReX_REAL.H>
10 #include <AMReX_Print.H>
67 "Base state TLP must be positive");
69 "Base state TISO must be less than T00");
86 amrex::Print() <<
"WARNING: the base stratospheric layer is being ignored: P_STRAT = "
87 <<
P_STRAT <<
" Pa is not below the pressure at the base of the "
88 <<
"isothermal layer, P_iso = " <<
P_iso <<
" Pa.\n";
89 amrex::Print() <<
" TLP_STRAT = " <<
TLP_STRAT <<
" will have no effect and "
90 <<
"the atmosphere above z_iso will be isothermal at TISO = "
94 amrex::Print() <<
"Base state layer interfaces: z_iso = " <<
z_iso <<
" m";
96 amrex::Print() <<
"\n";
constexpr amrex::Real zero
Definition: ERF_Constants.H:8
constexpr amrex::Real myhalf
Definition: ERF_Constants.H:13
constexpr amrex::Real p_0
Definition: ERF_Constants.H:61
constexpr amrex::Real CONST_GRAV
Definition: ERF_Constants.H:64
constexpr amrex::Real R_d
Definition: ERF_Constants.H:47
AMREX_ALWAYS_ASSERT_WITH_MESSAGE(m_cloud_chamber_config.active, "Cloud Chamber: initializer reached without a parsed configuration")
amrex::Real Real
Definition: ERF_ShocInterface.H:19
Definition: ERF_BaseStateParams.H:35
bool is_set
Definition: ERF_BaseStateParams.H:51
void set_layer_interfaces()
Definition: ERF_BaseStateParams.H:60
amrex::Real T00
Definition: ERF_BaseStateParams.H:36
amrex::Real z_strat
Definition: ERF_BaseStateParams.H:46
amrex::Real P00
Definition: ERF_BaseStateParams.H:37
amrex::Real z_iso
Definition: ERF_BaseStateParams.H:45
amrex::Real P_iso
Definition: ERF_BaseStateParams.H:44
amrex::Real TLP
Definition: ERF_BaseStateParams.H:38
amrex::Real P_STRAT
Definition: ERF_BaseStateParams.H:41
bool use_strat
Definition: ERF_BaseStateParams.H:47
amrex::Real TLP_STRAT
Definition: ERF_BaseStateParams.H:40
bool same_params_as(const BaseStateParams &bsp) const
Definition: ERF_BaseStateParams.H:107
amrex::Real TISO
Definition: ERF_BaseStateParams.H:39