1
0
Fork 0
mirror of https://github.com/cosmo-sims/MUSIC.git synced 2024-09-19 17:03:46 +02:00

fixed wrong velocity unit in Gadget plugin

This commit is contained in:
Oliver Hahn 2014-01-29 14:44:10 +01:00
parent 51e23706aa
commit db38296f39

View file

@ -1156,7 +1156,7 @@ public:
//if( kpcunits_ )
// vfac /= 1000.0;
vfac *= unit_length_chosen_ * unit_vel_chosen_;
vfac *= unit_length_chosen_ / unit_vel_chosen_;
size_t nwritten = 0;
@ -1234,7 +1234,7 @@ public:
//if( kpcunits_ )
// vfac /= 1000.0;
vfac *= unit_length_chosen_ * unit_vel_chosen_;
vfac *= unit_length_chosen_ / unit_vel_chosen_;
//size_t npart = gh.count_leaf_cells(gh.levelmin(), gh.levelmax());;;
size_t nwritten = 0;