From: Timo Heister Date: Wed, 20 Feb 2013 15:12:34 +0000 (+0000) Subject: step-49: some text fixes X-Git-Tag: v8.0.0~1213 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d90b7d8e5028bfa6f842deff682381c212e909ed;p=dealii.git step-49: some text fixes git-svn-id: https://svn.dealii.org/trunk@28493 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-49/doc/intro.dox b/deal.II/examples/step-49/doc/intro.dox index 3091405640..22fefd294d 100644 --- a/deal.II/examples/step-49/doc/intro.dox +++ b/deal.II/examples/step-49/doc/intro.dox @@ -173,16 +173,15 @@ work with a sequence of unstructured meshes (see possible extensions).

Merging Meshes

The function GridGenerator::merge_triangulations() allows you to merge two -given Triangulations into a single one. This only works, if the vertices of -the to be shared edge or face match exactly. It is useful to use -GridTools::shift and GridTools::scale to align the two meshes. In the -function grid_2() of this tutorial, we merge a square with a round hole -(generated with hyper_cube_with_cylindrical_hole()) and a rectangle. The -function GridTools::subdivided_hyper_rectangle() allows you to specify the -number of repetitions and the positions of the corners, this way we do not -need to shift it manually. You should inspect the mesh graphically to make -sure, that cells line up correctly and no hanging nodes exist in the merged -Triangulation. +given Triangulations into a single one. For this to work, the vertices of the +shared edge or face have to match exactly. Lining up the two meshes can be +achieved using GridTools::shift and GridTools::scale. In the function +grid_2() of this tutorial, we merge a square with a round hole (generated with +hyper_cube_with_cylindrical_hole()) and a rectangle. The function +GridTools::subdivided_hyper_rectangle() allows you to specify the number of +repetitions and the positions of the corners, this way we do not need to shift +it manually. You should inspect the mesh graphically to make sure, that cells +line up correctly and no hanging nodes exist in the merged Triangulation. These are the input meshes and the output mesh: