Commit 6b8192e1 authored by Marcel Koch's avatar Marcel Koch
Browse files

adapt ginkgo block preconditioner test

parent 346a44e5
Pipeline #36823 failed with stages
in 8 minutes and 15 seconds
...@@ -113,12 +113,12 @@ void petscSolveTest( std::shared_ptr< gko::Executor > exec, ...@@ -113,12 +113,12 @@ void petscSolveTest( std::shared_ptr< gko::Executor > exec,
std::string precondType; std::string precondType;
if ( blockPreconditionerType == 0 ) 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"; precondType = "velocity AMG, pressure lumped mass";
} }
else if ( blockPreconditionerType == 1 ) 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"; precondType = "velocity Jacobi, pressure lumped mass";
} }
else else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment