Changeset 532 in Sophya


Ignore:
Timestamp:
Oct 28, 1999, 11:21:33 AM (26 years ago)
Author:
ansari
Message:

Now supports template SphericalMaps

Location:
trunk/SophyaLib/Samba
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Samba/anagen.cc

    r514 r532  
    1111           }
    1212
    13 void map2almgen(int nsmax,int nlmax,int nmmax,const SphericalMap& map,
     13void map2almgen(int nsmax,int nlmax,int nmmax,const SphericalMap<double>& map,
    1414             vector< vector< complex<double> > >& alm, double cos_theta_cut){
    1515 
     
    3636    int nph;
    3737    double phi0;
    38     float theta;
    39     Vector phin, datan, phis, datas;
     38    double theta;
     39    Vector phin, datan, datas;
     40    TVector<double> phis;
    4041    map.GetThetaSlice(map.NbThetaSlices()-ith-1,theta,phis,datas);
    4142    map.GetThetaSlice(ith,theta,phin,datan);
  • trunk/SophyaLib/Samba/anagen.h

    r514 r532  
    77#include "sphericalmap.h"
    88
    9 void map2almgen(int nsmax,int nlmax,int nmmax,const SphericalMap& map,
     9void map2almgen(int nsmax,int nlmax,int nmmax,const SphericalMap<double>& map,
    1010             vector< vector< complex<double> > >& alm, double cos_theta_cut);
    1111
  • trunk/SophyaLib/Samba/syngen.cc

    r514 r532  
    1111void alm2mapgen(const int nsmax,const int nlmax,const int nmmax,
    1212             const vector< vector< complex<double> > >&alm,
    13              SphericalMap& map,
     13             SphericalMap<double>& map,
    1414             vector< complex<long double> > b_north,
    1515             vector< complex<long double> > b_south,
     
    4242    int nph;
    4343    double phi0;
    44     float theta,thetas;
    45     Vector phin, datan,phis,datas;
     44    double theta,thetas;
     45    Vector phin, datan,datas;
     46    TVector<double> phis;
    4647    map.GetThetaSlice(map.NbThetaSlices()-ith-1,thetas,phis,datas);
    4748    map.GetThetaSlice(ith,theta,phin,datan);
  • trunk/SophyaLib/Samba/syngen.h

    r514 r532  
    99void alm2mapgen(const int nsmax,const int nlmax,const int nmmax,
    1010             const vector< vector< complex<double> > >&alm,
    11              SphericalMap& map,
     11             SphericalMap<double>& map,
    1212             vector< complex<long double> > b_north,
    1313             vector< complex<long double> > b_south,
Note: See TracChangeset for help on using the changeset viewer.