Changeset 3003 in Sophya
- Timestamp:
- Jul 3, 2006, 1:05:40 PM (19 years ago)
- Location:
- trunk/SophyaLib/Samba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/sphericaltransformserver.cc
r2991 r3003 567 567 } 568 568 TVector<complex<T> > transformedData(nph); 569 fftIntfPtr_-> FFTForward(datain, transformedData); 569 // Il faut avoir instancie le serveur de FFT avec l'option preserveinput=true 570 fftIntfPtr_-> FFTForward(const_cast<TVector< complex<T> > &>(datain), transformedData); 570 571 571 572 TVector< complex<T> > dataout(nmmax+1); … … 616 617 // du vecteur reel entre est nph) 617 618 // cout << " longueur de datain = " << nph << endl; 618 fftIntfPtr_-> FFTForward(datain, transformedData); 619 // Il faut avoir instancie le serveur de FFT avec l'option preserveinput=true 620 fftIntfPtr_-> FFTForward(const_cast< TVector<T> &>(datain), transformedData); 619 621 // cout << " taille de la transformee " << transformedData.Size() << endl; 620 622 // TVector< complex<T> > dataout(nmmax+1); -
trunk/SophyaLib/Samba/sphericaltransformserver.h
r2313 r3003 20 20 SphericalTransformServer() 21 21 { 22 fftIntfPtr_=new FFTPackServer ;22 fftIntfPtr_=new FFTPackServer(true); // preserveinput = true 23 23 fftIntfPtr_->setNormalize(false); 24 24 }; … … 27 27 /*! 28 28 Set a fft server. The constructor sets a default fft server (fft-pack). So it is not necessary to call this method for a standard use. 29 \warning The FFTServerInterface object should NOT overwrite the input arrays 29 30 */ 30 31 void SetFFTServer(FFTServerInterface* srv=NULL)
Note:
See TracChangeset
for help on using the changeset viewer.