Changeset 3613 in Sophya for trunk/SophyaLib/Samba/alm.cc


Ignore:
Timestamp:
Apr 30, 2009, 7:07:46 PM (16 years ago)
Author:
ansari
Message:

Adaptation a l'introduction de la suite des classes RandomGeneratorInterface et Cie , Reza 30/04/2009

File:
1 edited

Legend:

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

    r3510 r3613  
    2020
    2121  //alm.ReSize(nlmax);
    22   this->ReSizeRow(nlmax+1);
    23   RandomGenerator rg(1, false);
    24   GenFromCl(clin, fwhm, rg);
     22  this->ReSizeRow(nlmax+1);
     23  GenFromCl(clin, fwhm, *(RandomGeneratorInterface::GetGlobalRandGenP()) );
    2524}
    2625
     
    2928*/
    3029template <class T>
    31 Alm<T>::Alm(const TVector<T>& clin, const r_8 fwhm, RandomGenerator & rg)
     30Alm<T>::Alm(const TVector<T>& clin, const r_8 fwhm, RandomGeneratorInterface & rg)
    3231{
    3332  int_4 nlmax= clin.NElts()-1;
     
    4140
    4241template <class T>
    43 void Alm<T>::GenFromCl(const TVector<T> & clin, const r_8 fwhm, RandomGenerator & rg)
     42void Alm<T>::GenFromCl(const TVector<T> & clin, const r_8 fwhm, RandomGeneratorInterface & rg)
    4443{
    4544  /*=======================================================================
Note: See TracChangeset for help on using the changeset viewer.