Changeset 1047 for trunk/LMDZ.MARS/libf/phymars/dustdevil.F
- Timestamp:
- Sep 23, 2013, 9:56:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/dustdevil.F
r1036 r1047 3 3 4 4 use tracer_mod, only: alpha_devil 5 use surfdat_h, only: z0_default 5 6 IMPLICIT NONE 6 7 … … 28 29 c ------------- 29 30 30 #include "dimensions.h"31 #include "dimphys.h"31 !#include "dimensions.h" 32 !#include "dimphys.h" 32 33 #include "comcstfi.h" 33 34 c#include "comconst.h" ! TEMPORAIRE AVEC ANLDEVIL !!!! 34 #include "surfdat.h"35 #include "comgeomfi.h"35 !#include "surfdat.h" 36 !#include "comgeomfi.h" 36 37 !#include "tracer.h" 37 38 c arguments: … … 62 63 63 64 64 REAL devila(ngrid mx)65 integer ltop(ngrid mx)65 REAL devila(ngrid) 66 integer ltop(ngrid) 66 67 real b,rho,Fs,wind 67 68 … … 77 78 78 79 c TEMPORAIRE AVEC ANLDEVIL : ************* 79 c real b_diag(ngrid mx)80 c real localtime(ngrid mx)80 c real b_diag(ngrid) 81 c real localtime(ngrid) 81 82 c common/temporaire/localtime 82 c real ztop(ngrid mx),magwind(ngridmx),t1(ngridmx)83 c real ztop(ngrid),magwind(ngrid),t1(ngrid) 83 84 c real rcp ,cpp 84 85 c rcp = kappa … … 95 96 write(*,*) 'In dustdevil :' 96 97 write(*,*) ' q2top= ',q2top,' seuil= ', seuil 97 c un petit test de coherence:98 IF(ngrid.NE.ngridmx) THEN99 PRINT*,'STOP dans coefdifv'100 PRINT*,'probleme de dimensions :'101 PRINT*,'ngrid =',ngrid102 PRINT*,'ngridmx =',ngridmx103 STOP104 ENDIF105 98 106 99 c A rough estimation of the horizontal drag coefficient Cd … … 218 211 c TEMPORAIRE AVEC ANLDEVIL: 219 212 c IF (ngrid.gt.1) THEN 220 c do ig=2,ngrid mx-1213 c do ig=2,ngrid-1 221 214 c write(77,88) lati(ig)*180./pi,localtime(ig), 222 215 c & -12.*log(pplev(ig,ltop(ig))/pplev(ig,1)), … … 226 219 c88 format (f7.3,1x,f7.3,1x,f6.3,1x,f6.4,1x,f7.4,1x, 227 220 c & f7.3,1x,f7.3,1x,f9.3) 228 c do ig=1,ngrid mx221 c do ig=1,ngrid 229 222 c ztop(ig) = -12.*log(pplev(ig,ltop(ig))/pplev(ig,1)) 230 223 c magwind(ig) = sqrt(pu(ig,1)**2+pv(ig,1)**2) … … 232 225 c end do 233 226 234 c call WRITEDIAGFI(ngrid mx,'dqs_dev','dqs devil',227 c call WRITEDIAGFI(ngrid,'dqs_dev','dqs devil', 235 228 c & 'kg.m-2.s-1',2,pdqs_dev) 236 c call WRITEDIAGFI(ngrid mx,'wind','wind',229 c call WRITEDIAGFI(ngrid,'wind','wind', 237 230 c & 'm.s-1',2,magwind) 238 c call WRITEDIAGFI(ngrid mx,'ztop','top pbl',231 c call WRITEDIAGFI(ngrid,'ztop','top pbl', 239 232 c & 'km',2,ztop) 240 c call WRITEDIAGFI(ngrid mx,'tsurf','tsurf',233 c call WRITEDIAGFI(ngrid,'tsurf','tsurf', 241 234 c & 'K',2,ptsurf) 242 c call WRITEDIAGFI(ngrid mx,'T1','T(1)',235 c call WRITEDIAGFI(ngrid,'T1','T(1)', 243 236 c & 'K',2,t1) 244 c call WRITEDIAGFI(ngrid mx,'b','b',237 c call WRITEDIAGFI(ngrid,'b','b', 245 238 c & ' ',2,b_diag) 246 239 c END If
Note: See TracChangeset
for help on using the changeset viewer.