From: Wolfgang Bangerth Date: Tue, 21 Feb 2023 22:36:58 +0000 (-0700) Subject: step-2: Separate number from main file name. X-Git-Tag: v9.5.0-rc1~530^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14816%2Fhead;p=dealii.git step-2: Separate number from main file name. --- diff --git a/examples/step-2/step-2.cc b/examples/step-2/step-2.cc index 89d37f38ac..c4cc8f865b 100644 --- a/examples/step-2/step-2.cc +++ b/examples/step-2/step-2.cc @@ -181,7 +181,7 @@ void distribute_dofs(DoFHandler<2> &dof_handler) sparsity_pattern.copy_from(dynamic_sparsity_pattern); // With this, we can now write the results to a file: - std::ofstream out("sparsity_pattern1.svg"); + std::ofstream out("sparsity-pattern-1.svg"); sparsity_pattern.print_svg(out); // The result is stored in an .svg file, where each nonzero entry // in the matrix corresponds with a red square in the image. The output will @@ -237,7 +237,7 @@ void renumber_dofs(DoFHandler<2> &dof_handler) SparsityPattern sparsity_pattern; sparsity_pattern.copy_from(dynamic_sparsity_pattern); - std::ofstream out("sparsity_pattern2.svg"); + std::ofstream out("sparsity-pattern-2.svg"); sparsity_pattern.print_svg(out); }