Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backofen, Rainer
amdis
Commits
d1846222
Commit
d1846222
authored
Jul 03, 2012
by
Thomas Witkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix THE BUG...
parent
267dab65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
+4
-2
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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