From 368d5800eb8c9e763c35a372a78acd1e6ec07d33 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 21 May 2019 15:08:31 -0500 Subject: [PATCH] update FunctionMap --- goal_oriented_elastoplasticity/elastoplastic.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.39.5