]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
New boundary scheme.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Jul 1999 11:21:47 +0000 (11:21 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Jul 1999 11:21:47 +0000 (11:21 +0000)
git-svn-id: https://svn.dealii.org/trunk@1538 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/Attic/examples/dof/dof_test.cc
tests/big-tests/dof/dof_test.cc

index 69d25e617b1398be632131c5484f9a1e55b2b976..340a3a31274057c197550ac1514da80484b9bc20 100644 (file)
@@ -285,7 +285,8 @@ void TestCases<dim>::run (ParameterHandler &prm) {
        boundary = (test_case==2 ?
                    static_cast<Boundary<dim>*>(new Ball<dim>()) :
                    static_cast<Boundary<dim>*>(new CurvedLine<dim>()));
-       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<dim>::run (ParameterHandler &prm) {
                                   // finite element object
   dof->clear ();
   tria->set_boundary (0);
+  tria->set_boundary (1);
   if (boundary)
     delete boundary;
 };
index 69d25e617b1398be632131c5484f9a1e55b2b976..340a3a31274057c197550ac1514da80484b9bc20 100644 (file)
@@ -285,7 +285,8 @@ void TestCases<dim>::run (ParameterHandler &prm) {
        boundary = (test_case==2 ?
                    static_cast<Boundary<dim>*>(new Ball<dim>()) :
                    static_cast<Boundary<dim>*>(new CurvedLine<dim>()));
-       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<dim>::run (ParameterHandler &prm) {
                                   // finite element object
   dof->clear ();
   tria->set_boundary (0);
+  tria->set_boundary (1);
   if (boundary)
     delete boundary;
 };

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.