]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Merge r28733 from mainline.
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 06:54:11 +0000 (06:54 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 5 Mar 2013 06:54:11 +0000 (06:54 +0000)
git-svn-id: https://svn.dealii.org/branches/releases/Branch-7-3@28734 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 4d7f10d33c14164e5367933385e1bc6b56b767e6..4e03c487b1c083d53f680b2a3dfbb2c9b8547a74 100644 (file)
@@ -30,8 +30,6 @@
 #include <deal.II/grid/tria_boundary_lib.h>
 #include <deal.II/grid/grid_generator.h>
 
-#include <deal.II/multigrid/dof_accessor.h>
-
 #include <deal.II/multigrid/multigrid.h>
 #include <deal.II/multigrid/mg_transfer.h>
 #include <deal.II/multigrid/mg_tools.h>
@@ -1001,8 +999,6 @@ namespace Step37
   void LaplaceProblem<dim>::solve ()
   {
     Timer time;
-    GrowingVectorMemory<>   vector_memory;
-
     MGTransferPrebuilt<Vector<double> > mg_transfer;
     mg_transfer.build_matrices(dof_handler);
     setup_time += time.wall_time();
@@ -1019,7 +1015,7 @@ namespace Step37
 
     typedef PreconditionChebyshev<LevelMatrixType,Vector<double> > SMOOTHER;
     MGSmootherPrecondition<LevelMatrixType, SMOOTHER, Vector<double> >
-    mg_smoother(vector_memory);
+      mg_smoother;
 
     // Then, we initialize the smoother with our level matrices and the
     // mandatory additional data for the Chebyshev smoother. We use quite a

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.