Changeset 1130 for trunk/LMDZ.MARS/libf/phymars/vdif_kc.F
- Timestamp:
- Dec 20, 2013, 4:04:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdif_kc.F
r1047 r1130 32 32 c 33 33 c....................................................................... 34 REAL dt,g35 REAL zlev(ngrid,nlay+1)36 REAL zlay(ngrid,nlay)37 REAL u(ngrid,nlay)38 REAL v(ngrid,nlay)39 REAL teta(ngrid,nlay)40 REAL cd(ngrid)41 REAL q2(ngrid,nlay+1)42 REAL km(ngrid,nlay+1)43 REAL kn(ngrid,nlay+1)44 REAL zq(ngrid,nlay,nq)34 REAL,INTENT(IN) :: dt,g 35 REAL,INTENT(IN) :: zlev(ngrid,nlay+1) 36 REAL,INTENT(IN) :: zlay(ngrid,nlay) 37 REAL,INTENT(IN) :: u(ngrid,nlay) 38 REAL,INTENT(IN) :: v(ngrid,nlay) 39 REAL,INTENT(IN) :: teta(ngrid,nlay) 40 REAL,INTENT(IN) :: cd(ngrid) 41 REAL,INTENT(INOUT) :: q2(ngrid,nlay+1) 42 REAL,INTENT(OUT) :: km(ngrid,nlay+1) 43 REAL,INTENT(OUT) :: kn(ngrid,nlay+1) 44 REAL,INTENT(IN) :: zq(ngrid,nlay,nq) 45 45 c....................................................................... 46 46 c … … 247 247 nlev=nlay+1 248 248 249 ! Other initializations of local variables (to be clean) 250 long(:,:)=0. 251 n2(:,:)=0. 252 sn(:,:)=0. 253 snq2(:,:)=0. 254 sm(:,:)=0. 255 smq2(:,:)=0. 249 256 c....................................................................... 250 257 c Special treatment for co2 … … 381 388 gninf=.false. 382 389 gnsup=.false. 383 long(igrid,ilev)=long(igrid,ilev) 384 long(igrid,ilev)=long(igrid,ilev) 390 long(igrid,ilev)=long(igrid,ilev) ! not very useful... 391 long(igrid,ilev)=long(igrid,ilev) ! not very useful... 385 392 c 386 393 IF (gn.lt.gnmin) THEN … … 609 616 c....................................................................... 610 617 c 618 619 ! call writediagfi(ngrid,'vdif_kc_q2','','',3,q2(:,1:nlay)) 620 ! call writediagfi(ngrid,'vdif_kc_km','','',3,km(:,1:nlay)) 621 ! call writediagfi(ngrid,'vdif_kc_kn','','',3,kn(:,1:nlay)) 622 ! call writediagfi(ngrid,'vdif_kc_unsdz','','',3,unsdz(:,1:nlay)) 623 ! call writediagfi(ngrid,'vdif_kc_unsddecz','','',3, 624 ! & unsdzdec(:,1:nlay)) 625 ! call writediagfi(ngrid,'vdif_kc_q','','',3,q(:,1:nlay)) 626 ! call writediagfi(ngrid,'vdif_kc_kmpre','','',3, 627 ! & kmpre(:,1:nlay)) 628 ! call writediagfi(ngrid,'vdif_kc_long','','',3,long(:,1:nlay)) 629 ! call writediagfi(ngrid,'vdif_kc_sn','','',3,sn(:,1:nlay)) 630 ! call writediagfi(ngrid,'vdif_kc_sm','','',3,sm(:,1:nlay)) 631 611 632 RETURN 612 633 END
Note: See TracChangeset
for help on using the changeset viewer.