Changeset 2258 for LMDZ5/branches/testing/libf/phylmd/cv3p1_closure.F90
- Timestamp:
- Apr 13, 2015, 10:21:09 AM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2218,2221-2237
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/phylmd/cv3p1_closure.F90
r2220 r2258 53 53 54 54 ! local variables: 55 INTEGER il, i, j, k, icbmax, i0(nloc), klfc 55 INTEGER il, i, j, k, icbmax, i0(nloc), klfc(nloc) 56 56 REAL deltap, fac, w, amu 57 57 REAL rhodp … … 525 525 526 526 !CR:Compute k at plfc 527 DO il=1,ncum 528 klfc(il)=nl 529 ENDDO 527 530 DO k=1,nl 528 531 DO il=1,ncum 529 532 if ((plfc(il).lt.ph(il,k)).and.(plfc(il).ge.ph(il,k+1))) then 530 klfc =k533 klfc(il)=k 531 534 endif 532 535 ENDDO … … 540 543 !CR: Add large-scale component to the mass-flux 541 544 !encore connu sous le nom "Experience du tube de dentifrice" 542 if ( coef_clos_ls.gt.0.) then543 cbmf1(il) = cbmf1(il) - coef_clos_ls*min(0.,1./RG*omega(il,klfc ))545 if ((coef_clos_ls.gt.0.).and.(plfc(il).gt.0.)) then 546 cbmf1(il) = cbmf1(il) - coef_clos_ls*min(0.,1./RG*omega(il,klfc(il))) 544 547 endif 545 548 !RC
Note: See TracChangeset
for help on using the changeset viewer.