Skip to content

Commit

Permalink
Merge pull request #14995 from sebproell/element-activation-fix-ref-c…
Browse files Browse the repository at this point in the history
…onst

MatrixFreeTools: fix some refs and const
  • Loading branch information
kronbichler committed Mar 31, 2023
2 parents bdbc1a4 + 86a3abf commit fb5adab
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions include/deal.II/matrix_free/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,15 @@ namespace MatrixFreeTools
const MatrixFree<dim, Number, VectorizedArrayType> &,
VectorTypeOut &,
const VectorTypeIn &,
const std::pair<unsigned int, unsigned int>)> &cell_operation,
VectorTypeOut & dst,
const VectorTypeIn & src,
const bool zero_dst_vector = false)
const std::pair<unsigned int, unsigned int> &)> &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)
Expand All @@ -268,26 +268,26 @@ namespace MatrixFreeTools
void(const MatrixFree<dim, Number, VectorizedArrayType> &,
VectorTypeOut &,
const VectorTypeIn &,
const std::pair<unsigned int, unsigned int>)> &cell_operation,
const std::pair<unsigned int, unsigned int> &)> &cell_operation,
const std::function<
void(const MatrixFree<dim, Number, VectorizedArrayType> &,
VectorTypeOut &,
const VectorTypeIn &,
const std::pair<unsigned int, unsigned int>)> &face_operation,
const std::pair<unsigned int, unsigned int> &)> &face_operation,
const std::function<
void(const MatrixFree<dim, Number, VectorizedArrayType> &,
VectorTypeOut &,
const VectorTypeIn &,
const std::pair<unsigned int, unsigned int>,
const std::pair<unsigned int, unsigned int> &,
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)
Expand All @@ -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 =
Expand Down

0 comments on commit fb5adab

Please sign in to comment.