Changeset 2719 for LMDZ5/trunk


Ignore:
Timestamp:
Nov 29, 2016, 10:56:32 PM (8 years ago)
Author:
fhourdin
Message:

Correction d'une commission du jour

File:
1 edited

Legend:

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

    r2718 r2719  
    104104!
    105105!******************************************************************************
    106     radsol(1:knon) = 0.0
     106    radsol(1:klon) = 0.0 ! initialisation a priori inutile
    107107    radsol(1:knon) = swnet(1:knon) + lwnet(1:knon)
    108108
     
    169169!******************************************************************************
    170170    IF (type_ocean.NE.'slab') THEN
    171         lmt_bils(1:knon)=0.
     171        lmt_bils(1:klon)=0.
    172172        DO i=1,knon
    173173           lmt_bils(knindex(i))=(swnet(i)+lwnet(i)+fluxsens(i)+fluxlat(i)) &
     
    220220!--ad-hoc correction for model radiative balance tuning
    221221    alb_dir_new(1:knon,:) = fmagic*alb_dir_new(1:knon,:) + pmagic
     222    alb_dif_new(1:knon,:) = fmagic*alb_dif_new(1:knon,:) + pmagic
    222223    alb_dir_new(1:knon,:)=MIN(MAX(alb_dir_new(1:knon,:),0.0),1.0)
    223224    alb_dif_new(1:knon,:)=MIN(MAX(alb_dif_new(1:knon,:),0.0),1.0)
Note: See TracChangeset for help on using the changeset viewer.