From: David Wells Date: Mon, 18 May 2020 17:16:44 +0000 (-0400) Subject: Avoid using DataOut::active_cell_iterator. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F73%2Fhead;p=code-gallery.git Avoid using DataOut::active_cell_iterator. This was recently removed from deal.II. --- diff --git a/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc b/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc index 5df82b9..8f42a11 100644 --- a/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc +++ b/Quasi_static_Finite_strain_Quasi_incompressible_ViscoElasticity/viscoelastic_strip_with_hole.cc @@ -2054,8 +2054,7 @@ namespace ViscoElasStripHole virtual typename DataOut::cell_iterator first_cell () { - typename DataOut::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 - ::active_cell_iterator> + ::cell_iterator> (predicate,old_cell)); } else