]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make compile again.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 20:18:26 +0000 (20:18 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Aug 2008 20:18:26 +0000 (20:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@16639 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index 90b3aaa016d78e5d4c46fbbde1b98602a2e3953f..1f7fb24e1305ea4c55530df66bf4354cf7fe61d2 100644 (file)
@@ -768,8 +768,8 @@ class BoussinesqFlowProblem
     double old_time_step;
     unsigned int timestep_number;
 
-    boost::shared_ptr<LinearSolversPreconditionerTrilinosAmg>  Amg_preconditioner;
-    boost::shared_ptr<SparseILU<double> >                      Mp_preconditioner;
+    boost::shared_ptr<PreconditionerTrilinosAmg>  Amg_preconditioner;
+    boost::shared_ptr<SparseILU<double> >         Mp_preconditioner;
 
     bool rebuild_stokes_matrix;
     bool rebuild_temperature_matrices;
@@ -2082,14 +2082,15 @@ void BoussinesqFlowProblem<dim>::solve ()
   {
                                     // Set up inverse matrix for
                                     // pressure mass matrix
-    InverseMatrix<SparseMatrix<double>,SparseILU<double> >
+    LinearSolvers::InverseMatrix<SparseMatrix<double>,SparseILU<double> >
       mp_inverse (stokes_preconditioner_matrix.block(1,1), *Mp_preconditioner);
 
                                     // Set up block Schur preconditioner
                                     /*BlockSchurPreconditioner<typename InnerPreconditioner<dim>::type,
                                       SparseILU<double> >
                                       preconditioner (stokes_matrix, mp_inverse, *A_preconditioner);*/
-    BlockSchurPreconditioner<PreconditionerTrilinosAmg, SparseILU<double> >
+    LinearSolvers::BlockSchurPreconditioner<PreconditionerTrilinosAmg,
+                                            SparseILU<double> >
       preconditioner (stokes_matrix, mp_inverse, *Amg_preconditioner);
 
                                     // Set up GMRES solver and

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.