]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update the results section of step-49. 8942/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Oct 2019 01:44:18 +0000 (19:44 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Oct 2019 01:44:18 +0000 (19:44 -0600)
examples/step-49/doc/results.dox

index 638b32054507b8a46e86a889e6c2803b23732ef7..e7b1ddab4ab2feae552ae1d632a31dfd60517276 100644 (file)
@@ -341,9 +341,11 @@ different boundary conditions.
 For example, you might want to apply a different boundary condition for the
 right boundary of the first grid in this program. To do this, iterate over the
 cells and their faces and identify the correct faces (for example using
-cell->center() or cell->get_boundary_id()). You can then use
-cell->set_boundary_id() to set the boundary id to something different. You can
-take a look back at step-1 how iteration over the meshes is done there.
+`cell->center()` to query the coordinates of the center of a cell as we
+do in step-1, or using `cell->face(f)->get_boundary_id()` to query the current
+boundary indicator of the $f$th face of the cell). You can then use
+cell->face(f)->set_boundary_id() to set the boundary id to something different.
+You can take a look back at step-1 how iteration over the meshes is done there.
 
 <h4> Extracting a boundary mesh </h4>
 

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.