ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
Base class for microphysics interface. More...
#include <ERF_Microphysics.H>
Public Member Functions | |
Microphysics () | |
Null constructor. More... | |
virtual | ~Microphysics ()=default |
default destructor More... | |
virtual void | Define (const int &, SolverChoice &)=0 |
define the microphysics object More... | |
virtual void | Init (const int &, const amrex::MultiFab &, const amrex::BoxArray &, const amrex::Geometry &, const amrex::Real &, std::unique_ptr< amrex::MultiFab > &, std::unique_ptr< amrex::MultiFab > &)=0 |
initialize the microphysics object More... | |
virtual void | Advance (const int &, const amrex::Real &, const int &, const amrex::Real &, const SolverChoice &, amrex::Vector< amrex::Vector< amrex::MultiFab >> &, const amrex::Vector< std::unique_ptr< amrex::MultiFab >> &, const amrex::GpuArray< ERF_BC, AMREX_SPACEDIM *2 > &)=0 |
advance microphysics for one time step More... | |
virtual void | Update_Micro_Vars_Lev (const int &, amrex::MultiFab &)=0 |
update microphysics variables from ERF state variables More... | |
virtual void | Update_State_Vars_Lev (const int &, amrex::MultiFab &)=0 |
update ERF state variables from microphysics variables More... | |
virtual amrex::MultiFab * | Get_Qmoist_Ptr (const int &, const int &)=0 |
get pointer to a moisture variable More... | |
virtual int | Get_Qmoist_Size (const int &)=0 |
get the number of moisture model variables More... | |
virtual int | Get_Qstate_Size ()=0 |
get the number of moisture-model-related conserved state variables More... | |
virtual void | Get_Qmoist_Restart_Vars (int, const SolverChoice &, std::vector< int > &, std::vector< std::string > &) const =0 |
get the indices and names of moisture model variables for restart at a given level More... | |
Static Public Member Functions | |
static MoistureModelType | modelType (const MoistureType a_moisture_type) |
query if a specified moisture model is Eulerian or Lagrangian More... | |
Base class for microphysics interface.
|
virtualdefault |
default destructor
|
pure virtual |
advance microphysics for one time step
Implemented in EulerianMicrophysics.
|
pure virtual |
define the microphysics object
Implemented in EulerianMicrophysics.
|
pure virtual |
get pointer to a moisture variable
Implemented in EulerianMicrophysics.
|
pure virtual |
get the indices and names of moisture model variables for restart at a given level
Implemented in EulerianMicrophysics.
|
pure virtual |
get the number of moisture model variables
Implemented in EulerianMicrophysics.
|
pure virtual |
get the number of moisture-model-related conserved state variables
Implemented in EulerianMicrophysics.
|
pure virtual |
initialize the microphysics object
Implemented in EulerianMicrophysics.
|
inlinestatic |
query if a specified moisture model is Eulerian or Lagrangian
Referenced by EulerianMicrophysics::EulerianMicrophysics(), ERF::InitData_post(), ERF::initializeMicrophysics(), and ERF::ReadCheckpointFile().
|
pure virtual |
update microphysics variables from ERF state variables
Implemented in EulerianMicrophysics.
|
pure virtual |
update ERF state variables from microphysics variables
Implemented in EulerianMicrophysics.