Révision 230 TrouNoir/trou_noir.c

trou_noir.c (revision 230)
223 223
  MYFLOAT rp[TRACKPOINTS];
224 224
  MYFLOAT **zp,**fp;
225 225
  unsigned int **izp,**ifp;
226
  MYFLOAT zmx,fmx,zen,fen;
226
  MYFLOAT zmx,fmx;
227 227
  int zimx=0,zjmx=0,fimx=0,fjmx=0;
228
  MYFLOAT flux_tot,impc_tot;
229
  MYFLOAT phi,thi,thx,phd,php,nr,r;
230
  int ni,ii,i,imx,j,n,tst,dist,raie,pc,fcl,zcl;
228
  MYFLOAT phi,phd,php,nr,r;
229
  int ni,ii,i,imx,j,n,tst,raie,fcl,zcl;
231 230
  MYFLOAT nh;
232 231
  struct timeval tv1,tv2;
233
  struct timezone tz;  
234 232
  double elapsed;
235 233
  int mtv1,mtv2;
236 234
  
......
338 336
  stp=dim/(2.*nmx);
339 337
  bmx=1.25*re;
340 338
  b=0.;
341
  pc=0;
342 339

  
343 340
  // Set start timer
344
  gettimeofday(&tv1, &tz);
341
  gettimeofday(&tv1, NULL);
345 342
  //
346 343
  mtv1=clock()*1000/CLOCKS_PER_SEC;
347 344
  
......
416 413
    }
417 414

  
418 415
  // Set stop timer
419
  gettimeofday(&tv2, &tz);
416
  gettimeofday(&tv2, NULL);
420 417
  mtv2=clock()*1000/CLOCKS_PER_SEC;
421 418
  
422 419
  //  elapsed=(double)((tv2.tv_sec-tv1.tv_sec) * 1000000L +

Formats disponibles : Unified diff