32 MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
35 _datasets.emplace_back(timestep, vtu_fname);
39 auto const vtu_file_name =
42 _datasets.emplace_back(timestep, vtu_file_name +
".pvtu");
45 _datasets.emplace_back(timestep, vtu_fname);
54 fh << std::setprecision(std::numeric_limits<double>::max_digits10);
56 fh <<
"<?xml version=\"1.0\"?>\n"
57 "<VTKFile type=\"Collection\" version=\"0.1\" "
58 "byte_order=\"LittleEndian\""
59 " compressor=\"vtkZLibDataCompressor\">\n"
64 fh <<
" <DataSet timestep=\"" << pair.first
65 <<
"\" group=\"\" part=\"0\" file=\"" << pair.second <<
"\"/>\n";
68 fh <<
" </Collection>\n</VTKFile>\n";