1 #ifndef __PHYSICS_FACTORY__ 2 #define __PHYSICS_FACTORY__ 4 #include "parameters/all_parameters.h" 13 template <
int dim,
int nstate,
typename real>
18 static std::shared_ptr< PhysicsBase<dim,nstate,real> >
23 static std::shared_ptr< PhysicsBase<dim,nstate,real> >
31 static std::shared_ptr< PhysicsBase<dim,nstate,real> >
Manufactured solution used for grid studies to check convergence orders.
PartialDifferentialEquation
Possible Partial Differential Equations to solve.
Files for the baseline physics.
Physics model additional terms and equations to the baseline physics.
Main parameter class that contains the various other sub-parameter classes.
Create specified physics as PhysicsBase object.
static std::shared_ptr< PhysicsBase< dim, nstate, real > > create_Physics(const Parameters::AllParameters *const parameters_input, std::shared_ptr< ModelBase< dim, nstate, real > > model_input=nullptr)
Factory to return the correct physics given input file.
static std::shared_ptr< PhysicsBase< dim, nstate, real > > create_Physics_Model(const Parameters::AllParameters *const parameters_input, std::shared_ptr< ManufacturedSolutionFunction< dim, real > > manufactured_solution_function=nullptr, std::shared_ptr< ModelBase< dim, nstate, real > > model_input=nullptr)
Factory to return the correct physics model, i.e. when PDE_type==physics_model, given input file...