From 096d3fa689a01cbbb77bff2ffe650bd34b93337e Mon Sep 17 00:00:00 2001 From: wolf Date: Sun, 19 Sep 2004 16:18:27 +0000 Subject: [PATCH] Add a TODO for Guido. git-svn-id: https://svn.dealii.org/trunk@9638 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/multigrid/multigrid.all_dimensions.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()); -- 2.39.5