From 4a16773914bf4b361eb4c07f842ca103c6353803 Mon Sep 17 00:00:00 2001 From: hartmann Date: Thu, 30 Jun 2005 09:55:54 +0000 Subject: [PATCH] One more face_to_cell_vertices call needed for numbering independence. git-svn-id: https://svn.dealii.org/trunk@10982 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/tria_accessor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/grid/tria_accessor.cc b/deal.II/deal.II/source/grid/tria_accessor.cc index 0de508a873..30b0a9b8c1 100644 --- a/deal.II/deal.II/source/grid/tria_accessor.cc +++ b/deal.II/deal.II/source/grid/tria_accessor.cc @@ -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)) - -- 2.39.5