From: Timo Heister Date: Wed, 6 Sep 2017 21:49:29 +0000 (-0400) Subject: add underscores to filenames X-Git-Tag: v9.0.0-rc1~1113^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29312522ad0b4a3f7c9afe2ae5bf1ca378c5ede;p=dealii.git add underscores to filenames --- diff --git a/examples/step-10/doc/results.dox b/examples/step-10/doc/results.dox index 693d33c604..a81bf44e41 100644 --- a/examples/step-10/doc/results.dox +++ b/examples/step-10/doc/results.dox @@ -10,7 +10,7 @@ the commands set style data lines set size 0.721, 1 unset key -plot [-1:1][-1:1] "ball0_mapping_q1.dat" +plot [-1:1][-1:1] "ball_0_mapping_q_1.dat" @endcode or using one of the other filenames. The second line makes sure that the aspect ratio of the generated output is actually 1:1, i.e. a diff --git a/examples/step-10/step-10.cc b/examples/step-10/step-10.cc index a73bd2feaf..641eecfc94 100644 --- a/examples/step-10/step-10.cc +++ b/examples/step-10/step-10.cc @@ -97,7 +97,7 @@ namespace Step10 // Then have a string which denotes the base part of the names of the // files into which we write the output (ending with the refinement // level). - std::string filename_base = "ball" + Utilities::to_string(refinement); + std::string filename_base = "ball_" + Utilities::to_string(refinement); // Then output the present grid for $Q_1$, $Q_2$, and $Q_3$ mappings: for (unsigned int degree=1; degree<4; ++degree) @@ -139,7 +139,7 @@ namespace Step10 // Finally, generate a filename and a file for output: std::string filename = filename_base - + "_mapping_q" + + "_mapping_q_" + Utilities::to_string(degree) + ".dat"; std::ofstream gnuplot_file (filename.c_str());