Changeset 4064 for LMDZ6/trunk/libf/dyn3d/vlsplt.F
- Timestamp:
- Jan 25, 2022, 7:14:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/dyn3d/vlsplt.F
r4052 r4064 38 38 c --------- 39 39 c 40 INTEGER i,ij,l,j,ii 41 INTEGER ijlqmin,iqmin,jqmin,lqmin 42 c 43 REAL zm(ip1jmp1,llm,nqtot),newmasse 40 INTEGER ij,l 41 c 42 REAL zm(ip1jmp1,llm,nqtot) 44 43 REAL mu(ip1jmp1,llm) 45 44 REAL mv(ip1jm,llm) 46 45 REAL mw(ip1jmp1,llm+1) 47 REAL zq(ip1jmp1,llm,nqtot),zz 48 REAL dqx(ip1jmp1,llm),dqy(ip1jmp1,llm),dqz(ip1jmp1,llm) 49 REAL second,temps0,temps1,temps2,temps3 50 REAL ztemps1,ztemps2,ztemps3 46 REAL zq(ip1jmp1,llm,nqtot) 51 47 REAL zzpbar, zzw 52 LOGICAL testcpu53 SAVE testcpu54 SAVE temps1,temps2,temps355 INTEGER iminn,imaxx56 48 INTEGER ifils,iq2 ! CRisi 57 49 58 50 REAL qmin,qmax 59 51 DATA qmin,qmax/0.,1.e33/ 60 DATA testcpu/.false./61 DATA temps1,temps2,temps3/0.,0.,0./62 63 52 64 53 zzpbar = 0.5 * pdt … … 157 146 c ---------- 158 147 REAL masse(ip1jmp1,llm,nqtot),pente_max 159 REAL u_m( ip1jmp1,llm ) ,pbarv( iip1,jjm,llm)148 REAL u_m( ip1jmp1,llm ) 160 149 REAL q(ip1jmp1,llm,nqtot) 161 REAL w(ip1jmp1,llm)162 150 INTEGER iq ! CRisi 163 151 c … … 169 157 c 170 158 REAL new_m,zu_m,zdum(ip1jmp1,llm) 171 REAL sigu(ip1jmp1),dxq(ip1jmp1,llm),dxqu(ip1jmp1) 159 c REAL sigu(ip1jmp1) 160 REAL dxq(ip1jmp1,llm),dxqu(ip1jmp1) 172 161 REAL zz(ip1jmp1) 173 162 REAL adxqu(ip1jmp1),dxqmax(ip1jmp1,llm) … … 178 167 INTEGER ifils,iq2 ! CRisi 179 168 180 Logical extremum,first,testcpu 181 SAVE first,testcpu 182 183 REAL SSUM 184 REAL temps0,temps1,temps2,temps3,temps4,temps5,second 185 SAVE temps0,temps1,temps2,temps3,temps4,temps5 186 187 REAL z1,z2,z3 188 189 DATA first,testcpu/.true.,.false./ 190 191 IF(first) THEN 192 temps1=0. 193 temps2=0. 194 temps3=0. 195 temps4=0. 196 temps5=0. 197 first=.false. 198 ENDIF 169 Logical first 170 SAVE first 171 DATA first/.true./ 199 172 200 173 c calcul de la pente a droite et a gauche de la maille … … 432 405 ENDDO 433 406 ENDIF ! n0.gt.0 434 9999 continue407 c9999 continue 435 408 436 409 … … 536 509 REAL masse(ip1jmp1,llm,nqtot),pente_max 537 510 REAL masse_adv_v( ip1jm,llm) 538 REAL q(ip1jmp1,llm,nqtot) , dq( ip1jmp1,llm)511 REAL q(ip1jmp1,llm,nqtot) 539 512 INTEGER iq ! CRisi 540 513 c … … 545 518 c 546 519 REAL airej2,airejjm,airescb(iim),airesch(iim) 547 REAL dyq(ip1jmp1,llm),dyqv(ip1jm) ,zdvm(ip1jmp1,llm)520 REAL dyq(ip1jmp1,llm),dyqv(ip1jm) 548 521 REAL adyqv(ip1jm),dyqmax(ip1jmp1) 549 522 REAL qbyv(ip1jm,llm) 550 523 551 REAL qpns,qpsn,appn,apps,dyn1,dys1,dyn2,dys2,newmasse,fn,fs 524 REAL qpns,qpsn,dyn1,dys1,dyn2,dys2,newmasse,fn,fs 525 c REAL appn apps 552 526 c REAL newq,oldmasse 553 Logical extremum,first,testcpu 554 REAL temps0,temps1,temps2,temps3,temps4,temps5,second 555 SAVE temps0,temps1,temps2,temps3,temps4,temps5 556 SAVE first,testcpu 527 LOGICAL first 528 SAVE first 557 529 558 530 REAL convpn,convps,convmpn,convmps … … 570 542 REAL SSUM 571 543 572 DATA first,testcpu/.true.,.false./ 573 DATA temps0,temps1,temps2,temps3,temps4,temps5/0.,0.,0.,0.,0.,0./ 544 DATA first/.true./ 574 545 575 546 !write(*,*) 'vly 578: entree, iq=',iq … … 905 876 c --------- 906 877 c 907 INTEGER i ,ij,l,j,ii878 INTEGER ij,l 908 879 c 909 880 REAL wq(ip1jmp1,llm+1),newmasse … … 918 889 SAVE testcpu 919 890 920 REAL temps0,temps1,temps2,temps3,temps4,temps5,second 921 SAVE temps0,temps1,temps2,temps3,temps4,temps5922 REAL SSUM891 #ifdef BIDON 892 REAL temps0,temps1,second 893 SAVE temps0,temps1 923 894 924 895 DATA testcpu/.false./ 925 DATA temps0,temps1,temps2,temps3,temps4,temps5/0.,0.,0.,0.,0.,0./ 896 DATA temps0,temps1/0.,0./ 897 #endif 926 898 927 899 c On oriente tout dans le sens de la pression c'est a dire dans le … … 1083 1055 real zzq(iip1,jjp1,llm) 1084 1056 1057 #ifdef isminmax 1085 1058 integer imin,jmin,lmin,ijlmin 1086 1059 integer imax,jmax,lmax,ijlmax … … 1088 1061 integer ismin,ismax 1089 1062 1090 #ifdef isminismax1091 1063 call scopy (ip1jmp1*llm,zq,1,zzq,1) 1092 1064 … … 1116 1088 #endif 1117 1089 return 1118 9999 format(a20,' q(',i3,',',i2,',',i2,')=',e12.5,e12.5)1090 c9999 format(a20,' q(',i3,',',i2,',',i2,')=',e12.5,e12.5) 1119 1091 end 1120 1092
Note: See TracChangeset
for help on using the changeset viewer.