mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
fixed bug in velocity output
This commit is contained in:
parent
b466730c42
commit
479b9b8422
1 changed files with 3 additions and 3 deletions
|
@ -473,9 +473,9 @@ void saveBox(SimuData *&boxed, const std::string& outbox, generateMock_info& arg
|
||||||
delete[] tmp_int;
|
delete[] tmp_int;
|
||||||
}
|
}
|
||||||
|
|
||||||
NcVar *v6 = f.add_var("vel_x", ncFloat, NumSnap_dim);
|
NcVar *v6 = f.add_var("vel_x", ncFloat, NumPart_dim);
|
||||||
NcVar *v7 = f.add_var("vel_y", ncFloat, NumSnap_dim);
|
NcVar *v7 = f.add_var("vel_y", ncFloat, NumPart_dim);
|
||||||
NcVar *v8 = f.add_var("vel_z", ncFloat, NumSnap_dim);
|
NcVar *v8 = f.add_var("vel_z", ncFloat, NumPart_dim);
|
||||||
v6->put(velX, boxed->NumPart);
|
v6->put(velX, boxed->NumPart);
|
||||||
v7->put(velY, boxed->NumPart);
|
v7->put(velY, boxed->NumPart);
|
||||||
v8->put(velZ, boxed->NumPart);
|
v8->put(velZ, boxed->NumPart);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue