/*
 * Copyright (c) 1994 Pangfeng Liu.  All rights reserved.
 */


#define MAX_SAMPLE_POINTS 	256000
#define MAXP			1024
#define DIMENSION 		3
#define DOMAIN_SIZE 		32.0	
#define RADIUS 			(DOMAIN_SIZE / 3.9)
#define INFINITY 		1000000
#define MAX_NUM_GALAXY 10
/* distribution type */

#define RANDOM 		0
#define PLUMMER         1
#define TWO_GALAXIES    2

#define   PI         3.14159265358979323846

#define MFRAC  0.999

typedef float REAL;

typedef struct
{
  REAL cord[DIMENSION];
} VECTOR;

typedef struct
{
  int dim;
  REAL coordinate;
} CUT;

typedef struct particle
{
  REAL mass;
  VECTOR position;
  VECTOR velocity;
} PARTICLE;

#define PARTICLE_SIZE sizeof(PARTICLE)
