Commit 6a975382 authored by Reuther, Sebastian's avatar Reuther, Sebastian
Browse files

fixed bug in synchVector methods of MeshDistributor.h (DofComm iterators were...

fixed bug in synchVector methods of MeshDistributor.h (DofComm iterators were not initialized with the current finite element space)
parent bd5635d7
......@@ -267,7 +267,7 @@ namespace AMDiS { namespace Parallel {
stdMpi.send(it.getRank(), dofs);
}
for (DofComm::Iterator it(dofComm[level].getSendDofs());
for (DofComm::Iterator it(dofComm[level].getSendDofs(), fe);
!it.end(); it.nextRank())
stdMpi.recv(it.getRank());
......@@ -315,7 +315,7 @@ namespace AMDiS { namespace Parallel {
stdMpi.send(it.getRank(), dofs);
}
for (DofComm::Iterator it(dofComm[level].getRecvDofs());
for (DofComm::Iterator it(dofComm[level].getRecvDofs(), fe);
!it.end(); it.nextRank())
stdMpi.recv(it.getRank());
......@@ -358,7 +358,7 @@ namespace AMDiS { namespace Parallel {
stdMpi.send(it.getRank(), dofs);
}
for (DofComm::Iterator it(dofComm[level].getSendDofs());
for (DofComm::Iterator it(dofComm[level].getSendDofs(), fe);
!it.end(); it.nextRank())
stdMpi.recv(it.getRank());
......
Supports Markdown
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