From: wolf Date: Sun, 19 Sep 2004 16:18:27 +0000 (+0000) Subject: Add a TODO for Guido. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=096d3fa689a01cbbb77bff2ffe650bd34b93337e;p=dealii-svn.git Add a TODO for Guido. git-svn-id: https://svn.dealii.org/trunk@9638 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc b/deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc index e6d9ce714d..a1c6f5d221 100644 --- a/deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc +++ b/deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc @@ -34,7 +34,8 @@ Multigrid >::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 *dof = mg_dof_handler; Vector out_vector(dof->n_dofs());