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 Original line Diff line number Diff line
@@ -29,8 +29,8 @@ clock_t start, end, start0, startk, endk;
struct timespec begin, finish, begin0, begink, finishk;
struct timespec begin, finish, begin0, begink, finishk;


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


#ifdef USE_MPI
#ifdef USE_MPI
+2 −2
Original line number Original line 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 clock_t start, end, start0, startk, endk;
extern struct timespec begin, finish, begin0, begink, finishk;
extern struct timespec begin, finish, begin0, begink, finishk;
extern long * histo_send;
extern long * histo_send, size_of_grid;
extern double * grid, *gridss;
extern double * grid, *gridss, *gridss_real, *gridss_img, *gridss_w;
extern fftw_complex *fftwgrid;
extern fftw_complex *fftwgrid;


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


    // Create sector grid
    // 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;
    size_of_grid = 2*num_w_planes*xaxis*yaxis;
    gridss = (double*) calloc(size_of_grid,sizeof(double));
    gridss = (double*) calloc(size_of_grid,sizeof(double));
    gridss_w = (double*) calloc(size_of_grid,sizeof(double));
    gridss_w = (double*) calloc(size_of_grid,sizeof(double));