mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
Fixed scaling of boxsize to account for different units
This commit is contained in:
parent
5573b82c44
commit
748f2c7107
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,8 @@ SimulationLoader *gadgetLoader(const std::string& snapshot, double Mpc_unitLengt
|
||||||
assert(d != 0);
|
assert(d != 0);
|
||||||
SimuData *header = d;
|
SimuData *header = d;
|
||||||
|
|
||||||
|
header->BoxSize *= Mpc_unitLength;
|
||||||
|
|
||||||
if (!singleFile)
|
if (!singleFile)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue