]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Avoid using DataOut::active_cell_iterator. 73/head
authorDavid Wells <wellsd2@rpi.edu>
Mon, 18 May 2020 17:16:44 +0000 (13:16 -0400)
committerDavid Wells <drwells@email.unc.edu>
Mon, 18 May 2020 17:23:19 +0000 (13:23 -0400)
This was recently removed from deal.II.

Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc

index 5df82b91168a0b168d7e2caefc3021569f019b34..8f42a1158f4dae8610a0d870095a5b24cef2eae9 100644 (file)
@@ -2054,8 +2054,7 @@ namespace ViscoElasStripHole
     virtual typename DataOut<dim, DH>::cell_iterator
     first_cell ()
     {
-      typename DataOut<dim, DH>::active_cell_iterator
-      cell = this->dofs->begin_active();
+      auto cell = this->dofs->begin_active();
       while ((cell != this->dofs->end()) &&
              (cell->subdomain_id() != subdomain_id))
         ++cell;
@@ -2070,7 +2069,7 @@ namespace ViscoElasStripHole
           const IteratorFilters::SubdomainEqualTo predicate(subdomain_id);
           return
             ++(FilteredIterator
-               <typename DataOut<dim, DH>::active_cell_iterator>
+               <typename DataOut<dim, DH>::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.