Changeset 4669 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Sep 9, 2020 1:43:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r4668 r4669 25 25 ! ----------------- 26 26 ! $Id$ 27 ! - Fix missing call of radiation after spinup 28 ! - Fix calculation of force_radiation_call 29 ! - Fix calculation of radiation times 30 ! 31 ! 4668 2020-09-09 13:00:16Z pavelkrc 27 32 ! Improve debug messages during timestepping 28 33 ! … … 1194 1199 ! 1195 1200 !-- If required, calculate radiative fluxes and heating rates 1196 IF ( radiation .AND. time_since_reference_point > skip_time_do_radiation ) THEN1201 IF ( radiation .AND. time_since_reference_point >= skip_time_do_radiation ) THEN 1197 1202 1198 1203 time_radiation = time_radiation + dt_3d … … 1202 1207 CALL cpu_log( log_point(50), 'radiation', 'start' ) 1203 1208 1204 IF ( .NOT. force_radiation_call) THEN1209 IF ( time_radiation >= dt_radiation ) THEN 1205 1210 time_radiation = time_radiation - dt_radiation 1206 1211 ENDIF … … 1211 1216 !-- solar positions 1212 1217 time_since_reference_point_save = time_since_reference_point 1213 time_since_reference_point = REAL( FLOOR( time_since_reference_point /&1214 dt_radiation ), wp ) * dt_radiation1218 time_since_reference_point = time_since_reference_point - & 1219 MODULO(time_since_reference_point, dt_radiation) 1215 1220 1216 1221 CALL radiation_control … … 1225 1230 !-- Return the current time to its original value 1226 1231 time_since_reference_point = time_since_reference_point_save 1232 ! 1233 !-- Reset forcing of radiation call 1234 force_radiation_call = .FALSE. 1227 1235 1228 1236 CALL cpu_log( log_point(50), 'radiation', 'stop' )
Note: See TracChangeset
for help on using the changeset viewer.