From 380f180e4f14ad3ac1b4e693953d364a2029877e Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 29 Oct 2019 07:51:54 +0100 Subject: [PATCH] remove dash trailing dashes look ugly as the filename is "solution-_0001" etc. --- examples/step-18/step-18.cc | 2 +- examples/step-32/step-32.cc | 2 +- examples/step-37/step-37.cc | 2 +- examples/step-40/step-40.cc | 2 +- examples/step-45/step-45.cc | 2 +- examples/step-48/step-48.cc | 2 +- examples/step-55/step-55.cc | 2 +- examples/step-64/step-64.cu | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/step-18/step-18.cc b/examples/step-18/step-18.cc index b2289a0dd8..b867bfada5 100644 --- a/examples/step-18/step-18.cc +++ b/examples/step-18/step-18.cc @@ -1273,7 +1273,7 @@ namespace Step18 // Let us open a file and write the data we have generated into it: const auto pvtu_master_filename = data_out.write_vtu_with_pvtu_record( - "./", "solution-", timestep_no, 4, mpi_communicator); + "./", "solution", timestep_no, 4, mpi_communicator); // The record files must be written only once and not by each processor, // so we do this on processor 0: diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index cc09986701..9aef5bbe70 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -3245,7 +3245,7 @@ namespace Step32 static int out_index = 0; data_out.write_vtu_with_pvtu_record( - "./", "solution-", out_index, 5, MPI_COMM_WORLD); + "./", "solution", out_index, 5, MPI_COMM_WORLD); out_index++; } diff --git a/examples/step-37/step-37.cc b/examples/step-37/step-37.cc index 52257c6905..a5b818031a 100644 --- a/examples/step-37/step-37.cc +++ b/examples/step-37/step-37.cc @@ -1132,7 +1132,7 @@ namespace Step37 flags.compression_level = DataOutBase::VtkFlags::best_speed; data_out.set_flags(flags); data_out.write_vtu_with_pvtu_record( - "./", "solution-", cycle, 3, MPI_COMM_WORLD); + "./", "solution", cycle, 3, MPI_COMM_WORLD); time_details << "Time write output (CPU/wall) " << time.cpu_time() << "s/" << time.wall_time() << "s\n"; diff --git a/examples/step-40/step-40.cc b/examples/step-40/step-40.cc index ea5111f287..6ff3380667 100644 --- a/examples/step-40/step-40.cc +++ b/examples/step-40/step-40.cc @@ -576,7 +576,7 @@ namespace Step40 // in parallel with the help of MPI-IO. Additionally a PVTU record is // generated, which groups the written VTU files. data_out.write_vtu_with_pvtu_record( - "./", "solution-", cycle, 2, mpi_communicator, 8); + "./", "solution", cycle, 2, mpi_communicator, 8); } diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc index f7e21ba318..87bb4bc24e 100644 --- a/examples/step-45/step-45.cc +++ b/examples/step-45/step-45.cc @@ -740,7 +740,7 @@ namespace Step45 data_out.build_patches(mapping, degree + 1); data_out.write_vtu_with_pvtu_record( - "./", "solution-", refinement_cycle, 2, MPI_COMM_WORLD); + "./", "solution", refinement_cycle, 2, MPI_COMM_WORLD); } diff --git a/examples/step-48/step-48.cc b/examples/step-48/step-48.cc index b613390b59..3d2f043a75 100644 --- a/examples/step-48/step-48.cc +++ b/examples/step-48/step-48.cc @@ -501,7 +501,7 @@ namespace Step48 data_out.build_patches(); data_out.write_vtu_with_pvtu_record( - "./", "solution-", timestep_number, 3, MPI_COMM_WORLD); + "./", "solution", timestep_number, 3, MPI_COMM_WORLD); } diff --git a/examples/step-55/step-55.cc b/examples/step-55/step-55.cc index 5403611a98..c984e78397 100644 --- a/examples/step-55/step-55.cc +++ b/examples/step-55/step-55.cc @@ -750,7 +750,7 @@ namespace Step55 data_out.build_patches(); data_out.write_vtu_with_pvtu_record( - "./", "solution-", cycle, 2, mpi_communicator); + "./", "solution", cycle, 2, mpi_communicator); } diff --git a/examples/step-64/step-64.cu b/examples/step-64/step-64.cu index 62f6126cec..28f1cf2dc7 100644 --- a/examples/step-64/step-64.cu +++ b/examples/step-64/step-64.cu @@ -548,7 +548,7 @@ namespace Step64 flags.compression_level = DataOutBase::VtkFlags::best_speed; data_out.set_flags(flags); data_out.write_vtu_with_pvtu_record( - "./", "solution-", cycle, 2, mpi_communicator); + "./", "solution", cycle, 2, mpi_communicator); Vector cellwise_norm(triangulation.n_active_cells()); VectorTools::integrate_difference(dof_handler, -- 2.39.5