]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Previous results were smart, no doubt, but wrong, so I fixed the
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Feb 1999 15:38:21 +0000 (15:38 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Feb 1999 15:38:21 +0000 (15:38 +0000)
(two!) bugs herein.

git-svn-id: https://svn.dealii.org/trunk@837 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria_boundary.cc

index 0bc85aa88b8302646af9a278c5d4e995084751c5..6fa6609c6639c0390e372335f831bd88fb8c712d 100644 (file)
@@ -55,7 +55,7 @@ Point<dim>
 StraightBoundary<dim>::get_new_point_on_quad (const typename Triangulation<dim>::quad_iterator &quad) const 
 {
   return (quad->vertex(0) + quad->vertex(1) +
-         quad->vertex(1) + quad->vertex(2)) / 2;
+         quad->vertex(2) + quad->vertex(3)) / 4;
 };
 
 #endif

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.