From 0a8da1fa5d77efc186e9f4a98bdbf1f8158821d6 Mon Sep 17 00:00:00 2001 From: Oliver Sander <sander@igpm.rwth-aachen.de> Date: Thu, 28 Aug 2014 08:17:57 +0000 Subject: [PATCH] Measure the time needed to solve the quadratic minimization problems [[Imported from SVN: r9868]] --- dune/gfe/riemanniantrsolver.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dune/gfe/riemanniantrsolver.cc b/dune/gfe/riemanniantrsolver.cc index 532b0361..7f57ff7a 100644 --- a/dune/gfe/riemanniantrsolver.cc +++ b/dune/gfe/riemanniantrsolver.cc @@ -340,7 +340,9 @@ void RiemannianTrustRegionSolver<GridType,TargetSpace>::solve() std::cout << "Solve quadratic problem..." << std::endl; + Dune::Timer solutionTimer; innerSolver_->solve(); + std::cout << "Solving the quadratic problem took " << solutionTimer.elapsed() << " seconds." << std::endl; if (mgStep) corr_global = mgStep->getSol(); -- GitLab