Ignore:
Timestamp:
Oct 8, 2014, 9:26:28 AM (10 years ago)
Author:
slebonnois
Message:

SL: update to newstart/start2archive tools in Venus+Titan / additional diagnostics in radiative fluxes for Titan

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.TITAN/libf/phytitan/phys_state_var_mod.F90

    r1056 r1356  
    5151! toplwdown : downward CS LW flux at TOA
    5252! toplwdownclr : downward CS LW flux at TOA
    53       REAL,ALLOCATABLE,SAVE :: swnet(:,:)   
    54 !$OMP THREADPRIVATE(swnet)
    55       REAL,ALLOCATABLE,SAVE :: lwnet(:,:)   
    56 !$OMP THREADPRIVATE(lwnet)
     53! swnet,swdn,lwdn: + downward
     54! lwnet,swup,lwup: + upward
     55      REAL,ALLOCATABLE,SAVE :: swnet(:,:),swup(:,:),swdn(:,:)   
     56!$OMP THREADPRIVATE(swnet,swup,swdn)
     57      REAL,ALLOCATABLE,SAVE :: lwnet(:,:),lwup(:,:),lwdn(:,:)
     58!$OMP THREADPRIVATE(lwnet,lwup,lwdn)
    5759      REAL,ALLOCATABLE,SAVE :: heat(:,:)   
    5860!$OMP THREADPRIVATE(heat)
     
    124126!
    125127      ALLOCATE(swnet(klon,klev+1), lwnet(klon,klev+1))
     128      ALLOCATE(swup(klon,klev+1), lwup(klon,klev+1))
     129      ALLOCATE(swdn(klon,klev+1), lwdn(klon,klev+1))
    126130      ALLOCATE(heat(klon,klev), heat0(klon,klev))
    127131      ALLOCATE(cool(klon,klev), cool0(klon,klev))
     
    152156      deallocate(zuthe, zvthe)
    153157      deallocate(swnet, lwnet)
     158      deallocate(swup, lwup)
     159      deallocate(swdn, lwdn)
    154160      deallocate(heat, heat0)
    155161      deallocate(cool, cool0)
Note: See TracChangeset for help on using the changeset viewer.