Skip to content
GitLab
Menu
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
50d8406e
Commit
50d8406e
authored
Sep 27, 2021
by
Marcel Koch
Browse files
force setting petsc pre per cmd option
parent
e82bf980
Pipeline
#34411
failed with stages
in 8 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/hyteg/petsc/PETScCGSolver.hpp
View file @
50d8406e
...
...
@@ -115,8 +115,6 @@ class PETScCGSolver : public Solver< OperatorType >
MatSetNullSpace
(
Amat
.
get
(),
nullspace_
);
}
KSPSetOperators
(
ksp
,
Amat
.
get
(),
Amat
.
get
()
);
KSPGetPC
(
ksp
,
&
pc
);
PCSetType
(
pc
,
PCJACOBI
);
x
.
getStorage
()
->
getTimingTree
()
->
start
(
"PETSc CG Solver Apply"
);
KSPSolve
(
ksp
,
bVec
.
get
(),
xVec
.
get
()
);
...
...
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