| 
            Last change
 on this file since 1516 was             1402, checked in by ansari, 25 years ago           | 
        
        
          | 
             
Modifs FFTServerInterface + FFTPackServer (Suite - Fin ?) - Reza 13/2/2001 
 
           | 
        
        
          | 
            File size:
            1.3 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #ifndef  FFTMServer_H_SEEN
 | 
|---|
| 2 | #define  FFTMServer_H_SEEN
 | 
|---|
| 3 | 
 | 
|---|
| 4 | #include "fftservintf.h"
 | 
|---|
| 5 | 
 | 
|---|
| 6 | // implementation de FFTServerInterface en utilisant FFTPack 
 | 
|---|
| 7 | 
 | 
|---|
| 8 | namespace SOPHYA {
 | 
|---|
| 9 | 
 | 
|---|
| 10 | class FFTMayerServer : public FFTServerInterface {
 | 
|---|
| 11 |  public:
 | 
|---|
| 12 |   FFTMayerServer();
 | 
|---|
| 13 |   virtual ~FFTMayerServer();
 | 
|---|
| 14 | 
 | 
|---|
| 15 |   // Implementation de l'interface FFTServerInterface
 | 
|---|
| 16 | 
 | 
|---|
| 17 |   virtual FFTServerInterface * Clone();
 | 
|---|
| 18 | 
 | 
|---|
| 19 |   // Transforme unidimensionnel sur des doubles
 | 
|---|
| 20 |   virtual void FFTForward(TArray< complex<r_8> > const & in, TArray< complex<r_8> > & out);
 | 
|---|
| 21 |   virtual void FFTBackward(TArray< complex<r_8> > const & in, TArray< complex<r_8> > & out);
 | 
|---|
| 22 |   virtual void FFTForward(TArray< r_8 > const & in, TArray< complex<r_8> > & out);
 | 
|---|
| 23 |   virtual void FFTBackward(TArray< complex<r_8> > const & in, TArray< r_8 > & out,
 | 
|---|
| 24 |                            bool usoutsz=false);
 | 
|---|
| 25 | 
 | 
|---|
| 26 | 
 | 
|---|
| 27 |   // Transforme unidimensionnel sur des float
 | 
|---|
| 28 |   virtual void FFTForward(TArray< complex<r_4> > const & in, TArray< complex<r_4> > & out);
 | 
|---|
| 29 |   virtual void FFTBackward(TArray< complex<r_4> > const & in, TArray< complex<r_4> > & out);
 | 
|---|
| 30 |   virtual void FFTForward(TArray< r_4 > const & in, TArray< complex<r_4> > & out);
 | 
|---|
| 31 |   virtual void FFTBackward(TArray< complex<r_4> > const & in, TArray< r_4 > & out,
 | 
|---|
| 32 |                            bool usoutsz=false);
 | 
|---|
| 33 | 
 | 
|---|
| 34 | 
 | 
|---|
| 35 | protected:
 | 
|---|
| 36 |   virtual bool checkLength(int n);
 | 
|---|
| 37 | 
 | 
|---|
| 38 |   FFTArrayChecker<r_4> ckR4;
 | 
|---|
| 39 |   FFTArrayChecker<r_8> ckR8;
 | 
|---|
| 40 | };
 | 
|---|
| 41 | 
 | 
|---|
| 42 | } // Fin du namespace
 | 
|---|
| 43 | 
 | 
|---|
| 44 | 
 | 
|---|
| 45 | 
 | 
|---|
| 46 | 
 | 
|---|
| 47 | #endif
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.