Changeset 4829
- Timestamp:
- Jan 6, 2021 10:11:39 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_mod.f90
r4828 r4829 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix in creating error-message string 28 ! 29 ! 4828 2021-01-05 11:21:41Z Giersch 27 30 ! Calculate and store total number of surfaces within the model domain. 28 31 ! … … 943 946 num_def_h(kd) = num_def_h(kd) + 1 944 947 ! 945 !-- Unclassifified surface-grid point. Give error message. 948 !-- Unclassifified surface-grid point. Give error message. Note, in previous 949 !-- versions the error message was generalized using a combination of TRIM 950 !-- and MERGE function. However, due to compile errors with the Cray compiler 951 !-- two seperate error messages are given now. 946 952 ELSE 947 WRITE( message_string, * ) 'Unclassified ', & 948 TRIM(MERGE(' upward','downward',kk==0)), & 949 '-facing surface element at grid point (k,j,i) = ', k, j, i 950 CALL message( 'surface_mod', 'PA0698', 1, 2, myid, 6, 0 ) 953 IF ( kk==0 ) THEN 954 WRITE( message_string, * ) 'Unclassified upward ', & 955 '-facing surface element at grid point (k,j,i) = ', k, j, i 956 CALL message( 'surface_mod', 'PA0698', 1, 2, myid, 6, 0 ) 957 ELSE 958 WRITE( message_string, * ) 'Unclassified downward ', & 959 '-facing surface element at grid point (k,j,i) = ', k, j, i 960 CALL message( 'surface_mod', 'PA0698', 1, 2, myid, 6, 0 ) 961 ENDIF 951 962 ENDIF 952 963 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.