]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make clang-tidy happy
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 25 May 2023 18:37:22 +0000 (14:37 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 25 May 2023 18:37:22 +0000 (14:37 -0400)
include/deal.II/lac/trilinos_tpetra_vector.h
include/deal.II/matrix_free/cuda_matrix_free.h
include/deal.II/matrix_free/cuda_matrix_free.templates.h

index e5d1bd55c8ecfcf667cc52966378c3d3bfc135fc..84b9fd14c0aa0280c1ba3f217b29450e3e224aa2 100644 (file)
@@ -194,7 +194,7 @@ namespace LinearAlgebra
        */
       DEAL_II_DEPRECATED_EARLY
       virtual void
-      import(const ReadWriteVector<double> &V,
+      import(const ReadWriteVector<Number> &V,
              VectorOperation::values        operation,
              std::shared_ptr<const Utilities::MPI::CommunicationPatternBase>
                communication_pattern = {}) override
index a30d57b2603d7475a93a1764ad99bd81e6e781b9..18371f2489b52b8b199519c4e04776de56e39e72 100644 (file)
@@ -432,13 +432,13 @@ namespace CUDAWrappers
      */
     template <typename IteratorFiltersType>
     void
-    internal_reinit(const Mapping<dim> &             mapping,
-                    const DoFHandler<dim> &          dof_handler,
-                    const AffineConstraints<Number> &constraints,
-                    const Quadrature<1> &            quad,
-                    const IteratorFiltersType &      iterator_filter,
-                    std::shared_ptr<const MPI_Comm>  comm,
-                    const AdditionalData             additional_data);
+    internal_reinit(const Mapping<dim> &                   mapping,
+                    const DoFHandler<dim> &                dof_handler,
+                    const AffineConstraints<Number> &      constraints,
+                    const Quadrature<1> &                  quad,
+                    const IteratorFiltersType &            iterator_filter,
+                    const std::shared_ptr<const MPI_Comm> &comm,
+                    const AdditionalData                   additional_data);
 
     /**
      * Helper function. Loop over all the cells and apply the functor on each
index b09be81b445720a86a7a9d29d826ea3a86dcce9c..6814af2c7c17b29dfb68a9815ce718e9f306a1e8 100644 (file)
@@ -665,13 +665,13 @@ namespace CUDAWrappers
   template <typename IteratorFiltersType>
   void
   MatrixFree<dim, Number>::internal_reinit(
-    const Mapping<dim> &             mapping,
-    const DoFHandler<dim> &          dof_handler_,
-    const AffineConstraints<Number> &constraints,
-    const Quadrature<1> &            quad,
-    const IteratorFiltersType &      iterator_filter,
-    std::shared_ptr<const MPI_Comm>  comm,
-    const AdditionalData             additional_data)
+    const Mapping<dim> &                   mapping,
+    const DoFHandler<dim> &                dof_handler_,
+    const AffineConstraints<Number> &      constraints,
+    const Quadrature<1> &                  quad,
+    const IteratorFiltersType &            iterator_filter,
+    const std::shared_ptr<const MPI_Comm> &comm,
+    const AdditionalData                   additional_data)
   {
     dof_handler = &dof_handler_;
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.