Fixed boxsize initialization
This commit is contained in:
parent
73060dd6cb
commit
36f4ddc51c
@ -28,7 +28,7 @@ PurePositionData *CosmoTool::loadGadgetPosition(const char *fname)
|
|||||||
h.npartTotal[i] = f.readInt32();
|
h.npartTotal[i] = f.readInt32();
|
||||||
h.flag_cooling = f.readInt32();
|
h.flag_cooling = f.readInt32();
|
||||||
h.num_files = f.readInt32();
|
h.num_files = f.readInt32();
|
||||||
h.BoxSize = f.readReal64();
|
data->BoxSize = h.BoxSize = f.readReal64();
|
||||||
h.Omega0 = f.readReal64();
|
h.Omega0 = f.readReal64();
|
||||||
h.OmegaLambda = f.readReal64();
|
h.OmegaLambda = f.readReal64();
|
||||||
h.HubbleParam = f.readReal64();
|
h.HubbleParam = f.readReal64();
|
||||||
|
Loading…
Reference in New Issue
Block a user