When you use adaptive mesh refinement, you definitely want the initial mesh to be as coarse as possible. Please note that the example program does not show all the ways to generate meshes that are discussed in this introduction. No other computations or adaptive refinements are done the idea is that you can use the techniques used here as building blocks in other, more involved simulators. vtu files in much the same way as we do in step-1. This example program shows some of ways to create and modify meshes for computations and outputs them as. Additionally, there is not one approach that fits all problems. We will discuss several ways to do this, but this list is not exhaustive. Generating complex geometries is a challenging task, especially in three space dimensions. The notebook is available in the same directory as the original C++ program. Note This tutorial is also available as a Jupyter Python notebook that uses the deal.II python interface. This tutorial is an extension to step-1 and demonstrates several ways to obtain more involved meshes than the ones shown there.
Parts of the results section were contributed by Yuhan Zhou, Wolfgang Bangerth, and David Wells. This program was contributed by Timo Heister. grid_6: Demonstrating GridTools::transform, part 2.grid_5: Demonstrating GridTools::transform, part 1.grid_4: Demonstrating extrude_triangulation.grid_1: Loading a mesh generated by gmsh.Constructing your own mesh programmatically.