From: heister Date: Wed, 13 Feb 2013 16:08:22 +0000 (+0000) Subject: restructure step-49 headers X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240a50e7ca784863a160938c664708b78185cd8c;p=dealii-svn.git restructure step-49 headers git-svn-id: https://svn.dealii.org/trunk@28386 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 dec7b95b0d..ae625fb7e1 100644 --- a/deal.II/examples/step-49/doc/intro.dox +++ b/deal.II/examples/step-49/doc/intro.dox @@ -1,6 +1,7 @@ This program was made by Timo Heister. -

About this tutorial

+ +

Introduction

This tutorial is an extension to step-1 and demonstrates several ways to obtain more involved meshes. @@ -14,7 +15,7 @@ computations and outputs them as .eps files. No other computations or adaptive refinements are done. Please note that the example program does not show all the ways to generate meshes that are discussed in this text. -

General concerns about meshes

+

General concerns about meshes

When you use adaptive mesh refinement, you definitely want the initial mesh to be as coarse as possible. The reason is that you can make it as fine as you @@ -27,12 +28,12 @@ in the initial mesh. That said, your mesh needs to capture the given geometry adequately. -

How to create meshes

+

How to create meshes

There are several ways to create an initial mesh. Meshes can be modified or combined in many ways as discussed later on. -

GridGenerator

+

GridGenerator

The easiest way to generate meshes is to use the GridGenerator, which is already discussed in step-1. There are many different helper functions @@ -40,7 +41,7 @@ available, including GridGenerator::hyper_cube(), GridGenerator::hyper_shell(), GridGenerator::hyper_ball(), GridGenerator::hyper_cube_with_cylindrical_hole(), ... -

Construct your own mesh programmatically

+

Construct your own mesh programmatically

If the is no good fit in the GridGenerator class, you can always create a Triangulation in your program "by hand". For that, you need a list of vertices @@ -52,7 +53,7 @@ all the functions in GridGenerator are implemented in this fashion. you end up writing a function that might be useful for a larger audience, please contribute it. -

Import from external programs

+

Import from external programs

The class GridIn can read many different mesh formats from a file from disk. How this is done is explained in step-5 and can be seen in the function @@ -104,7 +105,7 @@ this is the mesh read from the .msh file and saved again by deal.II as an image @image html step-49.grid-1.png -

Modify a Mesh

+

Modify a Mesh

modify a mesh: - merge meshes @@ -121,7 +122,7 @@ other things to mention: GridTools::rotate GridTools::scale -

Merge Meshes

+

Merge Meshes

use GridGenerator::merge_triangulations() @@ -132,7 +133,7 @@ example: @image html step-49.grid-2.png -

Move Vertices

+

Move Vertices

move individual vertices, first identify cells/vertices