From: Wolfgang Bangerth Date: Mon, 29 Jun 2015 23:01:11 +0000 (-0500) Subject: Avoid setting boundary objects that don't fit. X-Git-Tag: v8.3.0-rc1~78^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a55ae81a646599a050b9e745cbf34cdfce40303;p=dealii.git Avoid setting boundary objects that don't fit. This test set a hyperball boundary for the flat part of a half-hypersphere. --- 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);