diff --git a/AMDiS/src/parallel/PetscSolverGlobalMatrix.cc b/AMDiS/src/parallel/PetscSolverGlobalMatrix.cc index 91681988d6da70e003ef26f612d6b83be5bb43ef..dc2e0a9785d15b14dd06a12b4822acecb8d87595 100644 --- a/AMDiS/src/parallel/PetscSolverGlobalMatrix.cc +++ b/AMDiS/src/parallel/PetscSolverGlobalMatrix.cc @@ -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); }