From 08410bad08e7fb601e0cf224943fdd40ae02e1a9 Mon Sep 17 00:00:00 2001 From: hartmann Date: Fri, 15 Oct 2004 07:07:37 +0000 Subject: [PATCH] GridGenerator::laplace_transformation function: don't request all boundary points being included in new_points. git-svn-id: https://svn.dealii.org/trunk@9712 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_generator.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/deal.II/deal.II/source/grid/grid_generator.cc b/deal.II/deal.II/source/grid/grid_generator.cc index 046a404262..a11ad36fe3 100644 --- a/deal.II/deal.II/source/grid/grid_generator.cc +++ b/deal.II/deal.II/source/grid/grid_generator.cc @@ -1311,11 +1311,11 @@ 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))); + + if (map_iter!=map_end) + for (unsigned int i=0; i ( + face->vertex_dof_index(vertex_no, 0), map_iter->second(i))); } } } -- 2.39.5