#include "allvars.h"

struct io file;

struct ip in;

struct op out, outparam;

struct meta metaData;
struct time timing;
struct parameter param;
struct fileData data;

char filename[1000], buf[30], num_buf[30];
char datapath[900];
int xaxis, yaxis;
int rank;
int size;
long nsectors;
long startrow;
double resolution, dx, dw, w_supporth;

clock_t start, end, start0, startk, endk;
struct timespec begin, finish, begin0, begink, finishk;

struct sectorlist ** sectorhead;
long * histo_send, size_of_grid;
double * grid, *gridss, *gridss_real, *gridss_img, *gridss_w;

#ifdef USE_MPI
    MPI_Win slabwin;
#endif
