Ignore:
Timestamp:
Aug 17, 2006, 5:41:51 PM (18 years ago)
Author:
Laurent Fairhead
Message:

Inclusion des modifs de Y. Meurdesoif pour la version V3
LF

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ4/branches/V3_test/libf/phylmd/calltherm.F

    r566 r704  
    88     s      ,fm_therm,entr_therm)
    99
     10      USE dimphy
    1011      implicit none
    11 #include "dimensions.h"
    12 #include "dimphy.h"
     12cym#include "dimensions.h"
     13cym#include "dimphy.h"
    1314#include "thermcell.h"
    1415
     
    3536      REAL d_u_the(klon,klev),d_v_the(klon,klev)
    3637c
    37       real zfm_therm(klon,klev+1),zentr_therm(klon,klev),zdt
    38       save zentr_therm,zfm_therm
    39 
     38cym      real zfm_therm(klon,klev+1),zentr_therm(klon,klev),zdt
     39cym      save zentr_therm,zfm_therm
     40      real,allocatable,dimension(:,:),save :: zfm_therm,zentr_therm
     41c$OMP THREADPRIVATE(zfm_therm,zentr_therm)
     42      real :: zdt
     43      logical,save :: first=.true.
     44c$OMP THREADPRIVATE(first)
    4045      integer i,k
    4146
     
    4752       print*,'avant isplit ',nsplit_thermals
    4853
    49 
     54cym initialisation dynamique
     55         if (first) then
     56           allocate(zfm_therm(klon,klev+1),zentr_therm(klon,klev))
     57           zfm_therm(:,:)=0.
     58           zentr_therm(:,:)=0.
     59           first=.false.
     60         endif
     61         
    5062         fm_therm(:,:)=0.
    5163         entr_therm(:,:)=0.
Note: See TracChangeset for help on using the changeset viewer.