Changeset 3885 for palm/trunk/SOURCE/pmc_interface_mod.f90
- Timestamp:
- Apr 11, 2019 11:29:34 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/pmc_interface_mod.f90
r3883 r3885 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Changes related to global restructuring of location messages and introduction 28 ! of additional debug messages 29 ! 30 ! 3883 2019-04-10 12:51:50Z hellstea 27 31 ! Checks and error messages improved and extended. All the child index bounds in the 28 32 ! parent-grid index space are made module variables. Function get_number_of_childs … … 405 409 bc_dirichlet_s, child_domain, & 406 410 constant_diffusion, constant_flux_layer, & 407 coupling_char, dt_3d, dz, humidity, message_string, & 411 coupling_char, & 412 debug_output, debug_string, & 413 dt_3d, dz, humidity, message_string, & 408 414 neutral, passive_scalar, rans_mode, rans_tke_e, & 409 415 roughness_length, salsa, topography, volume_flow … … 790 796 !-- Attention: myid has been set at the end of pmc_init_model in order to 791 797 !-- guarantee that only PE0 of the root domain does the output. 792 CALL location_message( ' finished', .TRUE.)798 CALL location_message( 'initialize model nesting', 'finished' ) 793 799 ! 794 800 !-- Reset myid to its default value … … 800 806 !-- world_comm is given a dummy value to avoid compiler warnings (INTENT(OUT) 801 807 !-- should get an explicit value) 808 !-- todo: why don't we print an error message instead of these settings? 802 809 cpl_id = 1 803 810 nested_run = .FALSE. … … 817 824 818 825 #if defined( __parallel ) 819 CALL location_message( 'setup the nested model configuration', .FALSE.)826 CALL location_message( 'setup the nested model configuration', 'start' ) 820 827 CALL cpu_log( log_point_s(79), 'pmci_model_config', 'start' ) 821 828 ! … … 844 851 845 852 CALL cpu_log( log_point_s(79), 'pmci_model_config', 'stop' ) 846 CALL location_message( ' finished', .TRUE.)853 CALL location_message( 'setup the nested model configuration', 'finished' ) 847 854 #endif 848 855 … … 3050 3057 REAL(wp) :: dtg !< Global time step defined as the global minimum of dtl of all processes 3051 3058 3059 IF ( debug_output ) THEN 3060 WRITE( debug_string, * ) 'pmci_synchronize' 3061 CALL debug_message( debug_string, 'start' ) 3062 ENDIF 3052 3063 3053 3064 dtl = dt_3d 3054 3065 CALL MPI_ALLREDUCE( dtl, dtg, 1, MPI_REAL, MPI_MIN, MPI_COMM_WORLD, ierr ) 3055 3066 dt_3d = dtg 3067 3068 IF ( debug_output ) THEN 3069 WRITE( debug_string, * ) 'pmci_synchronize' 3070 CALL debug_message( debug_string, 'end' ) 3071 ENDIF 3056 3072 3057 3073 #endif … … 3099 3115 CHARACTER(LEN=*), INTENT(IN) :: local_nesting_mode !< Nesting mode: 'one-way', 'two-way' or 'vertical' 3100 3116 3117 ! 3118 !-- Debug location message 3119 IF ( debug_output ) THEN 3120 WRITE( debug_string, * ) 'pmci_datatrans' 3121 CALL debug_message( debug_string, 'start' ) 3122 ENDIF 3101 3123 3102 3124 IF ( TRIM( local_nesting_mode ) == 'one-way' ) THEN … … 3133 3155 ENDIF 3134 3156 3157 ENDIF 3158 ! 3159 !-- Debug location message 3160 IF ( debug_output ) THEN 3161 WRITE( debug_string, * ) 'pmci_datatrans' 3162 CALL debug_message( debug_string, 'end' ) 3135 3163 ENDIF 3136 3164 … … 4600 4628 INTEGER(iwp) :: n !< Running index for number of chemical species 4601 4629 4630 ! 4631 !-- Debug location message 4632 IF ( debug_output ) THEN 4633 WRITE( debug_string, * ) 'pmci_boundary_conds' 4634 CALL debug_message( debug_string, 'start' ) 4635 ENDIF 4602 4636 ! 4603 4637 !-- Set Dirichlet boundary conditions for horizontal velocity components … … 4786 4820 ENDIF 4787 4821 ENDIF 4822 ! 4823 !-- Debug location message 4824 IF ( debug_output ) THEN 4825 WRITE( debug_string, * ) 'pmci_boundary_conds' 4826 CALL debug_message( debug_string, 'end' ) 4827 ENDIF 4788 4828 4789 4829 END SUBROUTINE pmci_boundary_conds
Note: See TracChangeset
for help on using the changeset viewer.