Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MatrixFreeTools: fix some refs and const #14995

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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