mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
SDF: Do not bulk copy the header but instead copy its components
This commit is contained in:
parent
f7b4e5076b
commit
132d96adf5
1 changed files with 6 additions and 1 deletions
|
@ -123,7 +123,12 @@ public:
|
|||
return 0;
|
||||
|
||||
d = new SimuData;
|
||||
*d = *sdf_header;
|
||||
d->BoxSize = sdf_header->BoxSize;
|
||||
d->time = sdf_header->time;
|
||||
d->Hubble = sdf_header->Hubble;
|
||||
d->Omega_M = sdf_header->Omega_M;
|
||||
d->Omega_Lambda = sdf_header->Omega_Lambda;
|
||||
|
||||
d->NumPart = getNumberInSplit(id);
|
||||
|
||||
int64_t numPartToLoad = getNumberInSplit(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue