From: Matthias Maier Date: Tue, 21 May 2019 20:08:31 +0000 (-0500) Subject: update FunctionMap X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=368d5800eb8c9e763c35a372a78acd1e6ec07d33;p=code-gallery.git update FunctionMap --- diff --git a/goal_oriented_elastoplasticity/elastoplastic.cc b/goal_oriented_elastoplasticity/elastoplastic.cc index 33919bf..0eabcef 100644 --- a/goal_oriented_elastoplasticity/elastoplastic.cc +++ b/goal_oriented_elastoplasticity/elastoplastic.cc @@ -4900,9 +4900,11 @@ namespace ElastoPlastic estimated_error_per_cell.reinit (triangulation.n_active_cells()); if (error_estimation_strategy == ErrorEstimationStrategy::kelly_error) { + using FunctionMap = std::map *>; + KellyErrorEstimator::estimate(dof_handler, QGauss(fe.degree + 2), - typename FunctionMap::type(), + FunctionMap(), tmp_solution, estimated_error_per_cell);