[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
mesh_error_factory.h
1 #ifndef __MESH_ERROR_FACTORY_H__
2 #define __MESH_ERROR_FACTORY_H__
3 
4 #include "mesh_error_estimate.h"
5 
6 namespace PHiLiP {
7 
9 #if PHILIP_DIM==1
10 template <int dim, int nstate, typename real, typename MeshType = dealii::Triangulation<dim>>
11 #else
12 template <int dim, int nstate, typename real, typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
13 #endif
15 {
16 public:
18  static std::unique_ptr<MeshErrorEstimateBase<dim, real, MeshType>> create_mesh_error(std::shared_ptr< DGBase<dim,real,MeshType> > dg);
19 };
20 
21 } // namespace PHiLiP
22 
23 #endif
static std::unique_ptr< MeshErrorEstimateBase< dim, real, MeshType > > create_mesh_error(std::shared_ptr< DGBase< dim, real, MeshType > > dg)
Returns pointer of the mesh error&#39;s abstract class.
Returns pointer to appropriate mesh error class depending on the input parameters.
Files for the baseline physics.
Definition: ADTypes.hpp:10
DGBase is independent of the number of state variables.
Definition: dg_base.hpp:82