]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Standardize on 'typename PreconditionerType'. 15579/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jul 2023 04:20:53 +0000 (22:20 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 2 Jul 2023 04:20:53 +0000 (22:20 -0600)
include/deal.II/multigrid/mg_coarse.h

index 1db73db581067edbd527013d55d275097b3295e4..719df582911196ac6611a3d1d7e862935d1b5a57 100644 (file)
@@ -90,7 +90,7 @@ private:
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 class MGCoarseGridIterativeSolver : public MGCoarseGridBase<VectorType>
 {
 public:
@@ -291,7 +291,7 @@ MGCoarseGridApplySmoother<VectorType>::operator()(const unsigned int level,
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 MGCoarseGridIterativeSolver<VectorType,
                             SolverType,
                             MatrixType,
@@ -306,7 +306,7 @@ MGCoarseGridIterativeSolver<VectorType,
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 MGCoarseGridIterativeSolver<VectorType,
                             SolverType,
                             MatrixType,
@@ -324,7 +324,7 @@ MGCoarseGridIterativeSolver<VectorType,
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 void
 MGCoarseGridIterativeSolver<
   VectorType,
@@ -344,7 +344,7 @@ MGCoarseGridIterativeSolver<
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 void
 MGCoarseGridIterativeSolver<VectorType,
                             SolverType,
@@ -366,7 +366,7 @@ namespace internal
       typename VectorType,
       typename SolverType,
       typename MatrixType,
-      class PreconditionerType,
+      typename PreconditionerType,
       std::enable_if_t<
         std::is_same<VectorType, typename SolverType::vector_type>::value,
         VectorType> * = nullptr>
@@ -384,7 +384,7 @@ namespace internal
       typename VectorType,
       typename SolverType,
       typename MatrixType,
-      class PreconditionerType,
+      typename PreconditionerType,
       std::enable_if_t<
         !std::is_same<VectorType, typename SolverType::vector_type>::value,
         VectorType> * = nullptr>
@@ -413,7 +413,7 @@ namespace internal
 template <typename VectorType,
           typename SolverType,
           typename MatrixType,
-          class PreconditionerType>
+          typename PreconditionerType>
 void
                        MGCoarseGridIterativeSolver<
                          VectorType,

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.