]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use types::boundary_id in a code sample. 5930/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 20 Feb 2018 13:15:40 +0000 (08:15 -0500)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 20 Feb 2018 13:15:40 +0000 (08:15 -0500)
examples/step-38/doc/results.dox

index d177a169e6765e079c3ce7a78a207ced20537a93..6bc5fbc2e4620b3422985c7337c26bb706237b76 100644 (file)
@@ -42,7 +42,7 @@ The program also works for 1d curves in 2d, not just 2d surfaces in 3d. You
 can test this by changing the template argument in <code>main()</code> like
 so:
 @code
-      LaplaceBeltramiProblem<2> laplace_beltrami;  
+      LaplaceBeltramiProblem<2> laplace_beltrami;
 @endcode
 The domain is a curve in 2d, and we can visualize the solution by using the
 third dimension (and color) to denote the value of the function $u(x)$. This
@@ -122,7 +122,7 @@ void LaplaceBeltrami<spacedim>::make_grid_and_dofs ()
     volume_mesh.set_boundary (0, boundary_description);
     volume_mesh.refine_global (4);
 
-    std::set<unsigned char> boundary_ids;
+    std::set<types::boundary_id> boundary_ids;
     boundary_ids.insert (0);
 
     GridGenerator::extract_boundary_mesh (volume_mesh, triangulation,

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.