]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid using removed deprecated function 478/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 28 Jan 2015 21:01:51 +0000 (22:01 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 28 Jan 2015 21:01:51 +0000 (22:01 +0100)
examples/step-37/step-37.cc

index 4686cbb0d36440279460e2f6c010e1298c72ae88..0a855161e1041add5b792af5a8b5a8a618aeb073 100644 (file)
@@ -1,6 +1,6 @@
 /* ---------------------------------------------------------------------
  *
- * Copyright (C) 2009 - 2014 by the deal.II authors
+ * Copyright (C) 2009 - 2015 by the deal.II authors
  *
  * This file is part of the deal.II library.
  *
@@ -1000,8 +1000,7 @@ namespace Step37
     smoother_data.eig_cg_n_iterations = 10;
     mg_smoother.initialize(mg_matrices, smoother_data);
 
-    MGMatrix<LevelMatrixType, Vector<double> >
-    mg_matrix(&mg_matrices);
+    mg::Matrix<Vector<double> > mg_matrix(mg_matrices);
 
     Multigrid<Vector<double> > mg(dof_handler,
                                   mg_matrix,

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.