Skip to content
Snippets Groups Projects
Commit 7cbf85bd authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

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

parent 3018c498
No related branches found
No related tags found
No related merge requests found
...@@ -404,7 +404,7 @@ void write_output_distributed(struct engine* e, ...@@ -404,7 +404,7 @@ void write_output_distributed(struct engine* e,
swift_type_count); swift_type_count);
io_write_attribute_i(h_grp, "NumFilesPerSnapshot", numFiles); io_write_attribute_i(h_grp, "NumFilesPerSnapshot", numFiles);
io_write_attribute_i(h_grp, "ThisFile", mpi_rank); 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); io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */ /* Close header */
......
...@@ -1152,7 +1152,7 @@ void prepare_file(struct engine* e, const char* fileName, ...@@ -1152,7 +1152,7 @@ void prepare_file(struct engine* e, const char* fileName,
swift_type_count); swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1); io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0); 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); io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */ /* Close header */
......
...@@ -1020,7 +1020,7 @@ void write_output_serial(struct engine* e, ...@@ -1020,7 +1020,7 @@ void write_output_serial(struct engine* e,
swift_type_count); swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1); io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0); 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); io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */ /* Close header */
......
...@@ -864,7 +864,7 @@ void write_output_single(struct engine* e, ...@@ -864,7 +864,7 @@ void write_output_single(struct engine* e,
swift_type_count); swift_type_count);
io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1); io_write_attribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
io_write_attribute_i(h_grp, "ThisFile", 0); 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); io_write_attribute_s(h_grp, "SelectOutput", current_selection_name);
/* Close header */ /* Close header */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment