]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Update FunctionMap 58/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 21 May 2019 20:02:38 +0000 (15:02 -0500)
committerMatthias Maier <tamiko@43-1.org>
Tue, 21 May 2019 20:02:38 +0000 (15:02 -0500)
ElastoplasticTorsion/ElastoplasticTorsion.cc

index dd9580ed96ed5e276d9c4f54dfadd5c6ef3ad34c..d2b8e40c8cc3018b16c225941a5c8bb4fcb0466a 100644 (file)
@@ -763,10 +763,12 @@ namespace nsp
   template <int dim>
   void ElastoplasticTorsion<dim>::refine_mesh ()
   {
+    using FunctionMap = std::map<types::boundary_id, const Function<dim> *>;
+
     Vector<float> estimated_error_per_cell (triangulation.n_active_cells());
     KellyErrorEstimator<dim>::estimate (dof_handler,
                                         QGauss<dim-1>(3),
-                                        typename FunctionMap<dim>::type(),
+                                        FunctionMap(),
                                         present_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.