Changeset 159 for palm/trunk/SOURCE/user_interface.f90
- Timestamp:
- Apr 9, 2008 8:06:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/user_interface.f90
r156 r159 86 86 CHARACTER (LEN=80) :: zeile 87 87 88 INTEGER :: i, j 88 INTEGER :: i, j, max_pr_user_tmp 89 89 90 90 … … 111 111 !-- Determine the number of user-defined profiles and append them to the 112 112 !-- standard data output (data_output_pr) 113 max_pr_user_tmp = 0 113 114 IF ( data_output_pr_user(1) /= ' ' ) THEN 114 115 i = 1 … … 119 120 DO WHILE ( data_output_pr_user(j) /= ' ' .AND. j <= 100 ) 120 121 data_output_pr(i) = data_output_pr_user(j) 121 max_pr_user = max_pr_user+ 1122 max_pr_user_tmp = max_pr_user_tmp + 1 122 123 i = i + 1 123 124 j = j + 1 124 125 ENDDO 126 ENDIF 127 128 ! 129 !-- In case of a restart run, the number of user-defined profiles on the 130 !-- restart file (already stored in max_pr_user) has to match the one given 131 !-- for the current run 132 IF ( TRIM( initializing_actions ) == 'read_restart_data' ) THEN 133 IF ( max_pr_user /= max_pr_user_tmp ) THEN 134 PRINT*, '+++ user_parin: the number of user-defined profiles given in' 135 PRINT*, ' data_output_pr (', max_pr_user_tmp, ' doe', & 136 's not match the one' 137 PRINT*, ' found in the restart file (', max_pr_user, & 138 ')' 139 CALL local_stop 140 ENDIF 141 ELSE 142 max_pr_user = max_pr_user_tmp 125 143 ENDIF 126 144
Note: See TracChangeset
for help on using the changeset viewer.