From: Matthias Maier Date: Tue, 21 May 2019 19:54:56 +0000 (-0500) Subject: update FunctionMap X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F56%2Fhead;p=code-gallery.git update FunctionMap --- diff --git a/CeresFE/src/ceres.cc b/CeresFE/src/ceres.cc index 9039ecb..1ab413d 100644 --- a/CeresFE/src/ceres.cc +++ b/CeresFE/src/ceres.cc @@ -1995,12 +1995,13 @@ namespace Step22 template void StokesProblem::refine_mesh() { + using FunctionMap = std::map *>; Vector estimated_error_per_cell(triangulation.n_active_cells()); std::vector component_mask(dim + 1, false); component_mask[dim] = true; KellyErrorEstimator::estimate(dof_handler, QGauss(degree + 1), - typename FunctionMap::type(), solution, + FunctionMap(), solution, estimated_error_per_cell, component_mask); GridRefinement::refine_and_coarsen_fixed_number(triangulation,