Commit d1846222 authored by Thomas Witkowski's avatar Thomas Witkowski

Fix THE BUG...

parent 267dab65
...@@ -404,7 +404,6 @@ namespace AMDiS { ...@@ -404,7 +404,6 @@ namespace AMDiS {
MatNullSpace matNullspace; MatNullSpace matNullspace;
Vec nullspaceBasis; Vec nullspaceBasis;
if (nullspace.size() > 0 || if (nullspace.size() > 0 ||
hasConstantNullspace || hasConstantNullspace ||
constNullspaceComponent.size() > 0) { constNullspaceComponent.size() > 0) {
...@@ -456,7 +455,6 @@ namespace AMDiS { ...@@ -456,7 +455,6 @@ namespace AMDiS {
("No nullspace provided that should be removed from rhs!\n"); ("No nullspace provided that should be removed from rhs!\n");
} }
// PETSc. // PETSc.
solve(rhsInterior, petscSolVec); solve(rhsInterior, petscSolVec);
...@@ -482,6 +480,10 @@ namespace AMDiS { ...@@ -482,6 +480,10 @@ namespace AMDiS {
} }
VecRestoreArray(petscSolVec, &vecPointer); 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