From 2171a483a7ec565f728d991769ca30dbf824f46a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 21 May 2019 15:02:38 -0500 Subject: [PATCH] Update FunctionMap --- ElastoplasticTorsion/ElastoplasticTorsion.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ElastoplasticTorsion/ElastoplasticTorsion.cc b/ElastoplasticTorsion/ElastoplasticTorsion.cc index dd9580e..d2b8e40 100644 --- a/ElastoplasticTorsion/ElastoplasticTorsion.cc +++ b/ElastoplasticTorsion/ElastoplasticTorsion.cc @@ -763,10 +763,12 @@ namespace nsp template void ElastoplasticTorsion::refine_mesh () { + using FunctionMap = std::map *>; + Vector estimated_error_per_cell (triangulation.n_active_cells()); KellyErrorEstimator::estimate (dof_handler, QGauss(3), - typename FunctionMap::type(), + FunctionMap(), present_solution, estimated_error_per_cell); -- 2.39.5