]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
One more face_to_cell_vertices call needed for numbering independence.
authorhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 09:55:54 +0000 (09:55 +0000)
committerhartmann <hartmann@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 30 Jun 2005 09:55:54 +0000 (09:55 +0000)
git-svn-id: https://svn.dealii.org/trunk@10982 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria_accessor.cc

index 0de508a87309a24b9594411fcdc0f3d4df292cad..30b0a9b8c1ee0af0c07a2f3754c8a40f904d306d 100644 (file)
@@ -1813,7 +1813,8 @@ bool CellAccessor<2>::point_inside (const Point<2> &p) const
     {
                                       // vector from the first vertex
                                       // of the line to the point
-      const Point<2> to_p = p-this->vertex(f);
+      const Point<2> to_p = p-this->vertex(
+       GeometryInfo<2>::face_to_cell_vertices(f,0));
                                       // vector describing the line
       const Point<2> face = direction[f]*(
        this->vertex(GeometryInfo<2>::face_to_cell_vertices(f,1)) -

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.