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

One more GADGET-2 legacy header value written to the HDF5 file for compatibility.

Former-commit-id: 4cdbfb5d852f54b838c532e2e98f7eecdaf29c48
parent ae60541d
No related branches found
No related tags found
No related merge requests found
......@@ -598,6 +598,8 @@ void write_output ( char* fileName, struct engine *e)
/* GADGET-2 legacy values */
writeAttribute(h_grp, "NumPart_Total", UINT, numParticles, 6);
writeAttribute(h_grp, "NumPart_Total_HighWord", UINT, numParticlesHighWord, 6);
double MassTable[6] = {0., 0., 0., 0., 0., 0.};
writeAttribute(h_grp, "MassTable", DOUBLE, MassTable, 6);
writeAttribute(h_grp, "Flag_Entropy_ICs", UINT, numParticlesHighWord, 6);
writeAttribute(h_grp, "NumFilesPerSnapshot", INT, &numFiles, 1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment