- Timestamp:
- Jul 24, 2017 3:57:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/surface_layer_fluxes_mod.f90
r2299 r2321 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix: Correct index in lookup table for Obukhov length 28 ! 29 ! 2299 2017-06-29 10:14:38Z suehring 27 30 ! Adjusted for allow separate spinups of LSM and atmosphere code 28 31 ! … … 1346 1349 !-- correct direction 1347 1350 li = li_bnd 1348 IF ( rib_tab(li) - surf%rib(m) > 1.0_wp ) THEN1349 DO WHILE ( rib_tab(li-1) - surf%rib(m) > 1.0_wp .AND. li > 1)1351 IF ( rib_tab(li) - surf%rib(m) > 0.0_wp ) THEN 1352 DO WHILE ( rib_tab(li-1) - surf%rib(m) > 0.0_wp .AND. li > 0 ) 1350 1353 li = li-1 1351 1354 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.