- Timestamp:
- Mar 22, 2017 4:14:10 AM (8 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r2156 r2192 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Bugfix for misplaced and missing openMP directives in r2155 23 23 ! 24 24 ! Former revisions: … … 394 394 395 395 ! 396 !-- Loop over all prognostic equations397 !$OMP PARALLEL private (i,i_omp_start,j,k,loop_start,tn)398 399 !$ tn = omp_get_thread_num()400 loop_start = .TRUE.401 !$OMP DO402 403 !404 396 !-- If required, calculate cloud microphysics 405 397 IF ( cloud_physics .AND. .NOT. microphysics_sat_adjust .AND. & 406 398 ( intermediate_timestep_count == 1 .OR. & 407 call_microphysics_at_all_substeps ) & 408 ) THEN 399 call_microphysics_at_all_substeps ) ) & 400 THEN 401 !$OMP PARALLEL private (i,j) 402 !$OMP DO 409 403 DO i = nxlg, nxrg 410 404 DO j = nysg, nyng 411 405 CALL microphysics_control( i, j ) 412 END DO 413 END DO 406 ENDDO 407 ENDDO 408 !$OMP END PARALLEL 414 409 ENDIF 415 410 411 ! 412 !-- Loop over all prognostic equations 413 !$OMP PARALLEL private (i,i_omp_start,j,k,loop_start,tn) 414 415 !$ tn = omp_get_thread_num() 416 loop_start = .TRUE. 417 418 !$OMP DO 416 419 DO i = nxl, nxr 417 420 … … 1057 1060 ENDDO 1058 1061 ENDDO 1059 !$OMP END PARALLEL1062 !$OMP END PARALLEL 1060 1063 1061 1064 CALL cpu_log( log_point(32), 'all progn.equations', 'stop' ) -
palm/trunk/SOURCE/spectra_mod.f90
r2101 r2192 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! bugfix for index bounds of arrays spectrum_x and spectrum_y 23 23 ! 24 24 ! Former revisions: … … 241 241 242 242 IF ( dt_dosp /= 9999999.9_wp ) THEN 243 ALLOCATE( spectrum_x( 1:nx/2, 1:10 , 1:10 ),&244 spectrum_y( 1:ny/2, 1:10 , 1:10 ) )243 ALLOCATE( spectrum_x( 1:nx/2, 1:100, 1:10 ), & 244 spectrum_y( 1:ny/2, 1:100, 1:10 ) ) 245 245 spectrum_x = 0.0_wp 246 246 spectrum_y = 0.0_wp
Note: See TracChangeset
for help on using the changeset viewer.