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
hyteg
hyteg
Commits
95bbef67
Commit
95bbef67
authored
Sep 01, 2021
by
Marcel Koch
Browse files
refine timings for petsc cg
parent
bf18ee17
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/petsc/PETScCGSolver.hpp
View file @
95bbef67
...
...
@@ -118,7 +118,9 @@ class PETScCGSolver : public Solver< OperatorType >
KSPGetPC
(
ksp
,
&
pc
);
PCSetType
(
pc
,
PCJACOBI
);
x
.
getStorage
()
->
getTimingTree
()
->
start
(
"PETSc CG Solver Apply"
);
KSPSolve
(
ksp
,
bVec
.
get
(),
xVec
.
get
()
);
x
.
getStorage
()
->
getTimingTree
()
->
stop
(
"PETSc CG Solver Apply"
);
xVec
.
createFunctionFromVector
(
x
,
num
,
level
,
flag_
);
...
...
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