Changeset 96 for palm/trunk/SOURCE/prognostic_equations.f90
- Timestamp:
- Jun 4, 2007 8:07:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r95 r96 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! prognostic equation for salinity 7 ! new argument zw in calls of diffusion_e 6 ! prognostic equation for salinity, density is calculated from equation of 7 ! state for seawater, +eqn_state_seawater_mod 8 ! new argument zw in calls of diffusion_e, calc_mean_pt_profile renamed 9 ! calc_mean_profile 8 10 ! 9 11 ! Former revisions: … … 41 43 USE control_parameters 42 44 USE cpulog 45 USE eqn_state_seawater_mod 43 46 USE grid_variables 44 47 USE indices … … 107 110 !-- Calculate those variables needed in the tendency terms which need 108 111 !-- global communication 109 CALL calc_mean_pt_profile( pt, 4 ) 110 IF ( humidity ) CALL calc_mean_pt_profile( vpt, 44 ) 112 CALL calc_mean_profile( pt, 4 ) 113 IF ( ocean ) CALL calc_mean_profile( rho, 64 ) 114 IF ( humidity ) CALL calc_mean_profile( vpt, 44 ) 111 115 112 116 ! … … 495 499 ENDIF 496 500 ENDIF 501 502 ! 503 !-- Calculate density by the equation of state for seawater 504 CALL eqn_state_seawater( i, j ) 497 505 498 506 ENDDO … … 758 766 !-- Calculate those variables needed in the tendency terms which need 759 767 !-- global communication 760 CALL calc_mean_pt_profile( pt, 4 ) 761 IF ( humidity ) CALL calc_mean_pt_profile( vpt, 44 ) 768 CALL calc_mean_profile( pt, 4 ) 769 IF ( ocean ) CALL calc_mean_profile( rho, 64 ) 770 IF ( humidity ) CALL calc_mean_profile( vpt, 44 ) 762 771 IF ( .NOT. constant_diffusion ) CALL production_e_init 763 772 … … 1020 1029 ENDIF 1021 1030 ENDIF 1031 1032 ! 1033 !-- Calculate density by the equation of state for seawater 1034 CALL eqn_state_seawater( i, j ) 1022 1035 1023 1036 ENDIF … … 1178 1191 !-- Calculate those variables needed in the tendency terms which need 1179 1192 !-- global communication 1180 CALL calc_mean_pt_profile( pt, 4 ) 1181 IF ( humidity ) CALL calc_mean_pt_profile( vpt, 44 ) 1193 CALL calc_mean_profile( pt, 4 ) 1194 IF ( ocean ) CALL calc_mean_profile( rho, 64 ) 1195 IF ( humidity ) CALL calc_mean_profile( vpt, 44 ) 1182 1196 1183 1197 ! … … 1589 1603 1590 1604 CALL cpu_log( log_point(37), 'sa-equation', 'stop' ) 1605 1606 ! 1607 !-- Calculate density by the equation of state for seawater 1608 CALL cpu_log( log_point(38), 'eqns-seawater', 'start' ) 1609 CALL eqn_state_seawater 1610 CALL cpu_log( log_point(38), 'eqns-seawater', 'stop' ) 1591 1611 1592 1612 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.