[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::Physics::PhysicsFactory< dim, nstate, real > Class Template Reference

Create specified physics as PhysicsBase object. More...

#include <physics_factory.h>

Collaboration diagram for PHiLiP::Physics::PhysicsFactory< dim, nstate, real >:

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.
 

Detailed Description

template<int dim, int nstate, typename real>
class PHiLiP::Physics::PhysicsFactory< dim, nstate, real >

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.


The documentation for this class was generated from the following files: