From e29312522ad0b4a3f7c9afe2ae5bf1ca378c5ede Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Wed, 6 Sep 2017 17:49:29 -0400 Subject: [PATCH] add underscores to filenames --- examples/step-10/doc/results.dox | 2 +- examples/step-10/step-10.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()); -- 2.39.5