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

index 514d1c0f6f28cac918e14ab1c425fbbe1416406f..1db73db581067edbd527013d55d275097b3295e4 100644 (file)
@@ -88,7 +88,7 @@ private:
  * matrix and preconditioner as a coarse grid operator.
  */
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 class MGCoarseGridIterativeSolver : public MGCoarseGridBase<VectorType>
@@ -289,7 +289,7 @@ MGCoarseGridApplySmoother<VectorType>::operator()(const unsigned int level,
 /* ------------------ Functions for MGCoarseGridIterativeSolver ------------ */
 
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 MGCoarseGridIterativeSolver<VectorType,
@@ -304,7 +304,7 @@ MGCoarseGridIterativeSolver<VectorType,
 
 
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 MGCoarseGridIterativeSolver<VectorType,
@@ -322,7 +322,7 @@ MGCoarseGridIterativeSolver<VectorType,
 
 
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 void
@@ -342,7 +342,7 @@ MGCoarseGridIterativeSolver<
 
 
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 void
@@ -364,7 +364,7 @@ namespace internal
   {
     template <
       typename VectorType,
-      class SolverType,
+      typename SolverType,
       typename MatrixType,
       class PreconditionerType,
       std::enable_if_t<
@@ -382,7 +382,7 @@ namespace internal
 
     template <
       typename VectorType,
-      class SolverType,
+      typename SolverType,
       typename MatrixType,
       class PreconditionerType,
       std::enable_if_t<
@@ -411,7 +411,7 @@ namespace internal
 
 
 template <typename VectorType,
-          class SolverType,
+          typename SolverType,
           typename MatrixType,
           class PreconditionerType>
 void

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.