]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using a deprecated function. 1988/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 16 Dec 2015 21:44:32 +0000 (15:44 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 16 Dec 2015 21:44:32 +0000 (15:44 -0600)
examples/step-14/step-14.cc
examples/step-9/step-9.cc

index 8ce57a67b5a0628e5afbbcfcfb23b44c8ba3a3da..9cfe52bfd7841adec410a9e1801246cc83bf2f4f 100644 (file)
@@ -351,7 +351,7 @@ namespace Step14
                << std::ends;
 
       std::ofstream out (filename.str().c_str());
-      GridOut().write_eps (dof_handler.get_tria(), out);
+      GridOut().write_eps (dof_handler.get_triangulation(), out);
     }
   }
 
@@ -2358,7 +2358,7 @@ namespace Step14
       // all off to WorkStream::run to compute the estimators for all
       // cells in parallel:
       error_indicators.reinit (DualSolver<dim>::dof_handler
-                               .get_tria().n_active_cells());
+                               .get_triangulation().n_active_cells());
 
       typedef
       std_cxx11::tuple<active_cell_iterator,Vector<float>::iterator>
index 9e018aae0ca4968422fca93ed13c42184d3676e0..2598e2beee4aad577dd351d0099961b080be9e95 100644 (file)
@@ -1018,9 +1018,9 @@ namespace Step9
                                 const Vector<double>  &solution,
                                 Vector<float>         &error_per_cell)
   {
-    Assert (error_per_cell.size() == dof_handler.get_tria().n_active_cells(),
+    Assert (error_per_cell.size() == dof_handler.get_triangulation().n_active_cells(),
             ExcInvalidVectorLength (error_per_cell.size(),
-                                    dof_handler.get_tria().n_active_cells()));
+                                    dof_handler.get_triangulation().n_active_cells()));
 
     typedef std_cxx11::tuple<typename DoFHandler<dim>::active_cell_iterator,Vector<float>::iterator>
     IteratorTuple;

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.