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
fb4a2b0b
Commit
fb4a2b0b
authored
Nov 09, 2016
by
Praetorius, Simon
Browse files
small bugs in PetscWrapper corrected
parent
36baa791
Changes
2
Hide whitespace changes
Inline
Side-by-side
AMDiS/src/parallel/PetscHelper.h
View file @
fb4a2b0b
...
...
@@ -123,3 +123,5 @@ namespace AMDiS
}
// end namespace Parallel
}
// end namespace AMDiS
#endif
AMDiS/src/utility/PetscWrapper.h
View file @
fb4a2b0b
...
...
@@ -66,7 +66,7 @@ namespace AMDiS
#if (PETSC_VERSION_MINOR >= 5)
return
KSPGetOperators
(
ksp
,
Amat
,
Pmat
);
#else
return
KSPGetOperators
(
ksp
,
Amat
,
Pmat
,
SAME_NONZERO_PATTERN
);
return
KSPGetOperators
(
ksp
,
Amat
,
Pmat
,
PETSC_NULL
);
#endif
}
...
...
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