]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove a 'using' declaration in step-50 that is in the way. 14532/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 3 Dec 2022 20:34:15 +0000 (13:34 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sun, 4 Dec 2022 17:49:18 +0000 (10:49 -0700)
examples/step-50/step-50.cc

index f07a70f08d64498c30907e94dce919c426ae50b5..38cd0325c22f6fc7bdb707c3d066978113572961 100644 (file)
@@ -388,10 +388,9 @@ private:
   // We will use the following types throughout the program. First the
   // matrix-based types, after that the matrix-free classes. For the
   // matrix-free implementation, we use @p float for the level operators.
-  using MatrixType         = LA::MPI::SparseMatrix;
-  using VectorType         = LA::MPI::Vector;
-  using PreconditionAMG    = LA::MPI::PreconditionAMG;
-  using PreconditionJacobi = LA::MPI::PreconditionJacobi;
+  using MatrixType      = LA::MPI::SparseMatrix;
+  using VectorType      = LA::MPI::Vector;
+  using PreconditionAMG = LA::MPI::PreconditionAMG;
 
   using MatrixFreeLevelMatrix = MatrixFreeOperators::LaplaceOperator<
     dim,
@@ -1006,7 +1005,7 @@ void LaplaceProblem<dim, degree>::solve()
                                       PreconditionIdentity>
             coarse_grid_solver(coarse_solver, mf_mg_matrix[0], identity);
 
-          using Smoother = dealii::PreconditionJacobi<MatrixFreeLevelMatrix>;
+          using Smoother = PreconditionJacobi<MatrixFreeLevelMatrix>;
           MGSmootherPrecondition<MatrixFreeLevelMatrix,
                                  Smoother,
                                  MatrixFreeLevelVector>

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.