From 4350f9a356b71d79d6d63c2a8a813626408490b1 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Mon, 26 May 2014 05:24:56 +0000 Subject: [PATCH] Remove some unused code [[Imported from SVN: r9767]] --- dune/gfe/parallel/uniqueentitypartition.hh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/dune/gfe/parallel/uniqueentitypartition.hh b/dune/gfe/parallel/uniqueentitypartition.hh index a7216e36..a215b9b9 100644 --- a/dune/gfe/parallel/uniqueentitypartition.hh +++ b/dune/gfe/parallel/uniqueentitypartition.hh @@ -165,23 +165,6 @@ public: return(assignment_[gridview_.indexSet().template index(entity)]); } -// /** answer question if entity belongs to me, to this process */ -// bool owner (size_t index) const -// { -// return(assignment_[index]); -// } - - /** auxiliary routine that keeps the member of a vector if it belongs - * to this process, otherwise it sets the vector's member to zero */ - template<typename X> - void keepOwner (X& x) const - { - for (size_t i=0; i<x.size(); ++i) - { - x[i] *= assignment_[i]; - } - } - private: /** declare private data members */ const GridView& gridview_; -- GitLab