]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Doc update and renaming.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 14:30:52 +0000 (14:30 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 19 Nov 1999 14:30:52 +0000 (14:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@1900 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/mg_base.cc
deal.II/lac/source/mgbase.cc

index 3662347101cb84a7124a0ff1dc5036512899aea4..2316d97a3bc0ef583ac2bca93af0a367cb490f15 100644 (file)
@@ -100,7 +100,9 @@ MGBase::level_mgstep(const unsigned int        level,
   level_vmult(level, t, solution[level], defect[level]);
 
                                   // make t rhs of lower level
-  transfer->restrict(level, defect[level-1], t);
+//TODO: this function adds the restricted t to defect[level-1].
+//TODO: why don't we have to clear it before?  
+  transfer->restrict_and_add (level, defect[level-1], t);
   
                                   // do recursion
   level_mgstep(level-1, pre_smooth, post_smooth, coarse_grid_solver);
index 3662347101cb84a7124a0ff1dc5036512899aea4..2316d97a3bc0ef583ac2bca93af0a367cb490f15 100644 (file)
@@ -100,7 +100,9 @@ MGBase::level_mgstep(const unsigned int        level,
   level_vmult(level, t, solution[level], defect[level]);
 
                                   // make t rhs of lower level
-  transfer->restrict(level, defect[level-1], t);
+//TODO: this function adds the restricted t to defect[level-1].
+//TODO: why don't we have to clear it before?  
+  transfer->restrict_and_add (level, defect[level-1], t);
   
                                   // do recursion
   level_mgstep(level-1, pre_smooth, post_smooth, coarse_grid_solver);

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.