Changeset 3885 for palm/trunk/SOURCE/land_surface_model_mod.f90
- Timestamp:
- Apr 11, 2019 11:29:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/land_surface_model_mod.f90
r3881 r3885 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Changes related to global restructuring of location messages and introduction 28 ! of additional debug messages 29 ! 30 ! 3881 2019-04-10 09:31:22Z suehring 27 31 ! Bugfix in level 3 initialization of pavement albedo type and pavement 28 32 ! emissivity … … 544 548 545 549 USE control_parameters, & 546 ONLY: cloud_droplets, coupling_start_time, dt_3d, & 550 ONLY: cloud_droplets, coupling_start_time, & 551 debug_output, debug_string, & 552 dt_3d, & 547 553 end_time, humidity, intermediate_timestep_count, & 548 554 initializing_actions, intermediate_timestep_count_max, & … … 1890 1896 TYPE(surf_type), POINTER :: surf !< surface-date type variable 1891 1897 1898 ! 1899 !-- Debug location message 1900 IF ( debug_output ) THEN 1901 WRITE( debug_string, * ) 'lsm_energy_balance', horizontal, l 1902 CALL debug_message( debug_string, 'start' ) 1903 ENDIF 1904 1892 1905 IF ( horizontal ) THEN 1893 1906 surf => surf_lsm_h … … 2449 2462 IF ( horizontal .AND. .NOT. constant_roughness ) CALL calc_z0_water_surface 2450 2463 2451 2464 IF ( debug_output ) THEN 2465 WRITE( debug_string, * ) 'lsm_energy_balance', horizontal, l 2466 CALL debug_message( debug_string, 'end' ) 2467 ENDIF 2468 2452 2469 CONTAINS 2453 2470 !------------------------------------------------------------------------------! … … 2632 2649 REAL(wp), DIMENSION(:), ALLOCATABLE :: pr_soil_init !< temporary array used for averaging soil profiles 2633 2650 2634 CALL location_message( 'initializing land surface model', .FALSE.)2651 IF ( debug_output ) CALL debug_message( 'lsm_init', 'start' ) 2635 2652 ! 2636 2653 !-- If no cloud physics is used, rho_surface has not been calculated before … … 4942 4959 ENDDO 4943 4960 4944 CALL location_message( 'finished', .TRUE.)4961 IF ( debug_output ) CALL debug_message( 'lsm_init', 'end' ) 4945 4962 4946 4963 END SUBROUTINE lsm_init … … 5271 5288 TYPE(surf_type), POINTER :: surf !< surface-date type variable 5272 5289 5290 5291 IF ( debug_output ) THEN 5292 WRITE( debug_string, * ) 'lsm_soil_model', horizontal, l, calc_soil_moisture 5293 CALL debug_message( debug_string, 'start' ) 5294 ENDIF 5295 5273 5296 IF ( horizontal ) THEN 5274 5297 surf => surf_lsm_h … … 5566 5589 ENDDO 5567 5590 !$OMP END PARALLEL 5591 ! 5592 !-- Debug location message 5593 IF ( debug_output ) THEN 5594 WRITE( debug_string, * ) 'lsm_soil_model', horizontal, l, calc_soil_moisture 5595 CALL debug_message( debug_string, 'end' ) 5596 ENDIF 5568 5597 5569 5598 END SUBROUTINE lsm_soil_model
Note: See TracChangeset
for help on using the changeset viewer.