From 7d617e6010d05a554f3c67e66efaa6af253e10b1 Mon Sep 17 00:00:00 2001
From: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
Date: Tue, 5 Aug 2014 17:42:23 +0200
Subject: [PATCH] Improve output given by UMFPack through InverseOperatorResult

The elapsed wallclock time is readily available by UMFPack
and can be written to InverseOperatorResult.elapsed!
---
 dune/istl/umfpack.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dune/istl/umfpack.hh b/dune/istl/umfpack.hh
index 403d6121b..1e217311f 100644
--- a/dune/istl/umfpack.hh
+++ b/dune/istl/umfpack.hh
@@ -328,6 +328,7 @@ namespace Dune {
       //this is a direct solver
       res.iterations = 1;
       res.converged = true;
+      res.elapsed = UMF_Apply_Info[UMFPACK_SOLVE_WALLTIME];
 
       printOnApply(UMF_Apply_Info);
     }
-- 
GitLab