Changeset 4066 in Sophya for trunk/SophyaLib/SkyMap/spherethetaphi.cc
- Timestamp:
- Apr 27, 2012, 12:54:12 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyMap/spherethetaphi.cc
r3836 r4066 8 8 #include "spherethetaphi.h" 9 9 10 //----- global print level for spherical maps ----- 11 static int_4 pixel_map_prt_lev_ = 0; 12 // Set global print level 13 void SOPHYA::PixelMap_SetGlobalPrintLevel(int_4 lev) 14 { pixel_map_prt_lev_=lev; } 15 // Get global print level 16 int_4 SOPHYA::PixelMap_GetGlobalPrintLevel() 17 { return pixel_map_prt_lev_; } 18 //---------------------------------------------------- 10 19 11 20 /*! … … 124 133 { 125 134 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; 127 137 return; 128 138 }
Note:
See TracChangeset
for help on using the changeset viewer.