Changeset 3615 in Sophya for trunk/FrEROS/AnaLC/nbsread.cc
- Timestamp:
- May 1, 2009, 1:34:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FrEROS/AnaLC/nbsread.cc
r3308 r3615 1 1 /* lecture des fichiers de suivi: cmv 21/12/93 */ 2 2 #include "machdefs.h" 3 #include "sopnamsp.h" // using SOPHYA namespace 3 4 #include <stdio.h> 4 5 #include <stdlib.h> … … 7 8 #include <signal.h> 8 9 10 #include "sophyainit.h" 9 11 #include "fsvcache.h" 10 12 #include "nbtri.h" 11 #include "nbrandom.h"12 13 #include "nbmath.h" 13 14 #include "strutil.h" … … 106 107 if (narg < 2) usage(0); 107 108 if( !strcmp(arg[1],"-h") != 0 ) usage(1); 109 110 /*------------------------------------------*/ 111 /*-------- Initialisation Aleatoire --------*/ 112 /*------------------------------------------*/ 113 SophyaInit(); 114 RandGen = new DR48RandGen; 115 RandomGeneratorInterface::SetGlobalRandGenP(RandGen); 116 108 117 109 118 /*------------------------------------------*/ … … 417 426 418 427 printf("Nombre total d'etoiles lues %d\n",netoiles); 419 420 exit(0); 428 delete RandGen; 429 430 return(0); 421 431 } 422 432
Note:
See TracChangeset
for help on using the changeset viewer.