Commit 95bbef67 authored by Marcel Koch's avatar Marcel Koch
Browse files

refine timings for petsc cg

parent bf18ee17
......@@ -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_ );
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