mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21: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
|
@ -98,6 +98,8 @@ SimulationLoader *gadgetLoader(const std::string& snapshot, double Mpc_unitLengt
|
|||
|
||||
assert(d != 0);
|
||||
SimuData *header = d;
|
||||
|
||||
header->BoxSize *= Mpc_unitLength;
|
||||
|
||||
if (!singleFile)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue