]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
changes in multigrid
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 2 Apr 2004 10:20:56 +0000 (10:20 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 2 Apr 2004 10:20:56 +0000 (10:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@8959 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 73f3c5f51b58f442dd6ecd812b8c586c39600c1b..12f76ff915cf1f0f1cccdb83023d21d54a48bfb6 100644 (file)
@@ -400,7 +400,7 @@ void LaplaceProblem<dim>::solve ()
                                   // the transfer of functions
                                   // between different grid
                                   // levels.
-  MGTransferPrebuilt<double> mg_transfer;
+  MGTransferPrebuilt<Vector<double> > mg_transfer;
   mg_transfer.build_matrices(mg_dof_handler);
 
                                   // Next, we need a coarse grid
@@ -458,7 +458,8 @@ void LaplaceProblem<dim>::solve ()
                                mg_transfer,
                                mg_smoother,
                                mg_smoother);
-  PreconditionMG<dim, Vector<double>, MGTransferPrebuilt<double> >
+  PreconditionMG<dim, Vector<double>,
+    MGTransferPrebuilt<Vector<double> > >
     preconditioner(mg_dof_handler, mg, mg_transfer);
   
                                   // Finally, create the solver

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.