]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
update FunctionMap 59/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 21 May 2019 20:08:31 +0000 (15:08 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 21 May 2019 20:09:21 +0000 (15:09 -0500)
goal_oriented_elastoplasticity/elastoplastic.cc

index 33919bfc32789125bdb06733291301fb66e8d157..0eabcef08cab68b6aafe47460c367fd4def88cd1 100644 (file)
@@ -4900,9 +4900,11 @@ namespace ElastoPlastic
     estimated_error_per_cell.reinit (triangulation.n_active_cells());
     if (error_estimation_strategy == ErrorEstimationStrategy::kelly_error)
       {
+        using FunctionMap = std::map<types::boundary_id, const Function<dim> *>;
+
         KellyErrorEstimator<dim>::estimate(dof_handler,
                                            QGauss<dim - 1>(fe.degree + 2),
-                                           typename FunctionMap<dim>::type(),
+                                           FunctionMap(),
                                            tmp_solution,
                                            estimated_error_per_cell);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.