Changeset 1520 for LMDZ5/trunk/libf/dyn3d/vlspltqs.F
- Timestamp:
- May 23, 2011, 1:37:09 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/vlspltqs.F
r595 r1520 1 ! 2 ! $Header$3 ! 1 c 2 c $Id$ 3 c 4 4 SUBROUTINE vlspltqs ( q,pente_max,masse,w,pbaru,pbarv,pdt, 5 5 , p,pk,teta ) … … 634 634 C PRINT*,dyq(1) 635 635 C PRINT*,dyqv(iip1+1) 636 C ap n=abs(dyq(1)/dyqv(iip1+1))636 C appn=abs(dyq(1)/dyqv(iip1+1)) 637 637 C PRINT*,dyq(ip1jm+1) 638 638 C PRINT*,dyqv(ip1jm-iip1+1) 639 C ap s=abs(dyq(ip1jm+1)/dyqv(ip1jm-iip1+1))639 C apps=abs(dyq(ip1jm+1)/dyqv(ip1jm-iip1+1)) 640 640 C DO ij=2,iim 641 C ap n=amax1(abs(dyq(ij)/dyqv(ij)),apn)642 C ap s=amax1(abs(dyq(ip1jm+ij)/dyqv(ip1jm-iip1+ij)),aps)641 C appn=amax1(abs(dyq(ij)/dyqv(ij)),appn) 642 C apps=amax1(abs(dyq(ip1jm+ij)/dyqv(ip1jm-iip1+ij)),apps) 643 643 C ENDDO 644 C ap n=min(pente_max/apn,1.)645 C ap s=min(pente_max/aps,1.)644 C appn=min(pente_max/appn,1.) 645 C apps=min(pente_max/apps,1.) 646 646 C 647 647 C … … 649 649 C 650 650 C IF(dyqv(ismin(iim,dyqv,1))*dyqv(ismax(iim,dyqv,1)).le.0.) 651 C & ap n=0.651 C & appn=0. 652 652 C IF(dyqv(ismax(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1)* 653 653 C & dyqv(ismin(iim,dyqv(ip1jm-iip1+1),1)+ip1jm-iip1+1).le.0.) 654 C & ap s=0.654 C & apps=0. 655 655 C 656 656 C limitation des pentes aux poles 657 657 C DO ij=1,iip1 658 C dyq(ij)=ap n*dyq(ij)659 C dyq(ip1jm+ij)=ap s*dyq(ip1jm+ij)658 C dyq(ij)=appn*dyq(ij) 659 C dyq(ip1jm+ij)=apps*dyq(ip1jm+ij) 660 660 C ENDDO 661 661 C
Note: See TracChangeset
for help on using the changeset viewer.