From 79386c55771b2235777c9c762851bbfe5a29949a Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 21 May 2019 14:54:56 -0500 Subject: [PATCH] update FunctionMap --- CeresFE/src/ceres.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5