Skip to content
Snippets Groups Projects
Commit 4350f9a3 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

Remove some unused code

[[Imported from SVN: r9767]]
parent 29d149cb
No related branches found
No related tags found
No related merge requests found
......@@ -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_;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment