Commit 7cbf85bd authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Change the 'OutputType' of snapshots from 'Snapshot' to 'FullVolume'

parent 3018c498
......@@ -404,7 +404,7 @@ void write_output_distributed(struct engine* e,
swift_type_count);
io_write_attribute_i(h_grp, "NumFilesPerSnapshot", numFiles);
io_write_attribute_i(h_grp, "ThisFile", mpi_rank);
io_write_attribute_s(h_grp, "OutputType", "Snapshot");
io_write_attribute_s(h_grp, "OutputType", "FullVolume");
io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */
......
......@@ -1152,7 +1152,7 @@ void prepare_file(struct engine* e, const char* fileName,
swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0);
io_write_attribute_s(h_grp, "OutputType", "Snapshot");
io_write_attribute_s(h_grp, "OutputType", "FullVolume");
io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */
......
......@@ -1020,7 +1020,7 @@ void write_output_serial(struct engine* e,
swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0);
io_write_attribute_s(h_grp, "OutputType", "Snapshot");
io_write_attribute_s(h_grp, "OutputType", "FullVolume");
io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */
......
......@@ -864,7 +864,7 @@ void write_output_single(struct engine* e,
swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0);
io_write_attribute_s(h_grp, "OutputType", "Snapshot");
io_write_attribute_s(h_grp, "OutputType", "FullVolume");
io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment