Changeset 1372
- Timestamp:
- Apr 24, 2014 6:29:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/fft_xy.f90
r1354 r1372 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! openMP-bugfix for fftw: some arrays defined as threadprivate 23 23 ! 24 24 ! Former revisions: … … 168 168 INTEGER(KIND=C_INT) :: ny_c !: 169 169 170 !$OMP THREADPRIVATE( x_out, y_out, x_in, y_in ) 170 171 COMPLEX(KIND=C_DOUBLE_COMPLEX), DIMENSION(:), ALLOCATABLE, SAVE :: & 171 172 x_out !: … … 320 321 nx_c = nx+1 321 322 ny_c = ny+1 323 !$OMP PARALLEL 322 324 ALLOCATE( x_in(0:nx+2), y_in(0:ny+2), x_out(0:(nx+1)/2), & 323 325 y_out(0:(ny+1)/2) ) 326 !$OMP END PARALLEL 324 327 plan_xf = FFTW_PLAN_DFT_R2C_1D( nx_c, x_in, x_out, FFTW_ESTIMATE ) 325 328 plan_xi = FFTW_PLAN_DFT_C2R_1D( nx_c, x_out, x_in, FFTW_ESTIMATE )
Note: See TracChangeset
for help on using the changeset viewer.