From 9db268806cdb73ae2bfb050c842c93cf7b74f980 Mon Sep 17 00:00:00 2001 From: heister Date: Wed, 20 Feb 2013 15:12:34 +0000 Subject: [PATCH] step-49: some text fixes git-svn-id: https://svn.dealii.org/trunk@28493 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-49/doc/intro.dox | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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: -- 2.39.5