#define MAXDIM 3
#define forever for(;;)
typedef float Real;
struct gas_particle {
Real mass;
Real pos[MAXDIM];
Real vel[MAXDIM];
Real rho;
Real temp;
Real hsmooth;
Real metals ;
Real phi ;
} ;
struct gas_particle *gas_particles;
struct dark_particle {
Real mass;
Real pos[MAXDIM];
Real vel[MAXDIM];
Real eps;
Real phi ;
} ;
struct dark_particle *dark_particles;
struct star_particle {
Real mass;
Real pos[MAXDIM];
Real vel[MAXDIM];
Real metals ;
Real tform ;
Real eps;
Real phi ;
} ;
struct star_particle *star_particles;
struct dump {
double time ;
int nbodies ;
int ndim ;
int nsph ;
int ndark ;
int nstar ;
} ;
struct dump header ;