]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a TODO for Guido.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Sep 2004 16:18:27 +0000 (16:18 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 19 Sep 2004 16:18:27 +0000 (16:18 +0000)
git-svn-id: https://svn.dealii.org/trunk@9638 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc

index e6d9ce714d1f84f73d4fde3edf41a546f20d9a03..a1c6f5d2212e6bee35ffd16c41de5056fbb129da 100644 (file)
@@ -34,7 +34,8 @@ Multigrid<Vector<double> >::print_vector (const unsigned int level,
    if (level!=maxlevel)
      return;
    const unsigned int dim=deal_II_dimension;
-   
+
+//TODO[GK]: How is this supposed to work? the .all_dimension.cc files are supposed to be exactly the same for all space dimensions -- if they aren't you get strange and inconsistent results if you link a program with the 1d, 2d, and 3d libraries at the same time, because you have multiple instances of the exact same function (same name, same template arguments), but they do different things. the linker can't know this, so it may call one or the other, and possible results certainly include crashes
    const DoFHandler<dim> *dof = mg_dof_handler;
   
    Vector<double> out_vector(dof->n_dofs());

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.