From: Martin Kronbichler Date: Wed, 3 Mar 2021 14:01:11 +0000 (+0100) Subject: Avoid use of deprecated method X-Git-Tag: v9.3.0-rc1~384^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11836%2Fhead;p=dealii.git Avoid use of deprecated method --- diff --git a/include/deal.II/numerics/data_out_dof_data.templates.h b/include/deal.II/numerics/data_out_dof_data.templates.h index e97e2a2dd2..4eb6728d67 100644 --- a/include/deal.II/numerics/data_out_dof_data.templates.h +++ b/include/deal.II/numerics/data_out_dof_data.templates.h @@ -474,7 +474,7 @@ namespace internal &fe) { return finite_elements[dataset].get() == fe.get(); }); if (is_duplicate == false) { - if (cell->active()) + if (cell->is_active()) { typename DoFHandler::active_cell_iterator dh_cell(&cell->get_triangulation(), diff --git a/source/grid/tria_description.cc b/source/grid/tria_description.cc index 417f011694..f49e7e4b4e 100644 --- a/source/grid/tria_description.cc +++ b/source/grid/tria_description.cc @@ -211,7 +211,7 @@ namespace TriangulationDescription for (auto cell : tria.cell_iterators_on_level(level)) if ((construct_multigrid && (cell->level_subdomain_id() == my_rank)) || - (cell->active() && cell->subdomain_id() == my_rank)) + (cell->is_active() && cell->subdomain_id() == my_rank)) add_vertices_of_cell_to_vertices_owned_by_locally_owned_cells( cell, vertices_owned_by_locally_owned_cells_on_level); @@ -298,7 +298,7 @@ namespace TriangulationDescription // on active level const auto is_locally_relevant_on_active_level = [&](TriaIterator> &cell) { - if (cell->active()) + if (cell->is_active()) for (const auto v : cell->vertex_indices()) if (vertices_owned_by_locally_owned_active_cells [cell->vertex_index(v)]) @@ -316,7 +316,7 @@ namespace TriangulationDescription for (auto cell : tria.cell_iterators_on_level(level)) if ((construct_multigrid && (cell->level_subdomain_id() == my_rank)) || - (cell->active() && cell->subdomain_id() == my_rank)) + (cell->is_active() && cell->subdomain_id() == my_rank)) add_vertices_of_cell_to_vertices_owned_by_locally_owned_cells( cell, vertices_owned_by_locally_owned_cells_on_level);