Changeset 949 in Sophya for trunk/SophyaProg/PMixer/tgsky.cc
- Timestamp:
- Apr 16, 2000, 6:48:45 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaProg/PMixer/tgsky.cc
r931 r949 11 11 int main(int narg, char* arg[]) 12 12 { 13 double teta,phi;14 double gmoy=0., gsig=0.;15 13 16 SophyaInit();17 InitTim(); // Initializing the CPU timer18 14 if ((narg < 5) || ((narg>1) && (strcmp(arg[1],"-h") == 0)) ) { 19 15 cout << " tgsky : Generation of random skies " << endl; … … 26 22 } 27 23 24 try { 25 double teta,phi; 26 double gmoy=0., gsig=0.; 27 #if !defined(SunOS) || !defined(__GNUG__) 28 // ca se plante sur Sun ! 29 SophyaInit(); 30 #endif 31 InitTim(); // Initializing the CPU timer 28 32 int ns = atoi(arg[1]); 29 33 SphereHEALPix<float> sph(ns); … … 110 114 PrtTim("End of WriteFITS "); 111 115 116 } 117 catch (PThrowable exc) { 118 cerr << " tgsky: Catched Exception - Msg= " << exc.Msg() << endl; 119 } 120 catch (...) { 121 cerr << " tgsky: Catched unknown exception (...) " << endl; 122 } 112 123 cout << " ============ End of tgsky program ======== " << endl; 113 124 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.