2 #include <athena/athena.hpp>
3 #include <athena/hydro/hydro.hpp>
4 #include <athena/parameter_input.hpp>
7 #include <configure.hpp>
10 #include <application/application.hpp>
11 #include <application/exceptions.hpp>
47 Application::Logger app(
"main");
49 du.NewAthenaArray(NHYDRO, pmb->ncells3, pmb->ncells2, pmb->ncells1);
52 pdec = std::make_shared<Decomposition>(pmb);
55 phevi = std::make_shared<ImplicitSolver>(pmb, pin);
58 pmicro = std::make_shared<Microphysics>(pmb, pin);
61 prad = std::make_shared<Radiation>(pmb, pin);
64 pchem = std::make_shared<Chemistry>(pmb, pin);
67 ptracer = std::make_shared<Tracer>(pmb, pin);
82 planet = std::make_shared<CelestrialBody>(pin);
93 if (NCLOUD > 0) pmicro->u.InitWithShallowSlice(s, 4, 0, NCLOUD);
static AllInversions Create(MeshBlock *pmb, ParameterInput *pin)
std::shared_ptr< TurbulenceModel > pturb
std::shared_ptr< Radiation > prad
std::shared_ptr< CelestrialBody > planet
std::shared_ptr< ImplicitSolver > phevi
std::shared_ptr< Scheduler > scheduler
Real stellar_distance_au_
std::shared_ptr< Tracer > ptracer
std::vector< std::shared_ptr< Inversion > > all_fits
void MapScalarsConserved(AthenaArray< Real > &s)
std::shared_ptr< Decomposition > pdec
Impl(MeshBlock *pmb, ParameterInput *pin)
std::shared_ptr< Microphysics > pmicro
AthenaArray< Real > du
public data
std::shared_ptr< Chemistry > pchem
std::vector< std::shared_ptr< ParticleBase > > all_particles
static AllParticles Create(MeshBlock *pmb, ParameterInput *pin)
static SchedulerPtr Create(MeshBlock *pmb, ParameterInput *pin)
static TurbulenceModelPtr Create(MeshBlock *pmb, ParameterInput *pin)