Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iwr
amdis
Commits
d1846222
Commit
d1846222
authored
Jul 03, 2012
by
Thomas Witkowski
Browse files
Fix THE BUG...
parent
267dab65
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
View file @
d1846222
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment