Ignore:
Timestamp:
Sep 27, 2021, 10:23:28 PM (3 years ago)
Author:
oboucher
Message:

Initialisation of swaero_diag and ok_4xCO2atm needed to be revamped now that output variables are defined before the call to radlwsw.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmd/physiq_mod.F90

    r3981 r3987  
    41984198 
    41994199#ifndef CPP_XIOS
    4200           !--OB 30/05/2016 modified 21/10/2016
    4201           !--here we return swaero_diag and dryaod_diag to FALSE
    4202           !--and histdef will switch it back to TRUE if necessary
    4203           !--this is necessary to get the right swaero at first step
    4204           !--but only in the case of no XIOS as XIOS is covered elsewhere
    4205           IF (debut) swaerofree_diag = .FALSE.
    4206           IF (debut) swaero_diag = .FALSE.
    4207           IF (debut) dryaod_diag = .FALSE.
    4208           !--IM 15/09/2017 here we return ok_4xCO2atm to FALSE
    4209           !--as for swaero_diag, see above
    4210           IF (debut) ok_4xCO2atm = .FALSE.
    4211 
    4212           !
     4200
    42134201          !IM 2eme calcul radiatif pour le cas perturbe ou au moins un
    42144202          !IM des taux doit etre different du taux actuel
     
    42734261                     ZLWFT0_i, ZFLDN0, ZFLUP0, &
    42744262                     ZSWFT0_i, ZFSDN0, ZFSUP0)
    4275           endif !ok_4xCO2atm
     4263          ENDIF !ok_4xCO2atm
    42764264       ENDIF ! aerosol_couple
    42774265       itaprad = 0
Note: See TracChangeset for help on using the changeset viewer.