| Line |   | 
|---|
| 1 | // Dominique YVON, CEA/DAPNIA/SPP
 | 
|---|
| 2 | 
 | 
|---|
| 3 | #include <math.h>
 | 
|---|
| 4 | #ifdef __MWERKS__
 | 
|---|
| 5 | //   #include "unixmac.h"
 | 
|---|
| 6 | #endif
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #include "abslobenopolar.h"
 | 
|---|
| 9 | 
 | 
|---|
| 10 | int AbsLobeNoPolar::gorskyNlatFromRes() const {
 | 
|---|
| 11 |         double rlat= M_PI/2./lobeResol();
 | 
|---|
| 12 |     int nlat=2;
 | 
|---|
| 13 |     while(nlat<rlat) nlat*=2;
 | 
|---|
| 14 |     if (nlat>8192) cerr<<"warning: taille gorskyNlat: "<< nlat<<endl;
 | 
|---|
| 15 |     return nlat;
 | 
|---|
| 16 | }
 | 
|---|
| 17 | 
 | 
|---|
| 18 | void AbsLobeNoPolar::print(ostream& OutStr) const
 | 
|---|
| 19 | {       OutStr<<"Lobe: "<<Name<<endl;
 | 
|---|
| 20 |         OutStr<<"Angle Max: "<< angleMax<<endl;
 | 
|---|
| 21 |         return;
 | 
|---|
| 22 | } | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.