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 < SLM::m_lsm_size && lsmIdx>=0);
88 AMREX_ALWAYS_ASSERT(lsmIdx < SLM::m_lsm_size && lsmIdx>=0);
105 AMREX_ALWAYS_ASSERT(lsmIdx < SLM::m_lsm_size && lsmIdx>=0);
Definition: ERF_NullSurf.H:8
void ComputeTsurf()
Definition: ERF_SLM.cpp:63
amrex::MultiFab * Lsm_Flux_Ptr(const int &varIdx) override
Definition: ERF_SLM.H:85
SLM()
Definition: ERF_SLM.H:32
int khi_lsm
Definition: ERF_SLM.H:129
void Advance(const amrex::Real &dt) override
Definition: ERF_SLM.H:54
amrex::Array< FabPtr, LsmVar_SLM::NumVars > lsm_fab_flux
Definition: ERF_SLM.H:141
amrex::Real m_cp_soil
Definition: ERF_SLM.H:152
std::string Lsm_VarName(const int &varIdx) override
Definition: ERF_SLM.H:102
amrex::Vector< std::string > LsmVarName
Definition: ERF_SLM.H:117
amrex::Real m_dt
Definition: ERF_SLM.H:126
int m_lsm_size
Definition: ERF_SLM.H:111
amrex::Real m_d_soil
Definition: ERF_SLM.H:161
amrex::Real m_dz_lsm
Definition: ERF_SLM.H:149
amrex::Array< FabPtr, LsmVar_SLM::NumVars > lsm_fab_vars
Definition: ERF_SLM.H:138
amrex::Geometry m_geom
Definition: ERF_SLM.H:120
amrex::Geometry Lsm_Geom() override
Definition: ERF_SLM.H:94
amrex::MultiFab * Lsm_Data_Ptr(const int &varIdx) override
Definition: ERF_SLM.H:76
amrex::Real m_k_soil
Definition: ERF_SLM.H:155
void Define(SolverChoice &) override
Definition: ERF_SLM.H:39
void ComputeFluxes()
Definition: ERF_SLM.cpp:82
std::shared_ptr< amrex::MultiFab > FabPtr
Definition: ERF_SLM.H:28
void AdvanceSLM()
Definition: ERF_SLM.cpp:107
amrex::Geometry m_lsm_geom
Definition: ERF_SLM.H:123
int m_nz_lsm
Definition: ERF_SLM.H:146
int Lsm_Data_Size() override
Definition: ERF_SLM.H:98
amrex::Vector< int > LsmVarMap
Definition: ERF_SLM.H:114
amrex::Real m_theta_dir
Definition: ERF_SLM.H:158
void Init(const amrex::MultiFab &cons_in, const amrex::Geometry &geom, const amrex::Real &dt) override
Definition: ERF_SLM.cpp:7
@ NumVars
Definition: ERF_SLM.H:21
@ theta
Definition: ERF_SLM.H:20
Definition: ERF_DataStruct.H:82