diff --git a/dune/gfe/parallel/globalindex.hh b/dune/gfe/parallel/globalindex.hh index aebb05ec2983023679c5028219ac516add7d7b74..38ebb47b94f3bd214415c70aa469988182f7c6d1 100644 --- a/dune/gfe/parallel/globalindex.hh +++ b/dune/gfe/parallel/globalindex.hh @@ -66,6 +66,9 @@ /* of a given codim in a given GridView, assuming they all have the same geometry, */ /* i.e. codim, type */ /*********************************************************************************************/ + +namespace Dune { + template<class GridView, int CODIM> class GlobalUniqueIndex { @@ -346,4 +349,6 @@ protected: IndexMap globalLocalMap_; }; +} // namespace Dune + #endif /* GLOBALUNIQUEINDEX_HH_ */ diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc index 2ab1da2be6666d31eb60a48fc701a04c077db62b..435bfccec51cb0c71bae76405de03b245c928a7a 100644 --- a/dune/gfe/riemanniantrsolver.cc +++ b/dune/gfe/riemanniantrsolver.cc @@ -181,7 +181,7 @@ setup(const GridType& grid, // If we are on more than 1 processors, join all local transfer matrices on rank 0, // and construct a single global transfer operator there. - typedef GlobalUniqueIndex<typename GridType::LeafGridView, gridDim> LeafP1GUIndex; + typedef Dune::GlobalUniqueIndex<typename GridType::LeafGridView, gridDim> LeafP1GUIndex; LeafP1GUIndex p1Index(grid_->leafGridView()); typedef typename TruncatedCompressedMGTransfer<CorrectionType>::TransferOperatorType TransferOperatorType; @@ -198,7 +198,7 @@ setup(const GridType& grid, // If we are on more than 1 processors, join all local transfer matrices on rank 0, // and construct a single global transfer operator there. - typedef GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex; + typedef Dune::GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex; LevelGUIndex fineGUIndex(grid_->levelGridView(i+2)); LevelGUIndex coarseGUIndex(grid_->levelGridView(i+1)); @@ -221,7 +221,7 @@ setup(const GridType& grid, // If we are on more than 1 processors, join all local transfer matrices on rank 0, // and construct a single global transfer operator there. - typedef GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex; + typedef Dune::GlobalUniqueIndex<typename GridType::LevelGridView, gridDim> LevelGUIndex; LevelGUIndex fineGUIndex(grid_->levelGridView(i+1)); LevelGUIndex coarseGUIndex(grid_->levelGridView(i));