#ifndef _PROJ_H_ #define _PROJ_H_ #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <math.h> #include <sys/types.h> #include <sys/stat.h> #define NMax 201 /* num of site is NMax*NMax*/ #define eta 1. #define gamma 1.5 #define MAXPT NMax*NMax/* max num of points*/ #define OCCUPY -1 static int SCNUM = 10; #define RANGE 5/* range of scaping */ extern int cno; extern int npt; extern int fdl; extern float Scape[NMax][NMax]; extern float scale[2*RANGE+1][2*RANGE+1]; extern float rmat[21][21]; typedef struct{ int i,j;/* i and j of the point*/ }Point; extern Point pt[MAXPT]; #endif