From 50bc1a526b09edce90babe5d2250bdac5a898255 Mon Sep 17 00:00:00 2001 From: David Wells Date: Mon, 18 May 2020 13:16:44 -0400 Subject: [PATCH] Avoid using DataOut::active_cell_iterator. This was recently removed from deal.II. --- .../viscoelastic_strip_with_hole.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 -- 2.39.5