From af78f06b510b7cbb969c0c0ab22f8f3d986e2e8f Mon Sep 17 00:00:00 2001 From: Guilhem Poy Date: Thu, 8 May 2025 08:05:20 +0200 Subject: [PATCH] Apply suggestions from code review Style and spelling corrections Co-authored-by: Wolfgang Bangerth Co-authored-by: Daniel Arndt --- include/deal.II/fe/fe_tools_extrapolate.templates.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/deal.II/fe/fe_tools_extrapolate.templates.h b/include/deal.II/fe/fe_tools_extrapolate.templates.h index 95e24ed091..d2d7179ecb 100644 --- a/include/deal.II/fe/fe_tools_extrapolate.templates.h +++ b/include/deal.II/fe/fe_tools_extrapolate.templates.h @@ -705,17 +705,17 @@ namespace FETools } template - inline constexpr bool is_la_vector = std::false_type{}; + inline constexpr bool is_la_vector = false; template inline constexpr bool is_la_vector> = - std::true_type{}; + true; template inline constexpr bool is_la_vector> = - std::true_type{}; + true; template void @@ -1362,14 +1362,14 @@ namespace FETools compute_all_non_local_data(dof2, u2_relevant); - // List all DoFs that, on this mpi rank, lives at the intersection between + // List all DoFs that, on this mpi rank, live at the intersection between // a non-artificial cell and a more refined ghost cell (the dofs being // enumerated from the more refined side). For each of these DoFs, also // store the most refined level among the neighboring cells. This set of // DoFs naturally includes the set of DoFs shared between a refined ghost // cell and a coarser locally owned cell and can be constructed without a // recursion to find cells with common vertices (which are not necessarily - // direct neighbours in 2D and 3D). + // direct neighbors in 2D and 3D). const FiniteElement &fe = dof2.get_fe(); if (fe.max_dofs_per_face() > 0) { @@ -1508,7 +1508,7 @@ namespace FETools queue.pop(); } - // Correctly synchronise values at ghost interface for all processors. For + // Correctly synchronize values at ghost interface for all processors. For // Petsc/Trilinos, a simple compress(insert) operation allows to insert // values set by other processors into locally owned DoF, but the deal.II // implementation of the LinearAlgebra::distributed vectors and associated -- 2.39.5