Commit 1da337ba authored by Nandhana Sakhtivel's avatar Nandhana Sakhtivel
Browse files

Modification of function name in gridding.c

parent 1d708577
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ endif
# perform one-side communication (suggested) instead of reduce (only if MPI is active)
OPT += -DONE_SIDE
# write the full 3D cube of gridded visibilities and its FFT transform
#OPT += -DWRITE_DATA
OPT += -DWRITE_DATA
# write the final image
OPT += -DWRITE_IMAGE
# perform w-stacking phase correction
+3 −3
Original line number Diff line number Diff line
ndatasets              1
Datapath1              ../input/
Datapath2              ../input/
Datapath3              ../input/
Datapath1              /beegfs/lofar/cgheller/L798046_SB244_uv.uncorr_130B27932t_121MHz.pre-cal.binMS/
Datapath2              /beegfs/lofar/cgheller/L798046_SB244_uv.uncorr_130B27932t_123MHz.pre-cal.binMS/
Datapath3              /beegfs/lofar/cgheller/L798046_SB244_uv.uncorr_130B27932t_121MHz.pre-cal.binMS/
num_threads            2
w_support              7
grid_size_x            2048
+150 −150
Original line number Diff line number Diff line
@@ -163,7 +163,7 @@ void write_fftw_data(){

	  

  TAKE_TIME_START(phase)
	  TAKE_TIME_START(phase);
          if(global_rank == 0) printf("PHASE CORRECTION\n");
	  double* image_real = (double*) calloc(xaxis*yaxis,sizeof(double));
	  double* image_imag = (double*) calloc(xaxis*yaxis,sizeof(double));
+1 −1
Original line number Diff line number Diff line
@@ -355,7 +355,7 @@ void gridding_data()
  
}

void write_grided_data()
void write_gridded_data()
{

   #ifdef WRITE_DATA
+1 −1
Original line number Diff line number Diff line
@@ -69,7 +69,7 @@ int main(int argc, char * argv[])
              gridding();

              /* WRITE_GRIDED_DATA function */
              write_grided_data();
              write_gridded_data();

              /* FFTW_DATA function */
              fftw_data();
Loading