trailing dashes look ugly as the filename is "solution-_0001" etc.
// 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:
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++;
}
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";
// 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);
}
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);
}
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);
}
data_out.build_patches();
data_out.write_vtu_with_pvtu_record(
- "./", "solution-", cycle, 2, mpi_communicator);
+ "./", "solution", cycle, 2, mpi_communicator);
}
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<float> cellwise_norm(triangulation.n_active_cells());
VectorTools::integrate_difference(dof_handler,