#define EVAL_WINDOW 4 #define EVAL_STEP 1 #define MAX_DATA 10 #ifndef M_PI # define M_PI 3.14159265358979323846 # define M_PI_2 1.57079632679489661923 # define M_PI_4 0.78539816339744830962 # define M_1_PI 0.31830988618379067154 # define M_2_PI 0.63661977236758134308 # define M_2_SQRTPI 1.12837916709551257390 #endif # define _2_M_PI 6.2831853072 #ifndef Float #define Float long double #endif extern int tid; extern Float *data[EVAL_WINDOW]; extern char tdata[MAX_DATA]; extern int did; extern size_t sz_data; int init_data(void); int out_data(int NumLines,int PutTime,int PutPolar); int flush_data(void); int get_data(Float time);