From 67b527d383aefffd4a62392ddf623dea1cc45a7a Mon Sep 17 00:00:00 2001 From: Magdalena Schreter Date: Wed, 15 May 2024 09:06:14 +0200 Subject: [PATCH] make FE_Nothing and FE_DGQ consistent --- doc/news/9.4.0-vs-9.5.0.h | 2 +- doc/news/changes/minor/20240118Schreter | 2 +- doc/news/changes/minor/20240219SchreterRitthaler | 2 +- examples/step-85/step-85.cc | 2 +- include/deal.II/lac/affine_constraints.templates.h | 2 +- include/deal.II/matrix_free/shape_info.h | 4 ++-- include/deal.II/matrix_free/tools.h | 10 +++++----- tests/hp/fe_nothing_05.cc | 2 +- tests/hp/fe_nothing_06.cc | 2 +- tests/hp/fe_nothing_07.cc | 2 +- tests/hp/fe_nothing_12.cc | 2 +- tests/hp/fe_nothing_13.cc | 2 +- tests/hp/fe_nothing_14.cc | 2 +- tests/hp/solution_transfer_03.cc | 2 +- tests/mpi/hp_step-4.cc | 5 +++-- 15 files changed, 22 insertions(+), 21 deletions(-) diff --git a/doc/news/9.4.0-vs-9.5.0.h b/doc/news/9.4.0-vs-9.5.0.h index abdd443ca1..e355b7897f 100644 --- a/doc/news/9.4.0-vs-9.5.0.h +++ b/doc/news/9.4.0-vs-9.5.0.h @@ -1052,7 +1052,7 @@ inconvenience this causes. New: The new class MatrixFreeTools::ElementActivationAndDeactivationMatrixFree is a wrapper around MatrixFree designed to deal with DoFHandler objects involving cells without degrees of freedom, i.e., - cells using FENothing as element type. The class helps to implement the + cells using FE_Nothing as element type. The class helps to implement the "element birth and death technique".
(Peter Munch, Sebastian Proell, 2022/07/09) diff --git a/doc/news/changes/minor/20240118Schreter b/doc/news/changes/minor/20240118Schreter index 3021b4753a..2931ce6990 100644 --- a/doc/news/changes/minor/20240118Schreter +++ b/doc/news/changes/minor/20240118Schreter @@ -1,4 +1,4 @@ Changed: -FE_DGQ::get_interpolation_matrix() now also takes as a source element FENothing. +FE_DGQ::get_interpolation_matrix() now also takes as a source element FE_Nothing.
(Magdalena Schreter, Peter Munch, 2024/01/18) diff --git a/doc/news/changes/minor/20240219SchreterRitthaler b/doc/news/changes/minor/20240219SchreterRitthaler index bf1f8986b0..e77acd6ccd 100644 --- a/doc/news/changes/minor/20240219SchreterRitthaler +++ b/doc/news/changes/minor/20240219SchreterRitthaler @@ -1,3 +1,3 @@ -Fixed: Fix make_flux_sparsity_pattern for a FECollection containing FENothing elements. +Fixed: Fix make_flux_sparsity_pattern for a FECollection containing FE_Nothing elements.
(Magdalena Schreter-Fleischhacker, Andreas Ritthaler, 2024/02/19) diff --git a/examples/step-85/step-85.cc b/examples/step-85/step-85.cc index 7bf39154d2..5afa0d2ed3 100644 --- a/examples/step-85/step-85.cc +++ b/examples/step-85/step-85.cc @@ -359,7 +359,7 @@ namespace Step85 level_set); // As we iterate over the cells, we don't need to do anything on the cells - // that have FENothing elements. To disregard them we use an iterator + // that have FE_Nothing elements. To disregard them we use an iterator // filter. for (const auto &cell : dof_handler.active_cell_iterators() | diff --git a/include/deal.II/lac/affine_constraints.templates.h b/include/deal.II/lac/affine_constraints.templates.h index 87dec4533c..06172a6da3 100644 --- a/include/deal.II/lac/affine_constraints.templates.h +++ b/include/deal.II/lac/affine_constraints.templates.h @@ -4714,7 +4714,7 @@ AffineConstraints::add_entries_local_to_global( const size_type n_local_cols = col_indices.size(); // Early return if the length of row and column indices is zero, relevant - // for the usage with FENothing. + // for the usage with FE_Nothing. if (n_local_cols == 0 && n_local_rows == 0) return; diff --git a/include/deal.II/matrix_free/shape_info.h b/include/deal.II/matrix_free/shape_info.h index 96d88ed373..b3d5252464 100644 --- a/include/deal.II/matrix_free/shape_info.h +++ b/include/deal.II/matrix_free/shape_info.h @@ -430,9 +430,9 @@ namespace internal * Return whether an element is supported by MatrixFree. * * The following scalar elements are supported: - * - FENothing, FE_DGP, and FE_Q_DG0 + * - FE_Nothing, FE_DGP, and FE_Q_DG0 * - polynomial tensor-product elements based on - * Polynomials::Polynomial (FE_Q, FE_DG_Q, FE_DGQArbitraryNodes, + * Polynomials::Polynomial (FE_Q, FE_DGQ, FE_DGQArbitraryNodes, * FE_DGQHermite, FE_DGQLegendre) or Polynomials::PiecewisePolynomial * (FE_Q_iso_Q1). * - elements for simplex, pyramids, and wedges (FE_SimplexP, diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index f56436f9f0..73f77159f6 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -160,10 +160,10 @@ namespace MatrixFreeTools /** * A wrapper around MatrixFree to help users to deal with DoFHandler * objects involving cells without degrees of freedom, i.e., - * cells using FENothing as element type. In the following we call such cells - * deactivated. All other cells are activated. In contrast to MatrixFree, - * this class skips deactivated cells and faces between activated and - * deactivated cells are treated as boundary faces. + * cells using FE_Nothing as element type. In the following we call such + * cells deactivated. All other cells are activated. In contrast to + * MatrixFree, this class skips deactivated cells and faces between activated + * and deactivated cells are treated as boundary faces. */ template #include -- 2.39.5