Changeset 949 in Sophya


Ignore:
Timestamp:
Apr 16, 2000, 6:48:45 PM (25 years ago)
Author:
ansari
Message:

Compil sous Sun-g++ (mpa-Garching) - Reza 16/4/2000

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/FitsIOServer/fitsfile.cc

    r923 r949  
     1#include "machdefs.h"
     2#include <stdlib.h>
    13#include "fitsfile.h"
    24#include "pexceptions.h"
  • trunk/SophyaProg/PMixer/extractRS.cc

    r929 r949  
    114114        if (printlev > 2)
    115115          {
    116             double min = 1000000000;
    117             double max = -10000000000;
     116            double min = 9.e99;
     117            double max = -9.e99;
    118118            for(int x=0;x<ings.NRows(); x++)
    119119              {
  • trunk/SophyaProg/PMixer/tgrsr.cc

    r930 r949  
    1313int main(int narg, char* arg[])
    1414{
     15#if !defined(SunOS) || !defined(__GNUG__)
     16  // ca se plante sur Sun !
    1517  SophyaInit();
     18#endif
     19
    1620  InitTim();   // Initializing the CPU timer
    1721
  • trunk/SophyaProg/PMixer/tgsky.cc

    r931 r949  
    1111int main(int narg, char* arg[])
    1212{
    13   double teta,phi;
    14   double gmoy=0., gsig=0.;
    1513
    16   SophyaInit();
    17   InitTim();   // Initializing the CPU timer
    1814  if ((narg < 5) || ((narg>1) && (strcmp(arg[1],"-h") == 0)) )  {
    1915    cout << " tgsky : Generation of random skies  " << endl;
     
    2622    }
    2723
     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
    2832  int  ns = atoi(arg[1]);
    2933  SphereHEALPix<float> sph(ns);
     
    110114  PrtTim("End of WriteFITS ");
    111115
     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  }
    112123  cout <<  " ============ End of tgsky program ======== " << endl;
    113124  return 0;
Note: See TracChangeset for help on using the changeset viewer.