mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
reconfigured to put RA, Dec, redshift, and unique (catalog) ID in the binary ZOBOV file
This commit is contained in:
parent
7c3d7a9d31
commit
a53e3bf290
5 changed files with 90 additions and 21 deletions
3
external/cosmotool/src/loadSimu.hpp
vendored
3
external/cosmotool/src/loadSimu.hpp
vendored
|
@ -24,9 +24,10 @@ namespace CosmoTool
|
|||
int *Id;
|
||||
float *Pos[3];
|
||||
float *Vel[3];
|
||||
float *uniqueID;
|
||||
int *type;
|
||||
public:
|
||||
SimuData() : Id(0),NumPart(0),type(0) { Pos[0]=Pos[1]=Pos[2]=0; Vel[0]=Vel[1]=Vel[2]=0; }
|
||||
SimuData() : Id(0),NumPart(0),type(0), uniqueID(0) { Pos[0]=Pos[1]=Pos[2]=0; Vel[0]=Vel[1]=Vel[2]=0; uniqueID=0}
|
||||
~SimuData()
|
||||
{
|
||||
for (int j = 0; j < 3; j++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue