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
225b2813
Commit
225b2813
authored
Sep 18, 2017
by
Reuther, Sebastian
Browse files
fixes
#4
parent
530df21a
Changes
1
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscSolverGlobalMatrix.cc
View file @
225b2813
...
...
@@ -408,7 +408,7 @@ namespace AMDiS { namespace Parallel {
MatNullSpace
matNullspace
;
Vec
nullspaceBasis
;
SystemVector
*
basisVec
;
SystemVector
*
basisVec
=
NULL
;
if
(
nullspace
.
size
()
>
0
||
hasConstantNullspace
||
constNullspaceComponent
.
size
()
>
0
)
{
...
...
@@ -471,9 +471,7 @@ namespace AMDiS { namespace Parallel {
}
// delete allocated memory
if
((
nullspace
.
size
()
>
0
||
hasConstantNullspace
)
&&
constNullspaceComponent
.
size
()
>
0
)
{
delete
basisVec
;
}
delete
basisVec
;
// === Transfere values from PETSc's solution vectors to the DOF vectors. ===
PetscScalar
*
vecPointer
;
...
...
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