1typedef struct structParticleCollection { 2 long npart; 3 double *xpos; 4 double *ypos; 5 double *zpos; 6} ParticleCollection; 7 8void calculate_axes(ParticleCollection *part, 9 double *ax1, double *ax2, double *ax3); 10 11