Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
7cbf85bd
Commit
7cbf85bd
authored
Jun 03, 2020
by
Matthieu Schaller
Browse files
Change the 'OutputType' of snapshots from 'Snapshot' to 'FullVolume'
parent
3018c498
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/distributed_io.c
View file @
7cbf85bd
...
...
@@ -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 */
...
...
src/parallel_io.c
View file @
7cbf85bd
...
...
@@ -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 */
...
...
src/serial_io.c
View file @
7cbf85bd
...
...
@@ -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 */
...
...
src/single_io.c
View file @
7cbf85bd
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment