From: kanschat Date: Tue, 22 Jan 2013 15:50:45 +0000 (+0000) Subject: remove deprecated function calls X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87d48f0cce1e3a6de25e2c001a7ce4527371657b;p=dealii-svn.git remove deprecated function calls git-svn-id: https://svn.dealii.org/trunk@28157 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-39/step-39.cc b/deal.II/examples/step-39/step-39.cc index 2cc8643bec..1df0b1fc8f 100644 --- a/deal.II/examples/step-39/step-39.cc +++ b/deal.II/examples/step-39/step-39.cc @@ -2,7 +2,7 @@ /* $Id$ */ /* */ -/* Copyright (C) 2010-2012 by the deal.II authors */ +/* Copyright (C) 2010-2013 by the deal.II authors */ /* */ /* This file is subject to QPL and may not be distributed */ /* without copyright and license information. Please refer */ @@ -517,8 +517,8 @@ namespace Step39 // Now all objects are prepared to hold one sparsity pattern or matrix per // level. What's left is setting up the sparsity patterns on each level. - for (unsigned int level=mg_sparsity.get_minlevel(); - level<=mg_sparsity.get_maxlevel(); ++level) + for (unsigned int level=mg_sparsity.min_level(); + level<=mg_sparsity.max_level(); ++level) { // These are roughly the same lines as above for the global matrix, // now for each level. @@ -690,8 +690,8 @@ namespace Step39 // as our smoothing method. GrowingVectorMemory > mem; typedef PreconditionSOR > RELAXATION; - MGSmootherRelaxation, RELAXATION, Vector > - mg_smoother(mem); + mg::SmootherRelaxation > + mg_smoother; RELAXATION::AdditionalData smoother_data(1.); mg_smoother.initialize(mg_matrix, smoother_data);