8 #include <AMReX_FArrayBox.H>
9 #include <AMReX_Geometry.H>
10 #include <AMReX_MultiFabUtil.H>
28 using FabPtr = std::shared_ptr<amrex::MultiFab>;
48 Init (
const amrex::MultiFab& cons_in,
49 const amrex::Geometry& geom,
50 const amrex::Real& dt)
override;
79 AMREX_ALWAYS_ASSERT(lsmIdx < MM5::m_lsm_size && lsmIdx>=0);
88 AMREX_ALWAYS_ASSERT(lsmIdx < MM5::m_lsm_size && lsmIdx>=0);
105 AMREX_ALWAYS_ASSERT(lsmIdx < MM5::m_lsm_size && lsmIdx>=0);
void Init(const amrex::MultiFab &cons_in, const amrex::Geometry &geom, const amrex::Real &dt) override
Definition: ERF_MM5.cpp:7
amrex::Real m_cp_soil
Definition: ERF_MM5.H:152
void ComputeFluxes()
Definition: ERF_MM5.cpp:82
std::shared_ptr< amrex::MultiFab > FabPtr
Definition: ERF_MM5.H:28
MM5()
Definition: ERF_MM5.H:32
amrex::Array< FabPtr, LsmVar_MM5::NumVars > lsm_fab_vars
Definition: ERF_MM5.H:138
amrex::Real m_d_soil
Definition: ERF_MM5.H:161
void Advance(const amrex::Real &dt) override
Definition: ERF_MM5.H:54
int m_lsm_size
Definition: ERF_MM5.H:111
amrex::Real m_dt
Definition: ERF_MM5.H:126
amrex::Vector< int > LsmVarMap
Definition: ERF_MM5.H:114
void AdvanceMM5()
Definition: ERF_MM5.cpp:107
amrex::MultiFab * Lsm_Data_Ptr(const int &varIdx) override
Definition: ERF_MM5.H:76
amrex::Geometry m_lsm_geom
Definition: ERF_MM5.H:123
int khi_lsm
Definition: ERF_MM5.H:129
amrex::Array< FabPtr, LsmVar_MM5::NumVars > lsm_fab_flux
Definition: ERF_MM5.H:141
amrex::Real m_dz_lsm
Definition: ERF_MM5.H:149
amrex::MultiFab * Lsm_Flux_Ptr(const int &varIdx) override
Definition: ERF_MM5.H:85
amrex::Geometry m_geom
Definition: ERF_MM5.H:120
int m_nz_lsm
Definition: ERF_MM5.H:146
void ComputeTsurf()
Definition: ERF_MM5.cpp:63
amrex::Real m_theta_dir
Definition: ERF_MM5.H:158
amrex::Vector< std::string > LsmVarName
Definition: ERF_MM5.H:117
amrex::Geometry Lsm_Geom() override
Definition: ERF_MM5.H:94
int Lsm_Data_Size() override
Definition: ERF_MM5.H:98
amrex::Real m_k_soil
Definition: ERF_MM5.H:155
void Define(SolverChoice &) override
Definition: ERF_MM5.H:39
std::string Lsm_VarName(const int &varIdx) override
Definition: ERF_MM5.H:102
Definition: ERF_NullSurf.H:8
@ NumVars
Definition: ERF_MM5.H:21
@ theta
Definition: ERF_MM5.H:20
Definition: ERF_DataStruct.H:82