From: Matthias Maier Date: Sat, 27 Jul 2013 11:12:52 +0000 (+0000) Subject: Adapt step-18 to the resent changes in DataOut X-Git-Tag: v8.1.0~1196 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35970577f857305d17398bdc4406834e9d1015de;p=dealii.git Adapt step-18 to the resent changes in DataOut git-svn-id: https://svn.dealii.org/trunk@30168 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-18/step-18.cc b/deal.II/examples/step-18/step-18.cc index 5988c9765e..6778fdebe5 100644 --- a/deal.II/examples/step-18/step-18.cc +++ b/deal.II/examples/step-18/step-18.cc @@ -1330,10 +1330,10 @@ namespace Step18 subdomain_id (subdomain_id) {} - virtual typename DoFHandler::cell_iterator + virtual typename DataOut::cell_iterator first_cell () { - typename DoFHandler::active_cell_iterator + typename DataOut::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::cell_iterator - next_cell (const typename DoFHandler::cell_iterator &old_cell) + virtual typename DataOut::cell_iterator + next_cell (const typename DataOut::cell_iterator &old_cell) { if (old_cell != this->dofs->end()) { @@ -1352,7 +1352,7 @@ namespace Step18 return ++(FilteredIterator - ::active_cell_iterator> + ::active_cell_iterator> (predicate,old_cell)); } else