Unit fix
This commit is contained in:
parent
2f50155648
commit
97dbc381e0
@ -81,8 +81,8 @@ SimuData *CosmoTool::loadFlashMulti(const char *fname, int id, int loadflags)
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int n = 0; n < data->NumPart; n++) {
|
||||
data->Pos[i][n] = data->Pos[i][n] / kpc2cm;
|
||||
data->Vel[i][n] = data->Vel[i][n] / km2cm;
|
||||
data->Pos[i][n] = data->Pos[i][n] * data->Hubble / kpc2cm;
|
||||
data->Vel[i][n] = data->Vel[i][n] * data->Hubble / km2cm;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user