Changeset 1418 for palm/trunk/SOURCE
- Timestamp:
- Jun 6, 2014 1:05:08 PM (10 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_grid.f90
r1410 r1418 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Bugfix: Change if-condition for stretched grid in the ocean, with the old 23 ! condition and a negative value for dz_stretch_level the condition 24 ! was always true for the whole model domain 23 25 ! 24 26 ! Former revisions: … … 272 274 dz_stretched = dz 273 275 DO k = nzt-1, 0, -1 274 IF ( dz_stretch_level <= ABS( zu(k+1) ) .AND. & 275 dz_stretched < dz_max ) THEN 276 ! 277 !-- The default value of dz_stretch_level is positive, thus the first 278 !-- condition is always true. Hence, the second condition is necessary. 279 IF ( dz_stretch_level >= zu(k+1) .AND. dz_stretch_level <= 0.0 & 280 .AND. dz_stretched < dz_max ) THEN 276 281 dz_stretched = dz_stretched * dz_stretch_factor 277 282 dz_stretched = MIN( dz_stretched, dz_max ) -
palm/trunk/SOURCE/surface_coupler.f90
r1354 r1418 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! Bugfix: For caluclation of the salinity flux at the sea surface, 23 ! the given value for salinity must be in percent and not in psu 23 24 ! 24 25 ! Former revisions: … … 400 401 !-- following Steinhorn (1991), JPO 21, pp. 1681-1683: 401 402 !-- S'w' = -S * evaporation / ( rho_water * ( 1 - S ) ) 402 saswst = -1.0_wp * sa(nzt,:,:) * qswst_remote / &403 ( rho(nzt,:,:) * ( 1.0_wp - sa(nzt,:,:) ) )403 saswst = -1.0_wp * sa(nzt,:,:) * 0.001 * qswst_remote / & 404 ( rho(nzt,:,:) * ( 1.0_wp - sa(nzt,:,:) * 0.001 ) ) 404 405 ENDIF 405 406
Note: See TracChangeset
for help on using the changeset viewer.