]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Use the global constant instead of just 0.
authorDavid Wells <wellsd2@rpi.edu>
Sat, 9 Jan 2016 19:53:29 +0000 (14:53 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Sat, 9 Jan 2016 21:46:35 +0000 (16:46 -0500)
cdr/solver/cdr.cc

index 3cc8469e19ece9597a839898b821cb182b7fa90f..3c37619e232a74083ff1eb916994ae3671b96df6 100644 (file)
@@ -139,7 +139,7 @@ void CDRProblem<dim>::setup_geometry()
   triangulation.set_manifold(manifold_id, boundary_description);
   for (const auto &cell : triangulation.active_cell_iterators())
     {
-      cell->set_all_manifold_ids(0);
+      cell->set_all_manifold_ids(manifold_id);
     }
   triangulation.refine_global(parameters.initial_refinement_level);
 }

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.