Changeset 3014 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- May 9, 2018 8:42:38 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/time_integration.f90
r3004 r3014 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Fixed bug in IF statement 28 ! Ensure that the time when calling the radiation to be the time step of the 29 ! pre-calculated time when first calculate the positions of the sun 30 ! 31 ! 3004 2018-04-27 12:33:25Z Giersch 27 32 ! First call of flow_statistics has been removed. It is already called in 28 33 ! run_control itself … … 491 496 492 497 CHARACTER (LEN=9) :: time_to_string !< 493 INTEGER :: n 494 INTEGER :: lsp 498 INTEGER(iwp) :: it 499 INTEGER(iwp) :: lsp 500 INTEGER(iwp) :: n 501 495 502 496 503 REAL(wp) :: dt_3d_old !< temporary storage of timestep to be used for 497 504 !< steering of run control output interval 505 REAL(wp) :: tsrp_org !< original value of time_since_reference_point 498 506 ! 499 507 !-- At beginning determine the first time step … … 1040 1048 ENDIF 1041 1049 1050 ! 1051 !-- Adjust the current_ time to the time step of the radiation model. 1052 !-- Needed since radiation is pre-calculated and stored only on apparent 1053 !-- solar positions 1054 it = FLOOR(time_since_reference_point/dt_radiation) 1055 tsrp_org = time_since_reference_point 1056 time_since_reference_point = REAL(it,wp) * dt_radiation 1057 1042 1058 CALL radiation_control 1043 1059 … … 1050 1066 CALL cpu_log( log_point(75), 'radiation_interaction', 'stop' ) 1051 1067 ENDIF 1068 1069 ! 1070 !-- Return the current time to its original value 1071 time_since_reference_point = tsrp_org 1052 1072 1053 1073 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.