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
926f1587
Commit
926f1587
authored
Dec 19, 2013
by
Pedro Gonnet
Browse files
write BoxSize as vector.
Former-commit-id: 449e4644b3b3aa68611cb7ac6a1da1dc69aaca7a
parent
74607a27
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/serial_io.c
View file @
926f1587
...
...
@@ -445,7 +445,7 @@ void write_output (struct engine *e, struct UnitSystem* us)
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