reconfigured to put RA, Dec, redshift, and unique (catalog) ID in the binary ZOBOV file

This commit is contained in:
Paul Matt Sutter 2012-11-17 02:49:02 -05:00
parent 7c3d7a9d31
commit a53e3bf290
5 changed files with 90 additions and 21 deletions

View file

@ -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++)