]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fixed compile bug in boundary_indicator_01
authorheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Nov 2013 20:05:49 +0000 (20:05 +0000)
committerheltai <heltai@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Nov 2013 20:05:49 +0000 (20:05 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_manifold_id@31714 0785d39b-7218-0410-832d-ea1e28bc413d

tests/codim_one/boundary_indicator_01.cc

index 762f75f524f073478f1a8ccec292053855eeaa79..adc0c4c592d23967e0c5c2408a9a3adf1000fb2e 100644 (file)
@@ -75,7 +75,7 @@ int main ()
         for (unsigned int f=0; f<GeometryInfo<dim>::faces_per_cell; ++f)
           if (cell->at_boundary(f))
             {
-              cell->face(f)->set_manifold_indicator(1);
+              cell->face(f)->set_manifold_id(1);
               done = true;
               break;
             }
@@ -83,7 +83,7 @@ int main ()
           break;
       }
 
-    const HyperBallBoundary<dim-1,dim> surface_description;
+    const PolarManifold<dim> surface_description;
     Triangulation<dim-1,dim> boundary_mesh;
     boundary_mesh.set_manifold (0, surface_description);
 
@@ -108,7 +108,7 @@ int main ()
          cell != boundary_mesh.end(); ++cell)
       for (unsigned int f=0; f<GeometryInfo<dim-1>::faces_per_cell; ++f)
         if (cell->at_boundary(f))
-          cell->face(f)->set_manifold_indicator(1);
+          cell->face(f)->set_manifold_id(1);
 
     boundary_mesh.refine_global (2);
 

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.