]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix typo in an internal class name 17736/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Fri, 27 Sep 2024 20:21:59 +0000 (22:21 +0200)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Fri, 27 Sep 2024 20:21:59 +0000 (22:21 +0200)
include/deal.II/matrix_free/matrix_free.templates.h

index 51cd4c0f04c8749c50628fe857669160554024b8..570b629a034be32c4d5e02afb6ece5325c0d0e7a 100644 (file)
@@ -146,12 +146,12 @@ MatrixFree<dim, Number, VectorizedArrayType>::create_cell_subrange_hp_by_index(
 
 namespace
 {
-  class FaceRangeCompartor
+  class FaceRangeComparator
   {
   public:
-    FaceRangeCompartor(const std::vector<unsigned int> &fe_indices,
-                       const bool                       include,
-                       const bool                       only_face_type)
+    FaceRangeComparator(const std::vector<unsigned int> &fe_indices,
+                        const bool                       include,
+                        const bool                       only_face_type)
       : fe_indices(fe_indices)
       , include(include)
       , only_face_type(only_face_type)
@@ -639,7 +639,7 @@ MatrixFree<dim, Number, VectorizedArrayType>::internal_reinit(
                     face_info.faces.begin() + range.second,
                     std::array<unsigned int, 3>{
                       {face_type, fe_index_interior, fe_index_exterior}},
-                    FaceRangeCompartor(fe_indices, false, only_face_type)) -
+                    FaceRangeComparator(fe_indices, false, only_face_type)) -
                   face_info.faces.begin();
                 return_range.second =
                   std::lower_bound(
@@ -647,7 +647,7 @@ MatrixFree<dim, Number, VectorizedArrayType>::internal_reinit(
                     face_info.faces.begin() + range.second,
                     std::array<unsigned int, 3>{
                       {face_type, fe_index_interior, fe_index_exterior}},
-                    FaceRangeCompartor(fe_indices, true, only_face_type)) -
+                    FaceRangeComparator(fe_indices, true, only_face_type)) -
                   face_info.faces.begin();
                 Assert(return_range.first >= range.first &&
                          return_range.second <= range.second,
@@ -739,14 +739,14 @@ MatrixFree<dim, Number, VectorizedArrayType>::internal_reinit(
                     face_info.faces.begin() + range.first,
                     face_info.faces.begin() + range.second,
                     std::array<unsigned int, 2>{{face_type, fe_index}},
-                    FaceRangeCompartor(fe_indices, false, only_face_type)) -
+                    FaceRangeComparator(fe_indices, false, only_face_type)) -
                   face_info.faces.begin();
                 return_range.second =
                   std::lower_bound(
                     face_info.faces.begin() + return_range.first,
                     face_info.faces.begin() + range.second,
                     std::array<unsigned int, 2>{{face_type, fe_index}},
-                    FaceRangeCompartor(fe_indices, true, only_face_type)) -
+                    FaceRangeComparator(fe_indices, true, only_face_type)) -
                   face_info.faces.begin();
                 Assert(return_range.first >= range.first &&
                          return_range.second <= range.second,

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.