Changeset 634 for LMDZ4/branches/LMDZ4_par_0/libf/phylmd/soil.F
- Timestamp:
- May 4, 2005, 5:11:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4_par_0/libf/phylmd/soil.F
r524 r634 4 4 SUBROUTINE soil(ptimestep, indice, knon, snow, ptsrf, ptsoil, 5 5 s pcapcal, pfluxgrd) 6 use dimphy 6 7 IMPLICIT NONE 7 8 … … 49 50 c ------------- 50 51 51 #include "dimensions.h"52 cym#include "dimensions.h" 52 53 #include "YOMCST.h" 53 #include "dimphy.h"54 cym#include "dimphy.h" 54 55 #include "dimsoil.h" 55 56 #include "indicesol.h" … … 78 79 REAL dz1(nsoilmx),dz2(nsoilmx) 79 80 c$$$ REAL zc(klon,nsoilmx),zd(klon,nsoilmx) 80 REAL zc(klon,nsoilmx,nbsrf),zd(klon,nsoilmx,nbsrf) 81 cym REAL zc(klon,nsoilmx,nbsrf),zd(klon,nsoilmx,nbsrf) 82 REAL,ALLOCATABLE,SAVE :: zc(:,:,:),zd(:,:,:) 81 83 REAL lambda 82 SAVE dz1,dz2,zc,zd,lambda 84 cym SAVE dz1,dz2,zc,zd,lambda 85 SAVE dz1,dz2,lambda 83 86 LOGICAL firstcall, firstsurf(nbsrf) 84 87 SAVE firstcall, firstsurf … … 90 93 91 94 DATA isol,isno,iice/2000.,2000.,2000./ 92 95 LOGICAL,SAVE :: First=.true. 93 96 c----------------------------------------------------------------------- 94 97 c Depthts: … … 103 106 c on corrige si on a un point de terre avec ou sans glace 104 107 c 108 IF (first) THEN 109 allocate(zc(klon,nsoilmx,nbsrf),zd(klon,nsoilmx,nbsrf)) 110 first=.false. 111 ENDIF 112 105 113 IF (indice.EQ.is_sic) THEN 106 114 DO ig = 1, knon
Note: See TracChangeset
for help on using the changeset viewer.