From 937f08e370f4d3895f05cccc2efb525ebe3e1d62 Mon Sep 17 00:00:00 2001 From: kanschat Date: Tue, 22 Jan 2013 15:49:04 +0000 Subject: [PATCH] remove deprecated function calls git-svn-id: https://svn.dealii.org/trunk@28156 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-16/step-16.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/deal.II/examples/step-16/step-16.cc b/deal.II/examples/step-16/step-16.cc index 30c10a64d5..dbf89fd64d 100644 --- a/deal.II/examples/step-16/step-16.cc +++ b/deal.II/examples/step-16/step-16.cc @@ -4,7 +4,7 @@ /* $Id$ */ /* */ -/* Copyright (C) 2003-2004, 2006-2012 by the deal.II authors */ +/* Copyright (C) 2003-2004, 2006-2013 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -618,7 +618,7 @@ namespace Step16 // need a smoother on each level. A common choice for this is to use the // application of a relaxation method (such as the SOR, Jacobi or // Richardson method) or a small number of iterations of a solver method - // (such as CG or GMRES). The MGSmootherRelaxation and + // (such as CG or GMRES). The mg::SmootherRelaxation and // MGSmootherPrecondition classes provide support for these two kinds of // smoothers. Here, we opt for the application of a single SOR // iteration. To this end, we define an appropriate typedef @@ -646,9 +646,8 @@ namespace Step16 // let the multilevel preconditioner make sure that we get a symmetric // operator even for nonsymmetric smoothers: typedef PreconditionSOR > Smoother; - GrowingVectorMemory<> vector_memory; - MGSmootherRelaxation, Smoother, Vector > - mg_smoother(vector_memory); + mg::SmootherRelaxation > + mg_smoother; mg_smoother.initialize(mg_matrices); mg_smoother.set_steps(2); mg_smoother.set_symmetric(true); -- 2.39.5