mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Removed post-scaling of length
This commit is contained in:
parent
bd3e494732
commit
8bd2d8e86c
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ SimuData *doLoadSimulation(const char *gadgetname, int velAxis, bool goRedshift,
|
||||||
outd = new SimuData;
|
outd = new SimuData;
|
||||||
|
|
||||||
outd->NumPart = d->TotalNumPart;
|
outd->NumPart = d->TotalNumPart;
|
||||||
outd->BoxSize = d->BoxSize/1000;
|
outd->BoxSize = d->BoxSize;
|
||||||
outd->TotalNumPart = outd->NumPart;
|
outd->TotalNumPart = outd->NumPart;
|
||||||
outd->Hubble = d->Hubble;
|
outd->Hubble = d->Hubble;
|
||||||
outd->Omega_Lambda = d->Omega_Lambda;
|
outd->Omega_Lambda = d->Omega_Lambda;
|
||||||
|
@ -124,7 +124,7 @@ SimuData *doLoadSimulation(const char *gadgetname, int velAxis, bool goRedshift,
|
||||||
{
|
{
|
||||||
assert(d->Id[i] >= 1);
|
assert(d->Id[i] >= 1);
|
||||||
assert(d->Id[i] <= outd->TotalNumPart);
|
assert(d->Id[i] <= outd->TotalNumPart);
|
||||||
outd->Pos[k][d->Id[i]-1] = d->Pos[k][i]/1000;
|
outd->Pos[k][d->Id[i]-1] = d->Pos[k][i];
|
||||||
outd->Vel[2][d->Id[i]-1] = d->Vel[velAxis][i];
|
outd->Vel[2][d->Id[i]-1] = d->Vel[velAxis][i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue