[P]arallel [Hi]gh-order [Li]brary for [P]DEs
Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
|
Create specified physics as PhysicsBase object. More...
#include <physics_factory.h>
Static Public Member Functions | |
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 (const Parameters::AllParameters *const parameters_input, const Parameters::AllParameters::PartialDifferentialEquation pde_type, std::shared_ptr< ModelBase< dim, nstate, real > > model_input=nullptr) |
Factory to return the correct physics given input file and a specified PDE type. | |
Static Private Member Functions | |
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. | |
Create specified physics as PhysicsBase object.
Factory design pattern whose job is to create the correct physics
Definition at line 14 of file physics_factory.h.