]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid use of deprecated method 11836/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 3 Mar 2021 14:01:11 +0000 (15:01 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 3 Mar 2021 14:01:11 +0000 (15:01 +0100)
include/deal.II/numerics/data_out_dof_data.templates.h
source/grid/tria_description.cc

index e97e2a2dd2cdcb44af6d839689127a231819de1b..4eb6728d676fbd7e702e17af43c75eca3aad9966 100644 (file)
@@ -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<dim, spacedim>::active_cell_iterator
                     dh_cell(&cell->get_triangulation(),
index 417f0116944a90d64ec3afdfc3b8d3442e7ea6c9..f49e7e4b4e8e7d61a3a7e419df6a80522dc197d3 100644 (file)
@@ -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<CellAccessor<dim, spacedim>> &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);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.