Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hyteg
hyteg
Commits
6b8192e1
Commit
6b8192e1
authored
Jan 15, 2022
by
Marcel Koch
Browse files
adapt ginkgo block preconditioner test
parent
346a44e5
Pipeline
#36823
failed with stages
in 8 minutes and 15 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
tests/hyteg/composites/P2P1Stokes3DGinkgoSolveTest.cpp
View file @
6b8192e1
...
...
@@ -113,12 +113,12 @@ void petscSolveTest( std::shared_ptr< gko::Executor > exec,
std
::
string
precondType
;
if
(
blockPreconditionerType
==
0
)
{
solver
=
std
::
make_unique
<
GinkgoBlockSolver
<
P2P1TaylorHoodStokesOperator
>
>
(
storage
,
level
,
exec
,
2
,
1
);
solver
=
std
::
make_unique
<
GinkgoBlockSolver
<
P2P1TaylorHoodStokesOperator
>
>
(
storage
,
level
,
exec
,
1e-12
,
15000
,
2
,
1
);
precondType
=
"velocity AMG, pressure lumped mass"
;
}
else
if
(
blockPreconditionerType
==
1
)
{
solver
=
std
::
make_unique
<
GinkgoBlockSolver
<
P2P1TaylorHoodStokesOperator
>
>
(
storage
,
level
,
exec
,
1
,
1
);
solver
=
std
::
make_unique
<
GinkgoBlockSolver
<
P2P1TaylorHoodStokesOperator
>
>
(
storage
,
level
,
exec
,
1e-12
,
15000
,
1
,
1
);
precondType
=
"velocity Jacobi, pressure lumped mass"
;
}
else
...
...
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