From e8ef108751e05ddb63ae67e2baca6d6864b87b6d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 21 Feb 2023 15:36:58 -0700 Subject: [PATCH] step-2: Separate number from main file name. --- examples/step-2/step-2.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5