From 941da645ef3fbdec2c316e33d1529b87ac3fa7a1 Mon Sep 17 00:00:00 2001 From: wolf Date: Thu, 24 Jun 1999 20:53:41 +0000 Subject: [PATCH] Move to the new scheme of handling boundary refinement. git-svn-id: https://svn.dealii.org/trunk@1462 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/Attic/examples/poisson/problem.cc | 14 +++++++------- tests/big-tests/poisson/problem.cc | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/deal.II/deal.II/Attic/examples/poisson/problem.cc b/deal.II/deal.II/Attic/examples/poisson/problem.cc index 9fce40a655..4ddc11e4f8 100644 --- a/deal.II/deal.II/Attic/examples/poisson/problem.cc +++ b/deal.II/deal.II/Attic/examples/poisson/problem.cc @@ -340,7 +340,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { { case 1: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); make_zoom_in_grid (); break; case 2: @@ -350,7 +350,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { static const Point origin; boundary = new HyperBallBoundary(origin, 1.); GridGenerator::hyper_ball (*tria, origin, 1.); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); break; }; case 3: @@ -358,22 +358,22 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { { boundary = new CurvedLine(); GridGenerator::hyper_cube (*tria); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); break; }; case 4: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); make_random_grid (); break; case 5: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_cube (*tria); break; case 6: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_cube (*tria); tria->refine_global (1); for (unsigned int i=0; i<5; ++i) @@ -385,7 +385,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { break; case 7: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_L (*tria); break; default: diff --git a/tests/big-tests/poisson/problem.cc b/tests/big-tests/poisson/problem.cc index 9fce40a655..4ddc11e4f8 100644 --- a/tests/big-tests/poisson/problem.cc +++ b/tests/big-tests/poisson/problem.cc @@ -340,7 +340,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { { case 1: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); make_zoom_in_grid (); break; case 2: @@ -350,7 +350,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { static const Point origin; boundary = new HyperBallBoundary(origin, 1.); GridGenerator::hyper_ball (*tria, origin, 1.); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); break; }; case 3: @@ -358,22 +358,22 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { { boundary = new CurvedLine(); GridGenerator::hyper_cube (*tria); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); break; }; case 4: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); make_random_grid (); break; case 5: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_cube (*tria); break; case 6: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_cube (*tria); tria->refine_global (1); for (unsigned int i=0; i<5; ++i) @@ -385,7 +385,7 @@ bool PoissonProblem::make_grid (ParameterHandler &prm) { break; case 7: boundary = new StraightBoundary(); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); GridGenerator::hyper_L (*tria); break; default: -- 2.39.5