- Timestamp:
- Aug 30, 2018 4:06:58 PM (6 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/header.f90
r3083 r3224 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Increase printed length of run identifier 23 23 ! 24 24 ! Former revisions: … … 2057 2057 101 FORMAT (35X,'coupled run: ',A/ & 2058 2058 35X,42('-')) 2059 102 FORMAT (/' Date: ',A8,4X,'Run: ',A 20/ &2059 102 FORMAT (/' Date: ',A8,4X,'Run: ',A34/ & 2060 2060 ' Time: ',A8,4X,'Run-No.: ',I2.2/ & 2061 2061 ' Run on host: ',A10) … … 2477 2477 511 FORMAT (' Sedimentation Courant number: '/& 2478 2478 ' C_s =',F4.1,' ') 2479 512 FORMAT (/' Date: ',A8,6X,'Run: ',A 20/ &2479 512 FORMAT (/' Date: ',A8,6X,'Run: ',A34/ & 2480 2480 ' Time: ',A8,6X,'Run-No.: ',I2.2/ & 2481 2481 ' Run on host: ',A10,6X,'En-No.: ',I2.2) -
palm/trunk/SOURCE/progress_bar_mod.f90
r2726 r3224 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Increase printed length of run identifier, 23 ! bugfix for restarts 23 24 ! 24 25 ! Former revisions: … … 61 62 62 63 USE control_parameters, & 63 ONLY : end_time, run_identifier, simulated_time,&64 ONLY : end_time, initializing_actions, run_identifier, simulated_time, & 64 65 simulated_time_at_begin, spinup_time, time_restart 65 66 … … 106 107 time_restart > simulated_time_at_begin ) THEN 107 108 time_to_be_simulated = time_restart - simulated_time_at_begin 109 ELSEIF ( initializing_actions == 'read_restart_data' ) THEN 110 time_to_be_simulated = end_time - simulated_time_at_begin 108 111 ELSE 109 112 time_to_be_simulated = end_time - simulated_time_at_begin & … … 114 117 115 118 CALL check_open ( 117 ) 116 WRITE ( 117, FMT='(A 20,/)' ) run_identifier119 WRITE ( 117, FMT='(A34,/)' ) run_identifier 117 120 118 121 ELSE … … 156 159 IF ( .NOT. initialized ) CALL init_progress_bar 157 160 158 159 remaining_time_in_percent = & 160 ( simulated_time - simulated_time_at_begin - spinup_time ) & 161 / time_to_be_simulated 162 163 remaining_time_in_percent_total = ( ( simulated_time - spinup_time ) & 164 / ( end_time - spinup_time ) ) 161 IF ( initializing_actions == 'read_restart_data' ) THEN 162 remaining_time_in_percent = & 163 ( simulated_time - simulated_time_at_begin ) & 164 / time_to_be_simulated 165 166 remaining_time_in_percent_total = simulated_time / end_time 167 ELSE 168 remaining_time_in_percent = & 169 ( simulated_time - simulated_time_at_begin - spinup_time ) & 170 / time_to_be_simulated 171 172 remaining_time_in_percent_total = ( ( simulated_time - spinup_time ) & 173 / ( end_time - spinup_time ) ) 174 ENDIF 165 175 166 176 !
Note: See TracChangeset
for help on using the changeset viewer.