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
565675f2
Commit
565675f2
authored
Feb 01, 2014
by
Pedro Gonnet
Browse files
store box dimensions as vector.
Former-commit-id: 2277fa346f50d3d8558cc375308a585ae40dae67
parent
926f1587
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/parallel_io.c
View file @
565675f2
...
...
@@ -528,7 +528,7 @@ void write_output_parallel (struct engine *e, struct UnitSystem* us, int mpi_ra
error
(
"Error while creating file header
\n
"
);
/* Print the relevant information and print status */
writeAttribute
(
h_grp
,
"BoxSize"
,
DOUBLE
,
e
->
s
->
dim
,
1
);
writeAttribute
(
h_grp
,
"BoxSize"
,
DOUBLE
,
e
->
s
->
dim
,
3
);
writeAttribute
(
h_grp
,
"NumPart_ThisFile"
,
UINT
,
numParticles
,
6
);
writeAttribute
(
h_grp
,
"Time"
,
DOUBLE
,
&
e
->
time
,
1
);
...
...
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