Skip to content
Snippets Groups Projects
Commit 8852e3a6 authored by Robert K's avatar Robert K
Browse files

print accumulated time for timestep if FEMTIMER is active.

parent aa86b15c
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ namespace Fem
adaptHandler_( gridPart_, solution(), solutionLimiterHandler_, name ),
overallTimer_(),
odeSolver_(),
timeStepTimer_( Dune::FemTimer::addTo("max time/timestep") ),
timeStepTimer_( Dune::FemTimer::addTo("sum time for timestep") ),
fixedTimeStep_( param_.fixedTimeStep() )
{
if( problem().hasExactSolution() )
......@@ -380,7 +380,7 @@ namespace Fem
step( tp );
// stop FemTimer for this time step
Dune::FemTimer::stop(timeStepTimer_,Dune::FemTimer::max);
Dune::FemTimer::stop(timeStepTimer_,Dune::FemTimer::sum);
// Check that no NAN have been generated
if( !checkDofsValid( tp, loop ) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment