Skip to content
Snippets Groups Projects
Commit d1846222 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fix THE BUG...

parent 267dab65
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
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