Changeset 63 for palm/trunk/SOURCE/prognostic_equations.f90
- Timestamp:
- Mar 13, 2007 3:52:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r57 r63 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! z0 removed from arguments in calls of diffusion_u/v/w 6 ! z0 removed from arguments in calls of diffusion_u/v/w, 7 ! subroutine names changed to .._noopt, .._cache, and .._vector 7 8 ! 8 9 ! Former revisions: … … 63 64 64 65 PRIVATE 65 PUBLIC prognostic_equations , prognostic_equations_fast, &66 prognostic_equations_vec 67 68 INTERFACE prognostic_equations 69 MODULE PROCEDURE prognostic_equations 70 END INTERFACE prognostic_equations 71 72 INTERFACE prognostic_equations_ fast73 MODULE PROCEDURE prognostic_equations_ fast74 END INTERFACE prognostic_equations_ fast75 76 INTERFACE prognostic_equations_vec 77 MODULE PROCEDURE prognostic_equations_vec 78 END INTERFACE prognostic_equations_vec 66 PUBLIC prognostic_equations_noopt, prognostic_equations_cache, & 67 prognostic_equations_vector 68 69 INTERFACE prognostic_equations_noopt 70 MODULE PROCEDURE prognostic_equations_noopt 71 END INTERFACE prognostic_equations_noopt 72 73 INTERFACE prognostic_equations_cache 74 MODULE PROCEDURE prognostic_equations_cache 75 END INTERFACE prognostic_equations_cache 76 77 INTERFACE prognostic_equations_vector 78 MODULE PROCEDURE prognostic_equations_vector 79 END INTERFACE prognostic_equations_vector 79 80 80 81 … … 82 83 83 84 84 SUBROUTINE prognostic_equations 85 SUBROUTINE prognostic_equations_noopt 85 86 86 87 !------------------------------------------------------------------------------! … … 615 616 616 617 617 END SUBROUTINE prognostic_equations 618 619 620 SUBROUTINE prognostic_equations_ fast618 END SUBROUTINE prognostic_equations_noopt 619 620 621 SUBROUTINE prognostic_equations_cache 621 622 622 623 !------------------------------------------------------------------------------! … … 996 997 997 998 998 END SUBROUTINE prognostic_equations_ fast999 1000 1001 SUBROUTINE prognostic_equations_vec 999 END SUBROUTINE prognostic_equations_cache 1000 1001 1002 SUBROUTINE prognostic_equations_vector 1002 1003 1003 1004 !------------------------------------------------------------------------------! … … 1242 1243 ! 1243 1244 !-- pt-tendency terms with communication 1245 sat = tsc(1) 1246 sbt = tsc(2) 1244 1247 IF ( scalar_advec == 'bc-scheme' ) THEN 1245 ! 1246 !-- Bott-Chlond scheme always uses Euler time step. Thus: 1247 sat = 1.0 1248 sbt = 1.0 1248 1249 IF ( timestep_scheme(1:5) /= 'runge' ) THEN 1250 ! 1251 !-- Bott-Chlond scheme always uses Euler time step when leapfrog is 1252 !-- switched on. Thus: 1253 sat = 1.0 1254 sbt = 1.0 1255 ENDIF 1249 1256 tend = 0.0 1250 1257 CALL advec_s_bc( pt, 'pt' ) 1251 1258 ELSE 1252 sat = tsc(1)1253 sbt = tsc(2)1254 1259 IF ( tsc(2) /= 2.0 .AND. scalar_advec == 'ups-scheme' ) THEN 1255 1260 tend = 0.0 … … 1340 1345 ! 1341 1346 !-- Scalar/q-tendency terms with communication 1347 sat = tsc(1) 1348 sbt = tsc(2) 1342 1349 IF ( scalar_advec == 'bc-scheme' ) THEN 1343 ! 1344 !-- Bott-Chlond scheme always uses Euler time step. Thus: 1345 sat = 1.0 1346 sbt = 1.0 1350 1351 IF ( timestep_scheme(1:5) /= 'runge' ) THEN 1352 ! 1353 !-- Bott-Chlond scheme always uses Euler time step when leapfrog is 1354 !-- switched on. Thus: 1355 sat = 1.0 1356 sbt = 1.0 1357 ENDIF 1347 1358 tend = 0.0 1348 1359 CALL advec_s_bc( q, 'q' ) 1349 1360 ELSE 1350 sat = tsc(1)1351 sbt = tsc(2)1352 1361 IF ( tsc(2) /= 2.0 ) THEN 1353 1362 IF ( scalar_advec == 'ups-scheme' ) THEN … … 1438 1447 !-- TKE-tendency terms with communication 1439 1448 CALL production_e_init 1449 1450 sat = tsc(1) 1451 sbt = tsc(2) 1440 1452 IF ( .NOT. use_upstream_for_tke ) THEN 1441 1453 IF ( scalar_advec == 'bc-scheme' ) THEN 1442 ! 1443 !-- Bott-Chlond scheme always uses Euler time step. Thus: 1444 sat = 1.0 1445 sbt = 1.0 1454 1455 IF ( timestep_scheme(1:5) /= 'runge' ) THEN 1456 ! 1457 !-- Bott-Chlond scheme always uses Euler time step when leapfrog is 1458 !-- switched on. Thus: 1459 sat = 1.0 1460 sbt = 1.0 1461 ENDIF 1446 1462 tend = 0.0 1447 1463 CALL advec_s_bc( e, 'e' ) 1448 1464 ELSE 1449 sat = tsc(1)1450 sbt = tsc(2)1451 1465 IF ( tsc(2) /= 2.0 ) THEN 1452 1466 IF ( scalar_advec == 'ups-scheme' ) THEN … … 1550 1564 1551 1565 1552 END SUBROUTINE prognostic_equations_vec 1566 END SUBROUTINE prognostic_equations_vector 1553 1567 1554 1568
Note: See TracChangeset
for help on using the changeset viewer.