Changeset 1520 for LMDZ5/trunk/libf/dyn3d/vlsplt.F
- Timestamp:
- May 23, 2011, 1:37:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/vlsplt.F
r595 r1520 1 ! 2 ! $Header$ 3 ! 4 c 1 c 2 c $Id$ 5 3 c 6 4 … … 478 476 REAL qbyv(ip1jm,llm) 479 477 480 REAL qpns,qpsn,ap n,aps,dyn1,dys1,dyn2,dys2,newmasse,fn,fs478 REAL qpns,qpsn,appn,apps,dyn1,dys1,dyn2,dys2,newmasse,fn,fs 481 479 c REAL newq,oldmasse 482 480 Logical extremum,first,testcpu … … 602 600 C PRINT*,dyq(1) 603 601 C PRINT*,dyqv(iip1+1) 604 C ap n=abs(dyq(1)/dyqv(iip1+1))602 C appn=abs(dyq(1)/dyqv(iip1+1)) 605 603 C PRINT*,dyq(ip1jm+1) 606 604 C PRINT*,dyqv(ip1jm-iip1+1) 607 C ap s=abs(dyq(ip1jm+1)/dyqv(ip1jm-iip1+1))605 C apps=abs(dyq(ip1jm+1)/dyqv(ip1jm-iip1+1)) 608 606 C DO ij=2,iim 609 C ap n=amax1(abs(dyq(ij)/dyqv(ij)),apn)610 C ap s=amax1(abs(dyq(ip1jm+ij)/dyqv(ip1jm-iip1+ij)),aps)607 C appn=amax1(abs(dyq(ij)/dyqv(ij)),appn) 608 C apps=amax1(abs(dyq(ip1jm+ij)/dyqv(ip1jm-iip1+ij)),apps) 611 609 C ENDDO 612 C ap n=min(pente_max/apn,1.)613 C ap s=min(pente_max/aps,1.)610 C appn=min(pente_max/appn,1.) 611 C apps=min(pente_max/apps,1.) 614 612 C 615 613 C … … 617 615 C 618 616 C IF(dyqv(ismin(iim,dyqv,1))*dyqv(ismax(iim,dyqv,1)).le.0.) 619 C & ap n=0.617 C & appn=0. 620 618 C IF(dyqv(ismax(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1)* 621 619 C & dyqv(ismin(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1).le.0.) 622 C & ap s=0.620 C & apps=0. 623 621 C 624 622 C limitation des pentes aux poles 625 623 C DO ij=1,iip1 626 C dyq(ij)=ap n*dyq(ij)627 C dyq(ip1jm+ij)=ap s*dyq(ip1jm+ij)624 C dyq(ij)=appn*dyq(ij) 625 C dyq(ip1jm+ij)=apps*dyq(ip1jm+ij) 628 626 C ENDDO 629 627 C
Note: See TracChangeset
for help on using the changeset viewer.