From: Martin Kronbichler Date: Fri, 27 Sep 2024 20:21:59 +0000 (+0200) Subject: Fix typo in an internal class name X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adcdec4824ddc026b9705feed1b1ebf91eec1314;p=dealii.git Fix typo in an internal class name --- diff --git a/include/deal.II/matrix_free/matrix_free.templates.h b/include/deal.II/matrix_free/matrix_free.templates.h index 51cd4c0f04..570b629a03 100644 --- a/include/deal.II/matrix_free/matrix_free.templates.h +++ b/include/deal.II/matrix_free/matrix_free.templates.h @@ -146,12 +146,12 @@ MatrixFree::create_cell_subrange_hp_by_index( namespace { - class FaceRangeCompartor + class FaceRangeComparator { public: - FaceRangeCompartor(const std::vector &fe_indices, - const bool include, - const bool only_face_type) + FaceRangeComparator(const std::vector &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::internal_reinit( face_info.faces.begin() + range.second, std::array{ {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::internal_reinit( face_info.faces.begin() + range.second, std::array{ {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::internal_reinit( face_info.faces.begin() + range.first, face_info.faces.begin() + range.second, std::array{{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{{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,