From 6a55ae81a646599a050b9e745cbf34cdfce40303 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 29 Jun 2015 18:01:11 -0500 Subject: [PATCH] Avoid setting boundary objects that don't fit. This test set a hyperball boundary for the flat part of a half-hypersphere. --- tests/codim_one/transform_01.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/codim_one/transform_01.cc b/tests/codim_one/transform_01.cc index d4153aea21..f8e67c3792 100644 --- a/tests/codim_one/transform_01.cc +++ b/tests/codim_one/transform_01.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2010 - 2014 by the deal.II authors +// Copyright (C) 2010 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -63,12 +63,10 @@ int main () Triangulation<3> volume_mesh; GridGenerator::half_hyper_ball(volume_mesh); - volume_mesh.set_boundary (1, boundary_description); volume_mesh.set_boundary (0, boundary_description); volume_mesh.refine_global (3); static HyperBallBoundary<3-1,3> surface_description; - triangulation.set_boundary (1, surface_description); triangulation.set_boundary (0, surface_description); std::set boundary_ids; @@ -76,7 +74,6 @@ int main () GridGenerator::extract_boundary_mesh (volume_mesh, triangulation, boundary_ids); - triangulation.set_boundary (1); triangulation.set_boundary (0); GridTools::transform (&warp<3>, triangulation); -- 2.39.5