Commit 768faa46 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

some comments removed

parent 99634e60
......@@ -121,7 +121,7 @@ namespace Dec
// receive data from neighbours
MPI_Irecv(buff_in_[r].data(), map_[r].size(), Dune::MPITraits<T>::getType(), r, tag_, comm_, &request_in_[r]);
finished_[r] = false;
received++;
++received;
}
while (received > 0) {
......@@ -137,7 +137,7 @@ namespace Dec
for (auto const& j : map_[r])
assign(buff_in_[r][i++], vec[j]);
finished_[r] = true;
received--;
--received;
}
}
}
......@@ -264,14 +264,6 @@ namespace Dec
{
localVector_ = that.first;
comm_.synch(localVector_, operation::plus_assign{});
// auto baseGridView = gv_.base();
//
// using BaseGridView = decltype(baseGridView);
// SynchVectorHandle<BaseGridView,cd,T,operation::plus_assign> synchVector(baseGridView, localVector_);
// baseGridView.communicate(synchVector, Dune::InteriorBorder_All_Interface, Dune::ForwardCommunication);
return *this;
}
......@@ -293,11 +285,6 @@ namespace Dec
{
DOFVector<T> tmp{that.first};
comm_.synch(tmp, operation::plus_assign{});
// auto baseGridView = gv_.base();
//
// using BaseGridView = decltype(baseGridView);
// SynchVectorHandle<BaseGridView,cd,T,operation::plus_assign> synchVector(baseGridView, tmp);
// baseGridView.communicate(synchVector, Dune::InteriorBorder_All_Interface, Dune::ForwardCommunication);
localVector_ += tmp;
return *this;
......@@ -321,11 +308,6 @@ namespace Dec
{
DOFVector<T> tmp{that.first};
comm_.synch(tmp, operation::plus_assign{});
// auto baseGridView = gv_.base();
//
// using BaseGridView = decltype(baseGridView);
// SynchVectorHandle<BaseGridView,cd,T,operation::plus_assign> synchVector(baseGridView, tmp);
// baseGridView.communicate(synchVector, Dune::InteriorBorder_All_Interface, Dune::ForwardCommunication);
localVector_ -= tmp;
return *this;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment