Commit 50d8406e authored by Marcel Koch's avatar Marcel Koch
Browse files

force setting petsc pre per cmd option

parent e82bf980
Pipeline #34411 failed with stages
in 8 minutes and 41 seconds
......@@ -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() );
Supports Markdown
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