Ignore:
Timestamp:
Apr 27, 2012, 12:54:12 AM (13 years ago)
Author:
ansari
Message:

Ajout gestion de niveau d'impression globale pour les cartes du module SkyMap ds pixelmap.h et prise en compte du niveau pour les prints ds Resize des SphericalMaps (fait en janv 2012 ?), Reza 27/04/2012

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyMap/spherethetaphi.cc

    r3836 r4066  
    88#include "spherethetaphi.h"
    99
     10//----- global print level for spherical maps -----
     11static int_4  pixel_map_prt_lev_ = 0;
     12// Set global print level
     13void SOPHYA::PixelMap_SetGlobalPrintLevel(int_4 lev)
     14{ pixel_map_prt_lev_=lev; }
     15// Get global print level
     16int_4 SOPHYA::PixelMap_GetGlobalPrintLevel()
     17{ return pixel_map_prt_lev_; }
     18//----------------------------------------------------
    1019
    1120/*!
     
    124133{
    125134  if ((m <= 0) && (NTheta_ > 0) ) {
    126     cout << "SphereThetaPhi<T>::Resize(m) with m<=0 - NOT resized" << endl;
     135    if (PixelMap_GetGlobalPrintLevel()>0)
     136      cout << "SphereThetaPhi<T>::Resize(m) with m<=0 - NOT resized" << endl;
    127137    return;
    128138  }
Note: See TracChangeset for help on using the changeset viewer.