From: Wolfgang Bangerth Date: Thu, 7 Jan 2010 12:07:54 +0000 (+0000) Subject: Use proper forward declaration. X-Git-Tag: v8.0.0~6665 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57594e032e5c7674f35a8c58dd8c149626fdf1ec;p=dealii.git Use proper forward declaration. git-svn-id: https://svn.dealii.org/trunk@20327 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/include/multigrid/mg_block_smoother.h b/deal.II/deal.II/include/multigrid/mg_block_smoother.h index f3a21e94fb..3065fc7e90 100644 --- a/deal.II/deal.II/include/multigrid/mg_block_smoother.h +++ b/deal.II/deal.II/include/multigrid/mg_block_smoother.h @@ -2,7 +2,7 @@ // $Id$ // Version: $Name$ // -// Copyright (C) 2005, 2006 by the deal.II authors +// Copyright (C) 2005, 2006, 2010 by the deal.II authors // // This file is subject to QPL and may not be distributed // without copyright and license information. Please refer @@ -25,7 +25,7 @@ DEAL_II_NAMESPACE_OPEN -template class MGDoFHandler; +template class MGDoFHandler; /* @@ -89,7 +89,7 @@ class MGSmootherBlock * Empty all vectors. */ void clear (); - + /** * Modify the number of smoothing * steps on finest level. @@ -114,7 +114,7 @@ class MGSmootherBlock * reverse(). */ void set_transpose (const bool); - + /** * Switch on/off reversed. This * is mutually exclusive with @@ -206,7 +206,7 @@ MGSmootherBlock::MGSmootherBlock( template inline void MGSmootherBlock::clear () -{ +{ unsigned int i=matrices.get_minlevel(), max_level=matrices.get_maxlevel(); for (; i<=max_level; ++i) @@ -226,7 +226,7 @@ MGSmootherBlock::initialize ( { const unsigned int min = m.get_minlevel(); const unsigned int max = m.get_maxlevel(); - + matrices.resize(min, max); smoothers.resize(min, max); @@ -290,7 +290,7 @@ MGSmootherBlock::smooth( const BlockVector& rhs) const { deallog.push("Smooth"); - + unsigned int maxlevel = matrices.get_maxlevel(); unsigned int steps2 = steps; @@ -307,7 +307,7 @@ MGSmootherBlock::smooth( T = false; // cerr << 'S' << level; // cerr << '(' << matrices[level]->m() << ',' << matrices[level]->n() << ')'; - + for (unsigned int i=0; i