// $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
DEAL_II_NAMESPACE_OPEN
-template <int dim> class MGDoFHandler;
+template <int,int> class MGDoFHandler;
/*
* Empty all vectors.
*/
void clear ();
-
+
/**
* Modify the number of smoothing
* steps on finest level.
* reverse().
*/
void set_transpose (const bool);
-
+
/**
* Switch on/off reversed. This
* is mutually exclusive with
template <class MATRIX, class RELAX, typename number>
inline void
MGSmootherBlock<MATRIX, RELAX, number>::clear ()
-{
+{
unsigned int i=matrices.get_minlevel(),
max_level=matrices.get_maxlevel();
for (; i<=max_level; ++i)
{
const unsigned int min = m.get_minlevel();
const unsigned int max = m.get_maxlevel();
-
+
matrices.resize(min, max);
smoothers.resize(min, max);
const BlockVector<number>& rhs) const
{
deallog.push("Smooth");
-
+
unsigned int maxlevel = matrices.get_maxlevel();
unsigned int steps2 = steps;
T = false;
// cerr << 'S' << level;
// cerr << '(' << matrices[level]->m() << ',' << matrices[level]->n() << ')';
-
+
for (unsigned int i=0; i<steps2; ++i)
{
if (T)