Changeset 1322 for palm/trunk/SOURCE/timestep_scheme_steering.f90
- Timestamp:
- Mar 20, 2014 4:38:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/timestep_scheme_steering.f90
r1321 r1322 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! REAL constants defined as wp-kind 23 23 ! 24 24 ! Former revisions: … … 48 48 ONLY: intermediate_timestep_count, timestep_scheme, tsc 49 49 50 USE kinds 51 50 52 IMPLICIT NONE 51 53 … … 57 59 IF ( timestep_scheme == 'runge-kutta-2' ) THEN 58 60 IF ( intermediate_timestep_count == 1 ) THEN 59 tsc(1:5) = (/ 1.0 , 1.0, 0.0, 0.0, 0.0/)61 tsc(1:5) = (/ 1.0_wp, 1.0_wp, 0.0_wp, 0.0_wp, 0.0_wp /) 60 62 ELSE 61 tsc(1:5) = (/ 1.0 , 0.5, -0.5, 0.0, 1.0/)63 tsc(1:5) = (/ 1.0_wp, 0.5_wp, -0.5_wp, 0.0_wp, 1.0_wp /) 62 64 ENDIF 63 65 ELSE 64 66 IF ( intermediate_timestep_count == 1 ) THEN 65 tsc(1:5) = (/ 1.0 , 1.0/3.0, 0.0, 0.0, 0.0/)67 tsc(1:5) = (/ 1.0_wp, 1.0_wp / 3.0_wp, 0.0_wp, 0.0_wp, 0.0_wp /) 66 68 ELSEIF ( intermediate_timestep_count == 2 ) THEN 67 tsc(1:5) = (/ 1.0 , 15.0/16.0, -25.0/48.0, 0.0, 0.0/)69 tsc(1:5) = (/ 1.0_wp, 15.0_wp / 16.0_wp, -25.0_wp/48.0_wp, 0.0_wp, 0.0_wp /) 68 70 ELSE 69 tsc(1:5) = (/ 1.0 , 8.0/15.0, 1.0/15.0, 0.0, 1.0/)71 tsc(1:5) = (/ 1.0_wp, 8.0_wp / 15.0_wp, 1.0_wp/15.0_wp, 0.0_wp, 1.0_wp /) 70 72 ENDIF 71 73 ENDIF … … 74 76 ! 75 77 !-- Euler scheme 76 tsc(1:5) = (/ 1.0 , 1.0, 0.0, 0.0, 1.0/)78 tsc(1:5) = (/ 1.0_wp, 1.0_wp, 0.0_wp, 0.0_wp, 1.0_wp /) 77 79 78 80 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.