Changeset 704 for LMDZ4/branches/V3_test/libf/phylmd/calltherm.F
- Timestamp:
- Aug 17, 2006, 5:41:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/V3_test/libf/phylmd/calltherm.F
r566 r704 8 8 s ,fm_therm,entr_therm) 9 9 10 USE dimphy 10 11 implicit none 11 #include "dimensions.h"12 #include "dimphy.h"12 cym#include "dimensions.h" 13 cym#include "dimphy.h" 13 14 #include "thermcell.h" 14 15 … … 35 36 REAL d_u_the(klon,klev),d_v_the(klon,klev) 36 37 c 37 real zfm_therm(klon,klev+1),zentr_therm(klon,klev),zdt 38 save zentr_therm,zfm_therm 39 38 cym real zfm_therm(klon,klev+1),zentr_therm(klon,klev),zdt 39 cym save zentr_therm,zfm_therm 40 real,allocatable,dimension(:,:),save :: zfm_therm,zentr_therm 41 c$OMP THREADPRIVATE(zfm_therm,zentr_therm) 42 real :: zdt 43 logical,save :: first=.true. 44 c$OMP THREADPRIVATE(first) 40 45 integer i,k 41 46 … … 47 52 print*,'avant isplit ',nsplit_thermals 48 53 49 54 cym 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 50 62 fm_therm(:,:)=0. 51 63 entr_therm(:,:)=0.
Note: See TracChangeset
for help on using the changeset viewer.