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=refs%2Fpull%2F58%2Fhead;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);