From e3cc4b14a8897bc8374dd3300921172245cf5439 Mon Sep 17 00:00:00 2001 From: hartmann Date: Wed, 18 Jul 2001 09:40:12 +0000 Subject: [PATCH] Include additional assertion. git-svn-id: https://svn.dealii.org/trunk@4846 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_generator.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deal.II/deal.II/source/grid/grid_generator.cc b/deal.II/deal.II/source/grid/grid_generator.cc index 882333eba9..bbe0106d2a 100644 --- a/deal.II/deal.II/source/grid/grid_generator.cc +++ b/deal.II/deal.II/source/grid/grid_generator.cc @@ -763,6 +763,7 @@ void GridGenerator::laplace_transformation (Triangulation &tria, // the laplace problem std::vector > m(dim); typename std::map >::const_iterator map_iter; + typename std::map >::const_iterator map_end=new_points.end(); // fill these maps using the data // given by new_points @@ -781,6 +782,8 @@ void GridGenerator::laplace_transformation (Triangulation &tria, { const unsigned int vertex_index=face->vertex_index(vertex_no); map_iter=new_points.find(vertex_index); + Assert(map_iter!=map_end, ExcInternalError()); + for (unsigned int i=0; i ( face->vertex_dof_index(vertex_no, 0), map_iter->second(i))); -- 2.39.5