Changeset 1088 for LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/qminimum_p.F
- Timestamp:
- Feb 3, 2009, 11:11:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/qminimum_p.F
r985 r1088 50 50 DO 1000 k = 1, llm 51 51 DO 1040 i = ijb, ije 52 zx_defau = AMAX1( seuil_liq - q(i,k,iq_liq), 0.0 ) 53 q(i,k,iq_vap) = q(i,k,iq_vap) - zx_defau 54 q(i,k,iq_liq) = q(i,k,iq_liq) + zx_defau 52 if (seuil_liq - q(i,k,iq_liq) .gt. 0.d0 ) then 53 q(i,k,iq_vap) = q(i,k,iq_vap) + q(i,k,iq_liq) - seuil_liq 54 q(i,k,iq_liq) = seuil_liq 55 endif 55 56 1040 CONTINUE 56 57 1000 CONTINUE … … 69 70 c$OMP DO SCHEDULE(STATIC) 70 71 DO i = ijb, ije 71 zx_abc = deltap(i,k)/deltap(i,k-1) 72 zx_defau = AMAX1( seuil_vap - q(i,k,iq), 0.0 ) 73 q(i,k-1,iq) = q(i,k-1,iq) - zx_defau * zx_abc 74 q(i,k,iq) = q(i,k,iq) + zx_defau 72 if ( seuil_vap - q(i,k,iq) .gt. 0.d0 ) then 73 q(i,k-1,iq) = q(i,k-1,iq) - ( seuil_vap - q(i,k,iq) ) * 74 & deltap(i,k) / deltap(i,k-1) 75 q(i,k,iq) = seuil_vap 76 endif 75 77 ENDDO 76 78 c$OMP END DO NOWAIT
Note: See TracChangeset
for help on using the changeset viewer.