Commit d1846222 authored by Thomas Witkowski's avatar Thomas Witkowski

Fix THE BUG...

parent 267dab65
......@@ -404,7 +404,6 @@ namespace AMDiS {
MatNullSpace matNullspace;
Vec nullspaceBasis;
if (nullspace.size() > 0 ||
hasConstantNullspace ||
constNullspaceComponent.size() > 0) {
......@@ -456,7 +455,6 @@ namespace AMDiS {
("No nullspace provided that should be removed from rhs!\n");
}
// PETSc.
solve(rhsInterior, petscSolVec);
......@@ -482,6 +480,10 @@ namespace AMDiS {
}
VecRestoreArray(petscSolVec, &vecPointer);
// === Synchronize DOFs at common DOFs, i.e., DOFs that correspond to ===
// === more than one partition. ===
meshDistributor->synchVector(vec);
}
......
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