From: Matthias Maier Date: Tue, 21 May 2019 20:02:38 +0000 (-0500) Subject: Update FunctionMap X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2171a483a7ec565f728d991769ca30dbf824f46a;p=code-gallery.git Update FunctionMap --- 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);