]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Adapt step-18 to the resent changes in DataOut
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Jul 2013 11:12:52 +0000 (11:12 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 27 Jul 2013 11:12:52 +0000 (11:12 +0000)
git-svn-id: https://svn.dealii.org/trunk@30168 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-18/step-18.cc

index 5988c9765e50e713620e29f7aa2d6e3b30783269..6778fdebe5faa18e7af80e20396164549e4c2c0a 100644 (file)
@@ -1330,10 +1330,10 @@ namespace Step18
       subdomain_id (subdomain_id)
     {}
 
-    virtual typename DoFHandler<dim>::cell_iterator
+    virtual typename DataOut<dim>::cell_iterator
     first_cell ()
     {
-      typename DoFHandler<dim>::active_cell_iterator
+      typename DataOut<dim>::active_cell_iterator
       cell = this->dofs->begin_active();
       while ((cell != this->dofs->end()) &&
              (cell->subdomain_id() != subdomain_id))
@@ -1342,8 +1342,8 @@ namespace Step18
       return cell;
     }
 
-    virtual typename DoFHandler<dim>::cell_iterator
-    next_cell (const typename DoFHandler<dim>::cell_iterator &old_cell)
+    virtual typename DataOut<dim>::cell_iterator
+    next_cell (const typename DataOut<dim>::cell_iterator &old_cell)
     {
       if (old_cell != this->dofs->end())
         {
@@ -1352,7 +1352,7 @@ namespace Step18
 
           return
             ++(FilteredIterator
-               <typename DoFHandler<dim>::active_cell_iterator>
+               <typename DataOut<dim>::active_cell_iterator>
                (predicate,old_cell));
         }
       else

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.