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:
parent
51e23706aa
commit
db38296f39
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue