From 3b195bac331c1530c4983e48551ddfb5c3a0657e Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Wed, 16 Dec 2015 15:44:32 -0600 Subject: [PATCH] Avoid using a deprecated function. --- examples/step-14/step-14.cc | 4 ++-- examples/step-9/step-9.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.5