UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cdft2d_fftw_thrds.hpp
1 /* cdft2d_fftw_thrds.hpp */
2 /* $Id: cdft2d_fftw_thrds.hpp 21267 2011-11-23 15:19:39Z guser1 $ */
3 #ifndef __cdft2d_fftw_thrds_hpp
4 #define __cdft2d_fftw_thrds_hpp
5 
6 #ifdef GE_BUILD
7 #include <cdft2d_fftw.hpp>
8 #include <unnamed_sem.hpp>
9 #else
10 #include <s2proc/cdft2d_fftw.hpp>
11 #include <dcf/unnamed_sem.hpp>
12 #endif
13 
15 {
16 public:
17 
18  //CDFT2D_FFTW_Thrds(dcf::UnnamedSem &sem, int direction = 1);
19  CDFT2D_FFTW_Thrds(int direction = 1);
20 
21 protected:
22 
23  virtual void create_1d_plan(int N0, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const;
24 
25  virtual void create_2d_plan(int N0, int N1, fftw_plan &plan, fftw_complex *in, fftw_complex *out) const;
26 
27  virtual void destroy_plan(fftw_plan &plan) const;
28 
29  //private:
30 
31  static dcf::UnnamedSem m_sem;
32 };
33 
34 #endif /* cdft2d_fftw_thrds.hpp */
Definition: cdft2d_fftw_thrds.hpp:14
Definition: unnamed_sem.hpp:17
Definition: cdft2d_fftw.hpp:40