Changeset 204 for LMDZ.3.3/trunk/libf/dyn3d/offlinenc.F
- Timestamp:
- Apr 13, 2001, 12:44:53 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ.3.3/trunk/libf/dyn3d/offlinenc.F
r187 r204 1 c 2 c $Header 3 c 1 4 PROGRAM offlinenc 2 5 USE ioipsl … … 66 69 integer iiinj 67 70 integer jour0,isplit,nsplit_dyn,nsplit_phy,nsplit 68 logical debut,lectstart,rnpb 71 logical debut,lectstart,rnpb,lafin 69 72 70 73 EXTERNAL inidissip,iniconst,inifilr … … 190 193 . teta,q,masse,ps,phis, time_0) 191 194 print*,'Lecture du start' 195 c On zappe le radon et le plomb. 196 q(:,:,:,1)=q(:,:,:,3) 197 q(:,:,:,2)=q(:,:,:,4) 198 c Initialisation d'un traceur ` 1 pour tester l'impact du lessivage. 199 q(:,:,:,3)=1. 192 200 else 193 201 day_ini=0 … … 203 211 C print*,'av iniconst' 204 212 c lecture du jour de demarrage 205 c premiere initialisation, eventuellement bidon206 CALL iniconst213 c premiere cnitialisation, eventuellement bidon 214 cALL iniconst 207 215 CALL inigeom 208 216 C 209 print*,'ENTREE DANS redecoupenc ou lectfluxnc 0217 print*,'ENTREE DANS redecoupenc ou lectfluxnc 210 218 s pour irec=0' 211 219 … … 219 227 s frac_impa,frac_nucl,phis) 220 228 else 221 call lectfluxnc 0(0,masse,pbaru,pbarv,w,teta,phi,229 call lectfluxnc(0,masse,pbaru,pbarv,w,teta,phi, 222 230 s nrec,avant,airefi,pphis, 223 231 s t,zmfu, zmfd, zen_u, zde_u,zen_d, zde_d, coefkz, … … 373 381 s frac_impa,frac_nucl,phis) 374 382 else 375 call lectfluxnc 0(irec,masse,pbaru,pbarv,w,teta,phi,383 call lectfluxnc(irec,masse,pbaru,pbarv,w,teta,phi, 376 384 s nrec,avant,airefi,pphis, 377 385 s t,zmfu, zmfd, zen_u, zde_u,zen_d, zde_d, coefkz, … … 380 388 endif 381 389 390 391 print*,'TESTPHYS: ON PREND LA PUIS ',1./float(nsplit*nsplit_phy) 392 s ,' DES FRAC A IT=',itau 393 frac_impa(:,:)=frac_impa(:,:)**(1./float(nsplit*nsplit_phy)) 394 frac_nucl(:,:)=frac_nucl(:,:)**(1./float(nsplit*nsplit_phy)) 382 395 c ... ouverture du fichier de stockage netcdf ... 383 396 C … … 391 404 mode=1 392 405 393 394 406 c CALL initdynav(dynhistave_file,day_ini,anne_ini,dtav, 407 c . t_ops, t_wrt, nq,mode, histaveid) 395 408 396 409 pi=2.*asin(1.) … … 832 845 do iii=1,nsplit_phy 833 846 C 847 lafin=.false. ! en attendant mieux. 834 848 print*,'dtphys avant phytrac ',dtphys 835 call phytrac(rnpb, 836 I ecritphy, debutphy, 849 print*,'TESTPHYS: APPEL A PHYTRAC IT=',itau 850 851 call phytrac(rnpb,ecritphy, 852 c I ecritphy, debutphy, 853 I debutphy, lafin, 837 854 I nq, 838 855 I ngridmx,llm,dtphys, … … 855 872 itauav=(itau-1)*nsplit+isplit 856 873 c itauav=itau*nsplit+isplit 857 858 874 c CALL writedynav(histaveid, nq,mode, itauav,vcov , 875 c , ucov,teta,pk,phi,q,masse,ps,phis) 859 876 c qmoy(:,:,:)=qmoy(:,:,:)+q(:,:,1,:) 860 877 do iq=1,nq
Note: See TracChangeset
for help on using the changeset viewer.