Changeset 3797 for palm/trunk/SOURCE/prognostic_equations.f90
- Timestamp:
- Mar 15, 2019 11:15:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r3771 r3797 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Call chem_integegrate in OpenMP loop (ketelsen) 28 ! 29 ! 30 ! 3771 2019-02-28 12:19:33Z raasch 27 31 ! preprocessor directivs fro rrtmg added 28 32 ! … … 527 531 CALL photolysis_control 528 532 ENDIF 529 DO i = nxl, nxr 530 DO j = nys, nyn 531 532 IF ( intermediate_timestep_count == 1 .OR. & 533 call_chem_at_all_substeps ) THEN 534 535 CALL cpu_log( log_point_s(19), 'chem.reactions', 'start' ) 533 534 IF ( intermediate_timestep_count == 1 .OR. & 535 call_chem_at_all_substeps ) THEN 536 537 CALL cpu_log( log_point_s(19), 'chem.reactions', 'start' ) 538 !$OMP PARALLEL PRIVATE (i,j) 539 !$OMP DO schedule(static,1) 540 DO i = nxl, nxr 541 DO j = nys, nyn 536 542 CALL chem_integrate (i,j) 537 CALL cpu_log( log_point_s(19), 'chem.reactions', 'stop' ) 538 539 IF ( do_depo ) THEN 540 CALL cpu_log( log_point_s(24), 'chem.deposition', 'start' ) 543 ENDDO 544 ENDDO 545 !$OMP END PARALLEL 546 CALL cpu_log( log_point_s(19), 'chem.reactions', 'stop' ) 547 548 IF ( do_depo ) THEN 549 CALL cpu_log( log_point_s(24), 'chem.deposition', 'start' ) 550 DO i = nxl, nxr 551 DO j = nys, nyn 541 552 CALL chem_depo(i,j) 542 CALL cpu_log( log_point_s(24), 'chem.deposition', 'stop' )543 ENDIF544 ENDIF545 END DO546 END DO553 ENDDO 554 ENDDO 555 CALL cpu_log( log_point_s(24), 'chem.deposition', 'stop' ) 556 ENDIF 557 ENDIF 547 558 ENDIF 548 559 !
Note: See TracChangeset
for help on using the changeset viewer.