1 #ifndef FFTW_ComplexArray_HPP 2 #define FFTW_ComplexArray_HPP 22 const complex<T>* pf=&f[0];
31 tUIndex start=threadId*n/nThreads;
32 tUIndex end=(threadId+1)*n/nThreads;
34 const complex<T> *fi=&pf[start];
37 for (i=start;i<end;i++) {
void allocate(const tUIndex &cap)
allocate the memory if the array
Definition: FFTW_ComplexArray.cpp:38
void copy(const FFTW_ComplexArray &f)
copy the complex array
Definition: FFTW_ComplexArray.cpp:180
#define OMP_GET_THREAD_ID()
Definition: openMP.h:76
#define tUInteger
Definition: types.h:91
#define tFFTWComplex
Definition: fftw_types.h:65
#define tUIndex
Definition: types.h:126
#define OMP_PARALLEL_PRIVATE_SHARED_DEFAULT(P, S, D)
Definition: openMP.h:88
tFFTWComplex * mValues
Definition: FFTW_ComplexArray.h:25
#define OMP_GET_THREADS_NUMBER()
Definition: openMP.h:74
tUIndex mSize
Definition: FFTW_ComplexArray.h:28
tUIndex mCapacity
Definition: FFTW_ComplexArray.h:31
void desallocate()
desallocate the memory
Definition: FFTW_ComplexArray.cpp:27