From 925eba61d7765056599cbd2fe28a51c78b5079e0 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 25 May 2023 14:37:22 -0400 Subject: [PATCH] Make clang-tidy happy --- include/deal.II/lac/trilinos_tpetra_vector.h | 2 +- include/deal.II/matrix_free/cuda_matrix_free.h | 14 +++++++------- .../matrix_free/cuda_matrix_free.templates.h | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/include/deal.II/lac/trilinos_tpetra_vector.h b/include/deal.II/lac/trilinos_tpetra_vector.h index e5d1bd55c8..84b9fd14c0 100644 --- a/include/deal.II/lac/trilinos_tpetra_vector.h +++ b/include/deal.II/lac/trilinos_tpetra_vector.h @@ -194,7 +194,7 @@ namespace LinearAlgebra */ DEAL_II_DEPRECATED_EARLY virtual void - import(const ReadWriteVector &V, + import(const ReadWriteVector &V, VectorOperation::values operation, std::shared_ptr communication_pattern = {}) override diff --git a/include/deal.II/matrix_free/cuda_matrix_free.h b/include/deal.II/matrix_free/cuda_matrix_free.h index a30d57b260..18371f2489 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.h @@ -432,13 +432,13 @@ namespace CUDAWrappers */ template void - internal_reinit(const Mapping & mapping, - const DoFHandler & dof_handler, - const AffineConstraints &constraints, - const Quadrature<1> & quad, - const IteratorFiltersType & iterator_filter, - std::shared_ptr comm, - const AdditionalData additional_data); + internal_reinit(const Mapping & mapping, + const DoFHandler & dof_handler, + const AffineConstraints & constraints, + const Quadrature<1> & quad, + const IteratorFiltersType & iterator_filter, + const std::shared_ptr &comm, + const AdditionalData additional_data); /** * Helper function. Loop over all the cells and apply the functor on each diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.h b/include/deal.II/matrix_free/cuda_matrix_free.templates.h index b09be81b44..6814af2c7c 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.h @@ -665,13 +665,13 @@ namespace CUDAWrappers template void MatrixFree::internal_reinit( - const Mapping & mapping, - const DoFHandler & dof_handler_, - const AffineConstraints &constraints, - const Quadrature<1> & quad, - const IteratorFiltersType & iterator_filter, - std::shared_ptr comm, - const AdditionalData additional_data) + const Mapping & mapping, + const DoFHandler & dof_handler_, + const AffineConstraints & constraints, + const Quadrature<1> & quad, + const IteratorFiltersType & iterator_filter, + const std::shared_ptr &comm, + const AdditionalData additional_data) { dof_handler = &dof_handler_; -- 2.39.5