]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed tiny bug with many consequences in tria_boundary.cc
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2014 00:40:42 +0000 (00:40 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 4 Feb 2014 00:40:42 +0000 (00:40 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_manifold_id@32398 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/grid/tria_boundary.cc

index e7c5040616cce8f68d9fa2d395647ed808b3bcec..b5af16b436f41f819ef02745b4652c5327b659ca 100644 (file)
@@ -269,7 +269,7 @@ StraightBoundary<dim, spacedim>::project_to_manifold(const std::vector<Point<spa
   // 32: project to a line, i.e., on a boundary, in 3d
   // 24: project to a quad in 2d, i.e., in the interior of the domain
   // 34: project to a quad in 3d, i.e., on a boundary
-  const unsigned int magic = spacedim+10*v.size();
+  const unsigned int magic = 10*spacedim+v.size();
   
   // The default behavior is "do nothing", but there are cases when we
   // are on a "flat boundary", and we want to project to it. This is a

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.