From: Timo Heister Date: Wed, 7 Aug 2019 20:33:42 +0000 (-0600) Subject: step-49: do not use "untitled" as a filename X-Git-Tag: v9.2.0-rc1~1292^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8493%2Fhead;p=dealii.git step-49: do not use "untitled" as a filename --- diff --git a/examples/step-49/doc/intro.dox b/examples/step-49/doc/intro.dox index d84c925692..4bcec08acf 100644 --- a/examples/step-49/doc/intro.dox +++ b/examples/step-49/doc/intro.dox @@ -93,12 +93,12 @@ reloaded by pressing "reload" under the "Geometry" tab. This tutorial contains an example .geo file, that describes a box with two objects cut out in the interior. This is how -untitled.geo looks like in Gmsh (displaying the boundary +example.geo looks like in Gmsh (displaying the boundary indicators as well as the mesh discussed further down below): -You might want to open the untitled.geo file in a text editor (it +You might want to open the example.geo file in a text editor (it is located in the same directory as the step-49.cc source file) to see how it is structured. You can see how the boundary of the domain is composed of a number of lines and how later on we combine several lines into @@ -117,7 +117,7 @@ Gmsh and that contains a mesh created for the geometry described by the .geo by running the commands @code -gmsh -2 untitled.geo +gmsh -2 example.geo @endcode on the command line, or by clicking "Mesh" and then "2D" inside Gmsh after diff --git a/examples/step-49/untitled.geo b/examples/step-49/example.geo similarity index 100% rename from examples/step-49/untitled.geo rename to examples/step-49/example.geo diff --git a/examples/step-49/untitled.msh b/examples/step-49/example.msh similarity index 100% rename from examples/step-49/untitled.msh rename to examples/step-49/example.msh diff --git a/examples/step-49/step-49.cc b/examples/step-49/step-49.cc index 2d2724a730..a2bc128ffb 100644 --- a/examples/step-49/step-49.cc +++ b/examples/step-49/step-49.cc @@ -113,7 +113,7 @@ void grid_1() GridIn<2> gridin; gridin.attach_triangulation(triangulation); - std::ifstream f("untitled.msh"); + std::ifstream f("example.msh"); gridin.read_msh(f); print_mesh_info(triangulation, "grid-1.eps");