| 
            Last change
 on this file since 732 was             583, checked in by ansari, 26 years ago           | 
        
        
          | 
             
Div. prog test - Reza 16/11/99 
 
           | 
        
        
          | 
            File size:
            410 bytes
           | 
        
      
      
| Rev | Line |   | 
|---|
| [491] | 1 | #include <iostream.h>
 | 
|---|
| [526] | 2 | #include "sambainit.h"
 | 
|---|
| [583] | 3 | #include "tod.h"
 | 
|---|
| [491] | 4 | #include "spheregorski.h"
 | 
|---|
 | 5 | 
 | 
|---|
 | 6 | 
 | 
|---|
 | 7 | int main() 
 | 
|---|
 | 8 | {
 | 
|---|
 | 9 |   double teta,phi;
 | 
|---|
| [526] | 10 |   PeidaInit();
 | 
|---|
| [491] | 11 |   int  m=32;
 | 
|---|
 | 12 |   SphereGorski<double> sph(m);
 | 
|---|
 | 13 |   for (int j=0;j<sph.NbPixels();j++) 
 | 
|---|
 | 14 |     {
 | 
|---|
 | 15 |       sph.PixThetaPhi(j,teta,phi);
 | 
|---|
 | 16 |       sph(j)= 0.2* cos(3.*teta)*sin(8*phi);
 | 
|---|
 | 17 |     }
 | 
|---|
 | 18 |   // Projection  dans une image
 | 
|---|
 | 19 | 
 | 
|---|
 | 20 |   cout <<  " ===== Fin de test0 ======== " << endl;
 | 
|---|
 | 21 |   return 0;
 | 
|---|
 | 22 | }
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.