From a79f04b48f0b90e7e8db88ca44abd648ab197ef0 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Tue, 21 May 2019 14:46:14 -0500 Subject: [PATCH] cdr: Do not use deprecated FunctionMap type --- cdr/solver/cdr.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cdr/solver/cdr.cc b/cdr/solver/cdr.cc index f7ef2d8..58e1a45 100644 --- a/cdr/solver/cdr.cc +++ b/cdr/solver/cdr.cc @@ -232,9 +232,12 @@ void CDRProblem::time_iterate() template void CDRProblem::refine_mesh() { + using FunctionMap = + std::map *>; + Vector estimated_error_per_cell(triangulation.n_active_cells()); KellyErrorEstimator::estimate - (dof_handler, QGauss(fe.degree + 1), typename FunctionMap::type(), + (dof_handler, QGauss(fe.degree + 1), FunctionMap(), locally_relevant_solution, estimated_error_per_cell); // This solver uses a crude refinement strategy where cells with relatively -- 2.39.5