From 66d03d44cc15caa46fac1ff45270e3b5cd959ae6 Mon Sep 17 00:00:00 2001
From: Stefan Girke <stefan.girke@wwu.de>
Date: Fri, 19 Feb 2016 18:13:18 +0100
Subject: [PATCH] constructor

---
 dune/fem-dg/algorithm/sub/elliptic.hh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dune/fem-dg/algorithm/sub/elliptic.hh b/dune/fem-dg/algorithm/sub/elliptic.hh
index 9a11037c..0882a1ee 100644
--- a/dune/fem-dg/algorithm/sub/elliptic.hh
+++ b/dune/fem-dg/algorithm/sub/elliptic.hh
@@ -576,9 +576,9 @@ namespace Fem
   public:
    typedef uint64_t                          UInt64Type;
 
-    PAdaptivity( GridType& grid, const DiscreteFunctionType& solution )
+    PAdaptivity( GridType& grid, const DiscreteFunctionType& solution, AssemblerType& assembler, const std::string name = "" )
       : pAdapt_( grid, solution.space() ),
-        sigmaEstimator_( solution.gridPart(), solution, assembler_, name() )
+        sigmaEstimator_( solution.gridPart(), solution, assembler, name )
     {}
 
     bool adaptive() const { return false; }
@@ -712,7 +712,7 @@ namespace Fem
       space_( container_.space() ),
       assembler_( container_, model() ),
       matrix_( container_.matrix() ),
-      adaptIndicator_( grid, container_.solution() /* TODO add arguments*/ ),
+      adaptIndicator_( grid, container_.solution(), assembler_, name() ),
       step_( 0 ),
       time_( 0 )
     {
-- 
GitLab