Canoe
Comprehensive Atmosphere N' Ocean Engine
|
root-level management class for microphysics More...
#include <microphysics.hpp>
Public Member Functions | |
Microphysics (MeshBlock *pmb, ParameterInput *pin) | |
constructor and destructor More... | |
~Microphysics () | |
size_t | GetNumSystems () const |
functions More... | |
std::shared_ptr< MicrophysicalSchemeBase > | GetSystem (int i) const |
void | EvolveSystems (AirColumn &ac, Real time, Real dt) |
Evolve all microphysical systems. More... | |
void | SetVsedFromConserved (Hydro const *phydro) |
inbound functions More... | |
Public Attributes | |
AthenaArray< Real > | w |
primitive variables: mass fraction [kg/kg] More... | |
AthenaArray< Real > | u |
conserved variables: mass concentration [kg/m^3] More... | |
AthenaArray< Real > | vsedf [3] |
sedimentation velocity at cell interface [m/s] More... | |
AthenaArray< Real > | mass_flux [3] |
mass flux of the dry fluid [kg/m^2/s] More... | |
Static Public Attributes | |
static const std::string | input_key = "microphysics_config" |
microphysics input key in the input file [microphysics_config] More... | |
Protected Attributes | |
AthenaArray< Real > | vsed_ [3] |
sedimentation velocity at cell center [m/s] More... | |
std::vector< std::shared_ptr< MicrophysicalSchemeBase > > | systems_ |
pointers of microphysical systems More... | |
Private Attributes | |
MeshBlock const * | pmy_block_ |
meshblock pointer More... | |
root-level management class for microphysics
Definition at line 23 of file microphysics.hpp.
Microphysics::Microphysics | ( | MeshBlock * | pmb, |
ParameterInput * | pin | ||
) |
constructor and destructor
Definition at line 29 of file microphysics.cpp.
Microphysics::~Microphysics | ( | ) |
Definition at line 67 of file microphysics.cpp.
|
inline |
functions
Definition at line 49 of file microphysics.hpp.
|
inline |
Definition at line 50 of file microphysics.hpp.
void Microphysics::EvolveSystems | ( | AirColumn & | ac, |
Real | time, | ||
Real | dt | ||
) |
Evolve all microphysical systems.
[in,out] | ac | air column to be evolved |
[in] | time | current simulation time |
[in] | dt | time step |
Definition at line 77 of file microphysics.cpp.
void Microphysics::SetVsedFromConserved | ( | Hydro const * | phydro | ) |
inbound functions
Definition at line 85 of file microphysics.cpp.
|
static |
microphysics input key in the input file [microphysics_config]
public access members
Definition at line 30 of file microphysics.hpp.
AthenaArray<Real> Microphysics::w |
primitive variables: mass fraction [kg/kg]
Definition at line 33 of file microphysics.hpp.
AthenaArray<Real> Microphysics::u |
conserved variables: mass concentration [kg/m^3]
Definition at line 36 of file microphysics.hpp.
AthenaArray<Real> Microphysics::vsedf[3] |
sedimentation velocity at cell interface [m/s]
Definition at line 39 of file microphysics.hpp.
AthenaArray<Real> Microphysics::mass_flux[3] |
mass flux of the dry fluid [kg/m^2/s]
Definition at line 42 of file microphysics.hpp.
|
protected |
sedimentation velocity at cell center [m/s]
Definition at line 67 of file microphysics.hpp.
|
protected |
pointers of microphysical systems
Definition at line 70 of file microphysics.hpp.
|
private |
meshblock pointer
Definition at line 74 of file microphysics.hpp.