From: Wolfgang Bangerth Date: Tue, 22 Oct 2019 01:44:18 +0000 (-0600) Subject: Update the results section of step-49. X-Git-Tag: v9.2.0-rc1~955^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8942%2Fhead;p=dealii.git Update the results section of step-49. --- diff --git a/examples/step-49/doc/results.dox b/examples/step-49/doc/results.dox index 638b320545..e7b1ddab4a 100644 --- a/examples/step-49/doc/results.dox +++ b/examples/step-49/doc/results.dox @@ -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.

Extracting a boundary mesh