Commit 565675f2 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

store box dimensions as vector.


Former-commit-id: 2277fa346f50d3d8558cc375308a585ae40dae67
parent 926f1587
......@@ -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);
......
Supports Markdown
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