From c58806b8b7c4462471ee494a49d94594ceef877f Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 7 Aug 2019 14:33:42 -0600 Subject: [PATCH] step-49: do not use "untitled" as a filename --- examples/step-49/doc/intro.dox | 6 +++--- examples/step-49/{untitled.geo => example.geo} | 0 examples/step-49/{untitled.msh => example.msh} | 0 examples/step-49/step-49.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename examples/step-49/{untitled.geo => example.geo} (100%) rename examples/step-49/{untitled.msh => example.msh} (100%) 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"); -- 2.39.5