Ignore:
Timestamp:
Jan 8, 2015, 5:59:24 PM (9 years ago)
Author:
lguez
Message:

Bug fix. This modification should have been done in revision 1068. The
bug was only for cycle_diurne false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/surf_ocean_mod.F90

    r2057 r2178  
    3333
    3434    INCLUDE "YOMCST.h"
     35
     36    include "clesphys.h"
     37    ! for cycle_diurne
    3538
    3639! Input variables
     
    152155!
    153156!****************************************************************************************
    154     IF ( MINVAL(rmu0) == MAXVAL(rmu0) .AND. MINVAL(rmu0) == -999.999 ) THEN
     157    IF (cycle_diurne) THEN
     158       CALL alboc_cd(rmu0,alb_eau)
     159    ELSE
    155160       CALL alboc(REAL(jour),rlat,alb_eau)
    156     ELSE  ! diurnal cycle
    157        CALL alboc_cd(rmu0,alb_eau)
    158161    ENDIF
    159162
Note: See TracChangeset for help on using the changeset viewer.