Changeset 2697 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Nov 2, 2016, 10:45:49 PM (8 years ago)
Author:
oboucher
Message:

Correcting declaration of ZUE and ZUE2 and one vector calculation

File:
1 edited

Legend:

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

    r2681 r2697  
    7070INTEGER                         :: JWL, INU    ! indexes
    7171REAL                            :: ZWL         ! input parameter: wavelength and diffuse/direct fraction of light
    72 REAL:: ZCHLABS, ZAW, ZBW, ZREFM, ZYLMD        ! scalar computation variables
     72REAL:: ZCHLABS, ZAW, ZBW, ZREFM, ZYLMD, ZUE, ZUE2 ! scalar computation variables
    7373!
    7474REAL, DIMENSION(klon) :: ZAP, ZXX2, ZR00, ZRR0, ZRRR               ! computation variables
    75 REAL, DIMENSION(klon) :: ZR22, ZUE, ZUE2, ZR11DF, ZALBT            ! computation variables
     75REAL, DIMENSION(klon) :: ZR22, ZR11DF                              ! computation variables
    7676REAL, DIMENSION(klon) :: ZBBP, ZNU, ZHB                            ! computation variables
    7777REAL, DIMENSION(klon) :: ZR11, ZRW, ZRWDF, ZRDF                    ! 4 components of the OSA
     
    156156  WHERE ( ZCHL(1:knon) > 0.02 )
    157157    ZNU(:)=MIN(0.0,0.5*(ZWORK3(:)-0.3))
    158     ZBBP(:)=(0.002+0.01*(0.5-0.25*ZWORK3(:))*(ZWL/550.)**ZNU)*ZWORK2(:)
     158    ZBBP(:)=(0.002+0.01*(0.5-0.25*ZWORK3(:))*(ZWL/550.)**ZNU(:))*ZWORK2(:)
    159159  ELSEWHERE
    160160    ZBBP(:)=0.019*(550./ZWL)*ZWORK2(:)       !ZBBPf=0.0113 at chl<=0.02
Note: See TracChangeset for help on using the changeset viewer.