From: Wolfgang Bangerth Date: Wed, 16 Dec 2015 21:44:32 +0000 (-0600) Subject: Avoid using a deprecated function. X-Git-Tag: v8.4.0-rc2~151^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b195bac331c1530c4983e48551ddfb5c3a0657e;p=dealii.git Avoid using a deprecated function. --- diff --git a/examples/step-14/step-14.cc b/examples/step-14/step-14.cc index 8ce57a67b5..9cfe52bfd7 100644 --- a/examples/step-14/step-14.cc +++ b/examples/step-14/step-14.cc @@ -351,7 +351,7 @@ namespace Step14 << std::ends; std::ofstream out (filename.str().c_str()); - GridOut().write_eps (dof_handler.get_tria(), out); + GridOut().write_eps (dof_handler.get_triangulation(), out); } } @@ -2358,7 +2358,7 @@ namespace Step14 // all off to WorkStream::run to compute the estimators for all // cells in parallel: error_indicators.reinit (DualSolver::dof_handler - .get_tria().n_active_cells()); + .get_triangulation().n_active_cells()); typedef std_cxx11::tuple::iterator> diff --git a/examples/step-9/step-9.cc b/examples/step-9/step-9.cc index 9e018aae0c..2598e2beee 100644 --- a/examples/step-9/step-9.cc +++ b/examples/step-9/step-9.cc @@ -1018,9 +1018,9 @@ namespace Step9 const Vector &solution, Vector &error_per_cell) { - Assert (error_per_cell.size() == dof_handler.get_tria().n_active_cells(), + Assert (error_per_cell.size() == dof_handler.get_triangulation().n_active_cells(), ExcInvalidVectorLength (error_per_cell.size(), - dof_handler.get_tria().n_active_cells())); + dof_handler.get_triangulation().n_active_cells())); typedef std_cxx11::tuple::active_cell_iterator,Vector::iterator> IteratorTuple;