]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Multigrid<VECTOR>::reinit tested.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 23 Jan 2006 12:55:45 +0000 (12:55 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Mon, 23 Jan 2006 12:55:45 +0000 (12:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@12128 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/multigrid/multigrid.templates.h

index 8cbab0cb30cc5ec509653ba524b12bb944e034d9..81fc1df3279b0e1cd28b551689c5614c4d8175f4 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -56,19 +56,14 @@ Multigrid<VECTOR>::Multigrid (const unsigned int minlevel,
 
 
 
-//TODO: This function cannot work. At least maxlevel should be tested!
 template <class VECTOR>
 void
 Multigrid<VECTOR>::reinit(const unsigned int min_level,
                          const unsigned int max_level)
 {
-  Assert(false, ExcNotImplemented());
-  
   minlevel=min_level;
   maxlevel=max_level;
   defect.resize(minlevel, maxlevel);
-  solution.resize(minlevel, maxlevel);
-  t.resize(minlevel, maxlevel);
 }
 
 

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.