From f43e9ff82ccdaa4a8e8b64a80664e1eb67ddf53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carsten=20Gr=C3=A4ser?= <graeser@dune-project.org> Date: Mon, 25 Feb 2013 10:54:10 +0000 Subject: [PATCH] Remove unused local typedefs Patch by Bernd Flemisch [[Imported from SVN: r1868]] --- dune/istl/matrixredistribute.hh | 2 -- dune/istl/paamg/indicescoarsener.hh | 1 - dune/istl/repartition.hh | 4 ---- 3 files changed, 7 deletions(-) diff --git a/dune/istl/matrixredistribute.hh b/dune/istl/matrixredistribute.hh index 9e1e98c40..89b2f3d78 100644 --- a/dune/istl/matrixredistribute.hh +++ b/dune/istl/matrixredistribute.hh @@ -339,7 +339,6 @@ namespace Dune */ void completeSparsityPattern(std::vector<std::set<size_type> > add_sparsity) { - typedef typename std::vector<std::set<size_type> >::const_iterator Iter; for (unsigned int i = 0; i != sparsity.size(); ++i) { if (add_sparsity[i].size() != 0) { typedef std::set<size_type> Set; @@ -757,7 +756,6 @@ namespace Dune RedistributeInformation<C>& ri) { typedef typename C::ParallelIndexSet IndexSet; - typedef RedistributeInformation<C> RI; typename C::OwnerSet ownerflags; std::vector<typename M::size_type> rowsize(newComm.indexSet().size(), 0); std::vector<typename M::size_type> copyrowsize(newComm.indexSet().size(), 0); diff --git a/dune/istl/paamg/indicescoarsener.hh b/dune/istl/paamg/indicescoarsener.hh index c96b08973..e8b97dfbd 100644 --- a/dune/istl/paamg/indicescoarsener.hh +++ b/dune/istl/paamg/indicescoarsener.hh @@ -249,7 +249,6 @@ namespace Dune { // fineGraph is the local subgraph corresponding to the vertices the process owns. // i.e. no overlap/copy vertices can be visited traversing the graph - typedef typename Graph::VertexDescriptor Vertex; typedef typename Graph::ConstVertexIterator Iterator; typedef typename ParallelInformation::GlobalLookupIndexSet GlobalLookupIndexSet; diff --git a/dune/istl/repartition.hh b/dune/istl/repartition.hh index 451e10086..026bc87ef 100644 --- a/dune/istl/repartition.hh +++ b/dune/istl/repartition.hh @@ -242,7 +242,6 @@ namespace Dune template<class Flags,class IS> void buildSendInterface(const std::vector<int>& toPart, const IS& idxset) { - typedef std::vector<int>::const_iterator Iter; std::map<int,int> sizes; typedef typename IS::const_iterator IIter; @@ -1241,8 +1240,6 @@ namespace Dune assert(nparts<=oocomm.communicator().size()); - typedef typename Dune::OwnerOverlapCopyCommunication<T1,T2>::ParallelIndexSet::GlobalIndex GI; - typedef std::vector<GI> GlobalVector; int myDomain; // @@ -1281,7 +1278,6 @@ namespace Dune std::cerr<<"ParMETIS not activated. Will repartition to 1 domain instead of requested " <<nparts<<" domains."<<std::endl; nparts=1; // No parmetis available, fallback to agglomerating to 1 process - typedef std::size_t idxtype; #else -- GitLab