From: wolf Date: Tue, 6 Jul 1999 11:21:47 +0000 (+0000) Subject: New boundary scheme. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b9036dc8b2f7dde868d8f13fe3271cc7af3c0eb;p=dealii-svn.git New boundary scheme. git-svn-id: https://svn.dealii.org/trunk@1538 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/Attic/examples/dof/dof_test.cc b/deal.II/deal.II/Attic/examples/dof/dof_test.cc index 69d25e617b..340a3a3127 100644 --- a/deal.II/deal.II/Attic/examples/dof/dof_test.cc +++ b/deal.II/deal.II/Attic/examples/dof/dof_test.cc @@ -285,7 +285,8 @@ void TestCases::run (ParameterHandler &prm) { boundary = (test_case==2 ? static_cast*>(new Ball()) : static_cast*>(new CurvedLine())); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); + tria->set_boundary (1, *boundary); // refine once tria->begin_active()->set_refine_flag(); @@ -397,6 +398,7 @@ void TestCases::run (ParameterHandler &prm) { // finite element object dof->clear (); tria->set_boundary (0); + tria->set_boundary (1); if (boundary) delete boundary; }; diff --git a/tests/big-tests/dof/dof_test.cc b/tests/big-tests/dof/dof_test.cc index 69d25e617b..340a3a3127 100644 --- a/tests/big-tests/dof/dof_test.cc +++ b/tests/big-tests/dof/dof_test.cc @@ -285,7 +285,8 @@ void TestCases::run (ParameterHandler &prm) { boundary = (test_case==2 ? static_cast*>(new Ball()) : static_cast*>(new CurvedLine())); - tria->set_boundary (boundary); + tria->set_boundary (0, *boundary); + tria->set_boundary (1, *boundary); // refine once tria->begin_active()->set_refine_flag(); @@ -397,6 +398,7 @@ void TestCases::run (ParameterHandler &prm) { // finite element object dof->clear (); tria->set_boundary (0); + tria->set_boundary (1); if (boundary) delete boundary; };