Changeset 4157 for palm/trunk
- Timestamp:
- Aug 14, 2019 9:19:12 AM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/chem_emissions_mod.f90
r4154 r4157 27 27 ! ----------------- 28 28 ! $Id$ 29 ! Replace global arrays also in mode_emis branch 30 ! 31 ! 4154 2019-08-13 13:35:59Z suehring 29 32 ! Replace global arrays for emissions by local ones. 30 33 ! … … 899 902 900 903 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 901 ALLOCATE( emis_distribution(1, 0:ny,0:nx,n_matched_vars) )904 ALLOCATE( emis_distribution(1,nys:nyn,nxl:nxr,n_matched_vars) ) 902 905 ENDIF 903 906 … … 907 910 908 911 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 909 ALLOCATE( emis_distribution(1, 0:ny,0:nx,n_matched_vars) )912 ALLOCATE( emis_distribution(1,nys:nyn,nxl:nxr,n_matched_vars) ) 910 913 ENDIF 911 914 … … 915 918 916 919 IF ( .NOT. ALLOCATED( emis_distribution) ) THEN 917 ALLOCATE( emis_distribution(nzb:nzt+1, 0:ny,0:nx,n_matched_vars) )920 ALLOCATE( emis_distribution(nzb:nzt+1,nys:nyn,nxl:nxr,n_matched_vars) ) 918 921 ENDIF 919 922 -
palm/trunk/SOURCE/diagnostic_output_quantities_mod.f90
r4132 r4157 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Initialization restructured, in order to work also when data output during 28 ! spin-up is enabled. 29 ! 30 ! 4132 2019-08-02 12:34:17Z suehring 27 31 ! Bugfix in masked data output 28 32 ! … … 158 162 doq_output_mask, & 159 163 doq_init, & 160 doq_prepare, &161 164 doq_wrd_local 162 165 ! doq_rrd_local, & … … 816 819 817 820 INTEGER(iwp) :: ivar !< loop index over all 2d/3d/mask output quantities 821 818 822 ! 819 823 !-- Next line is to avoid compiler warnings about unused variables 820 824 IF ( timestep_number_at_prev_calc == 0 ) CONTINUE 825 ! 826 !-- Preparatory steps and initialization of output arrays 827 IF ( .NOT. prepared_diagnostic_output_quantities ) CALL doq_prepare 821 828 822 829 initialized_diagnostic_output_quantities = .FALSE. … … 882 889 883 890 ! CALL cpu_log( log_point(41), 'calculate_quantities', 'start' ) 884 ! 885 !-- Preparatory steps and initialization of output arrays 886 IF ( .NOT. prepared_diagnostic_output_quantities ) CALL doq_prepare 887 IF ( .NOT. initialized_diagnostic_output_quantities ) CALL doq_init 891 888 892 ! 889 893 !-- Save timestep number to check in time_integration if doq_calculate -
palm/trunk/SOURCE/module_interface.f90
r4132 r4157 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Call doq_init from module interface 28 ! 29 ! 4132 2019-08-02 12:34:17Z suehring 27 30 ! Bugfix in masked data output for diagnostic quantities 28 31 ! … … 270 273 doq_check_data_output, & 271 274 doq_define_netcdf_grid, & 275 doq_init, & 272 276 doq_output_2d, & 273 277 doq_output_3d, & … … 1030 1034 IF ( radiation ) CALL radiation_init 1031 1035 1036 CALL doq_init 1037 1032 1038 IF ( user_module_enabled ) CALL user_init 1033 1039 -
palm/trunk/SOURCE/radiation_model_mod.f90
r4148 r4157 28 28 ! ----------------- 29 29 ! $Id$ 30 ! Give informative message on raytracing distance only by core zero 31 ! 32 ! 4148 2019-08-08 11:26:00Z suehring 30 33 ! Comments added 31 34 ! … … 6301 6304 WRITE(message_string, '(a,f6.1)') 'Max_raytracing_dist is set less than ' // & 6302 6305 'double the urban surface layer height, i.e. ', mrl 6303 CALL message('radiation_interaction_init', 'PA0521', 0, 0, -1, 6, 0)6306 CALL message('radiation_interaction_init', 'PA0521', 0, 0, 0, 6, 0 ) 6304 6307 ENDIF 6305 6308 ! IF ( max_raytracing_dist <= mrl ) THEN
Note: See TracChangeset
for help on using the changeset viewer.