From 9c864b04e44c544ec97c7db745d0426a50f6e9b9 Mon Sep 17 00:00:00 2001 From: Oliver Sander <oliver.sander@tu-dresden.de> Date: Mon, 8 Feb 2016 15:34:08 +0100 Subject: [PATCH] Make compile with MPI --- dune/gfe/riemanniantrsolver.hh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/dune/gfe/riemanniantrsolver.hh b/dune/gfe/riemanniantrsolver.hh index 8a5c6f48..553badb7 100644 --- a/dune/gfe/riemanniantrsolver.hh +++ b/dune/gfe/riemanniantrsolver.hh @@ -13,6 +13,8 @@ #include <dune/solvers/solvers/iterativesolver.hh> #include <dune/solvers/solvers/loopsolver.hh> +#include <dune/gfe/periodic1dpq1nodalbasis.hh> + #include "geodesicfeassembler.hh" #include <dune/grid/utility/globalindexset.hh> #include <dune/gfe/parallel/globalp1mapper.hh> @@ -32,6 +34,15 @@ struct MapperFactory<GridView, Dune::Functions::PQkNodalBasis<GridView,1> > typedef Dune::MultipleCodimMultipleGeomTypeMapper<GridView, Dune::MCMGVertexLayout> LocalMapper; }; +// This case is not going to actually work, but I need the specialization to make +// the sequential code compile. +template <typename GridView> +struct MapperFactory<GridView, Dune::Functions::Periodic1DPQ1NodalBasis<GridView> > +{ + typedef Dune::GlobalP1Mapper<GridView> GlobalMapper; + typedef Dune::MultipleCodimMultipleGeomTypeMapper<GridView, Dune::MCMGVertexLayout> LocalMapper; +}; + template <typename GridView> struct MapperFactory<GridView, Dune::Functions::PQkNodalBasis<GridView,2> > { -- GitLab