1 #ifndef __DG_FACTORY_H__ 2 #define __DG_FACTORY_H__ 11 #if PHILIP_DIM==1 // dealii::parallel::distributed::Triangulation<dim> does not work for 1D 12 template <
int dim,
typename real,
typename MeshType = dealii::Triangulation<dim>>
14 template <
int dim,
typename real,
typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
26 static std::shared_ptr< DGBase<dim,real,MeshType> >
29 const unsigned int degree,
30 const unsigned int max_degree_input,
31 const unsigned int grid_degree_input,
32 const std::shared_ptr<Triangulation> triangulation_input);
35 static std::shared_ptr< DGBase<dim,real,MeshType> >
38 const unsigned int degree,
39 const unsigned int max_degree_input,
40 const std::shared_ptr<Triangulation> triangulation_input);
43 static std::shared_ptr< DGBase<dim,real,MeshType> >
46 const unsigned int degree,
47 const std::shared_ptr<Triangulation> triangulation_input);
Files for the baseline physics.
Main parameter class that contains the various other sub-parameter classes.
This class creates a new DGBase object.
static std::shared_ptr< DGBase< dim, real, MeshType > > create_discontinuous_galerkin(const Parameters::AllParameters *const parameters_input, const unsigned int degree, const unsigned int max_degree_input, const unsigned int grid_degree_input, const std::shared_ptr< Triangulation > triangulation_input)
Creates a derived object DG, but returns it as DGBase.