Commit 9dbd03e6 authored by Nandhana Sakhtivel's avatar Nandhana Sakhtivel
Browse files

Changed in grid data

parent 0894606b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@ clock_t start, end, start0, startk, endk;
struct timespec begin, finish, begin0, begink, finishk;

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

#ifdef USE_MPI
+2 −2
Original line number Diff line number Diff line
@@ -128,8 +128,8 @@ extern double resolution, dx, dw, w_supporth;

extern clock_t start, end, start0, startk, endk;
extern struct timespec begin, finish, begin0, begink, finishk;
extern long * histo_send;
extern double * grid, *gridss;
extern long * histo_send, size_of_grid;
extern double * grid, *gridss, *gridss_real, *gridss_img, *gridss_w;
extern fftw_complex *fftwgrid;

#ifdef USE_MPI
+1 −1
Original line number Diff line number Diff line
ndatasets              3
ndatasets              1
Datapath1              /u/nsakthivel/LOFAR/data/newgauss2noconj_t201806301100_SBL180.binMS/ 
Datapath2              /u/nsakthivel/LOFAR/data/newgauss2noconj_t201806301100_SBL180.binMS/
Datapath3              /u/nsakthivel/LOFAR/data/newgauss2noconj_t201806301100_SBL180.binMS/
+0 −4
Original line number Diff line number Diff line
@@ -91,10 +91,6 @@ void gridding_data(){

    // Create sector grid

    double * gridss_w;
    double * gridss_real;
    double * gridss_img;
    long size_of_grid;
    size_of_grid = 2*num_w_planes*xaxis*yaxis;
    gridss = (double*) calloc(size_of_grid,sizeof(double));
    gridss_w = (double*) calloc(size_of_grid,sizeof(double));