From: Sebastian Proell Date: Thu, 30 Mar 2023 15:45:46 +0000 (+0200) Subject: MatrixFreeTools: fix some refs and const X-Git-Tag: v9.5.0-rc1~387^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a3abfe66389b47a5f710c3f8c07d5252dec0b2;p=dealii.git MatrixFreeTools: fix some refs and const --- diff --git a/include/deal.II/matrix_free/tools.h b/include/deal.II/matrix_free/tools.h index 61082de1bd..e31a6515c5 100644 --- a/include/deal.II/matrix_free/tools.h +++ b/include/deal.II/matrix_free/tools.h @@ -234,15 +234,15 @@ namespace MatrixFreeTools const MatrixFree &, VectorTypeOut &, const VectorTypeIn &, - const std::pair)> &cell_operation, - VectorTypeOut & dst, - const VectorTypeIn & src, - const bool zero_dst_vector = false) + const std::pair &)> &cell_operation, + VectorTypeOut & dst, + const VectorTypeIn & src, + const bool zero_dst_vector = false) const { const auto ebd_cell_operation = [&](const auto &matrix_free, auto & dst, const auto &src, - const auto range) { + const auto &range) { const auto category = matrix_free.get_cell_range_category(range); if (category != fe_index_valid) @@ -268,26 +268,26 @@ namespace MatrixFreeTools void(const MatrixFree &, VectorTypeOut &, const VectorTypeIn &, - const std::pair)> &cell_operation, + const std::pair &)> &cell_operation, const std::function< void(const MatrixFree &, VectorTypeOut &, const VectorTypeIn &, - const std::pair)> &face_operation, + const std::pair &)> &face_operation, const std::function< void(const MatrixFree &, VectorTypeOut &, const VectorTypeIn &, - const std::pair, + const std::pair &, const bool)> &boundary_operation, VectorTypeOut & dst, const VectorTypeIn & src, - const bool zero_dst_vector = false) + const bool zero_dst_vector = false) const { const auto ebd_cell_operation = [&](const auto &matrix_free, auto & dst, const auto &src, - const auto range) { + const auto &range) { const auto category = matrix_free.get_cell_range_category(range); if (category != fe_index_valid) @@ -300,7 +300,7 @@ namespace MatrixFreeTools [&](const auto &matrix_free, auto & dst, const auto &src, - const auto range) { + const auto &range) { const auto category = matrix_free.get_face_range_category(range); const unsigned int type =