Changeset 1220 for LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar
- Timestamp:
- Aug 5, 2009, 4:38:34 PM (15 years ago)
- Location:
- LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/coefpoly.F
r774 r1220 19 19 c On en revient a resoudre un systeme de 4 equat.a 4 inconnues a0,a1,a2,a3 20 20 21 REAL *8Xf1, Xf2,Xprim1,Xprim2, xtild1,xtild2, xi22 REAL *8Xfout, Xprim23 REAL *8a1,a2,a3,a0, xtil1car, xtil2car,derr,x1x2car21 REAL(KIND=8) Xf1, Xf2,Xprim1,Xprim2, xtild1,xtild2, xi 22 REAL(KIND=8) Xfout, Xprim 23 REAL(KIND=8) a1,a2,a3,a0, xtil1car, xtil2car,derr,x1x2car 24 24 25 25 xtil1car = xtild1 * xtild1 -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/create_etat0_limit.F
r1114 r1220 9 9 USE phys_state_var_mod 10 10 USE infotrac 11 #ifdef CPP_IOIPSL 12 use ioipsl, only: ioconf_calendar 13 #endif 11 14 IMPLICIT NONE 12 15 c … … 41 44 call init_const_lmdz( 42 45 $ nbtr,anneeref,dayref, 43 $ iphysiq, day_step,nday)46 $ iphysiq, day_step,nday) 44 47 #endif 45 48 print *, 'nbtr =' , nbtr … … 60 63 call InitComgeomphy 61 64 65 #ifdef CPP_IOIPSL 66 call ioconf_calendar('360d') 67 #endif 62 68 63 69 WRITE(6,*) ' ********************* ' -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/etat0_netcdf.F
r1154 r1220 654 654 itau_phy = 0 655 655 iday = dayref +itau/day_step 656 time = FLOAT(itau-(iday-dayref)*day_step)/day_step656 time = real(itau-(iday-dayref)*day_step)/day_step 657 657 c 658 658 IF(time.GT.1) THEN -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/fxyhyper.F
r774 r1220 41 41 REAL rlonu(iip1),xprimu(iip1),rlonv(iip1),xprimv(iip1), 42 42 , rlonm025(iip1),xprimm025(iip1), rlonp025(iip1),xprimp025(iip1) 43 REAL *8dxmin, dxmax , dymin, dymax43 REAL(KIND=8) dxmin, dxmax , dymin, dymax 44 44 45 45 c .... var. locales ..... -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/fyhyp.F
r764 r1220 50 50 51 51 REAL dzoom 52 REAL *8ylat(jjp1), yprim(jjp1)53 REAL *8yuv54 REAL *8yt(0:nmax2)55 REAL *8fhyp(0:nmax2),beta,Ytprim(0:nmax2),fxm(0:nmax2)52 REAL(KIND=8) ylat(jjp1), yprim(jjp1) 53 REAL(KIND=8) yuv 54 REAL(KIND=8) yt(0:nmax2) 55 REAL(KIND=8) fhyp(0:nmax2),beta,Ytprim(0:nmax2),fxm(0:nmax2) 56 56 SAVE Ytprim, yt,Yf 57 REAL *8Yf(0:nmax2),yypr(0:nmax2)58 REAL *8yvrai(jjp1), yprimm(jjp1),ylatt(jjp1)59 REAL *8pi,depi,pis2,epsilon,y0,pisjm60 REAL *8yo1,yi,ylon2,ymoy,Yprimin,champmin,champmax61 REAL *8yfi,Yf1,ffdy62 REAL *8ypn,deply,y0057 REAL(KIND=8) Yf(0:nmax2),yypr(0:nmax2) 58 REAL(KIND=8) yvrai(jjp1), yprimm(jjp1),ylatt(jjp1) 59 REAL(KIND=8) pi,depi,pis2,epsilon,y0,pisjm 60 REAL(KIND=8) yo1,yi,ylon2,ymoy,Yprimin,champmin,champmax 61 REAL(KIND=8) yfi,Yf1,ffdy 62 REAL(KIND=8) ypn,deply,y00 63 63 SAVE y00, deply 64 64 … … 66 66 INTEGER jpn,jjpn 67 67 SAVE jpn 68 REAL *8a0,a1,a2,a3,yi2,heavyy0,heavyy0m69 REAL *8fa(0:nmax2),fb(0:nmax2)68 REAL(KIND=8) a0,a1,a2,a3,yi2,heavyy0,heavyy0m 69 REAL(KIND=8) fa(0:nmax2),fb(0:nmax2) 70 70 REAL y0min,y0max 71 71 72 REAL *8heavyside72 REAL(KIND=8) heavyside 73 73 74 74 pi = 2. * ASIN(1.) -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/gcm.F
r1201 r1220 326 326 annee_ref = anneeref 327 327 day_ref = dayref 328 day_ini = 1328 day_ini = dayref 329 329 itau_dyn = 0 330 330 itau_phy = 0 … … 344 344 345 345 #ifdef CPP_IOIPSL 346 call ioconf_startdate(annee_ref, 0,day_ref, 0.)346 call ioconf_startdate(annee_ref,1,day_ref, 0.) 347 347 #endif 348 348 … … 436 436 WRITE(lunout,300)day_ini,day_end 437 437 300 FORMAT('1'/,15x,'run du jour',i7,2x,'au jour',i7//) 438 call ju2ymds(jD_ref +day_ini-1,an, mois, jour, heure)438 call ju2ymds(jD_ref + day_ini - day_ref, an, mois, jour, heure) 439 439 write (lunout,301)jour, mois, an 440 call ju2ymds(jD_ref +day_end-1,an, mois, jour, heure)440 call ju2ymds(jD_ref + day_end - day_ref, an, mois, jour, heure) 441 441 write (lunout,302)jour, mois, an 442 442 301 FORMAT('1'/,15x,'run du ', i2,'/',i2,'/',i4) -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/grid_atob.F
r774 r1220 700 700 PARAMETER (imtmp=360,jmtmp=180) 701 701 REAL xtmp(imtmp), ytmp(jmtmp) 702 REAL *8cham1tmp(imtmp,jmtmp), cham2tmp(imtmp,jmtmp)702 REAL(KIND=8) cham1tmp(imtmp,jmtmp), cham2tmp(imtmp,jmtmp) 703 703 REAL zzzz 704 704 c … … 859 859 number(ii,jj) = number(ii,jj) + 1.0 860 860 rugs(ii,jj) = rugs(ii,jj) 861 . + LOG(MAX(0.001 ,cham2tmp(i,j)))861 . + LOG(MAX(0.001_8,cham2tmp(i,j))) 862 862 ENDIF 863 863 ENDDO … … 892 892 i_proche = ij_proche - (j_proche-1)*imtmp 893 893 PRINT*, "solution:", ij_proche, i_proche, j_proche 894 rugs(i,j) = LOG(MAX(0.001 ,cham2tmp(i_proche,j_proche)))894 rugs(i,j) = LOG(MAX(0.001_8,cham2tmp(i_proche,j_proche))) 895 895 ENDIF 896 896 ENDDO -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/heavyside.F
r774 r1220 10 10 IMPLICIT NONE 11 11 12 REAL *8heavyside , a12 REAL(KIND=8) heavyside , a 13 13 14 14 IF ( a.LE.0. ) THEN -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/inter_barx.F
r774 r1220 81 81 82 82 DO idat = 1, idatmax 83 xxd(idat) = AMOD( xxd(idat) - xim0, 360. )83 xxd(idat) = MOD( xxd(idat) - xim0, 360. ) 84 84 fdd(idat) = fdat (idat) 85 85 ENDDO … … 212 212 213 213 214 3 FORMAT(1x,70( 1h-))214 3 FORMAT(1x,70("-")) 215 215 2 FORMAT(1x,8f8.2) 216 216 -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/leapfrog_p.F
r1207 r1220 243 243 1 CONTINUE 244 244 245 jD_cur = jD_ref + (day_ini - 1)+ int (itau * dtvr / daysec)245 jD_cur = jD_ref + day_ini - day_ref + int (itau * dtvr / daysec) 246 246 jH_cur = jH_ref + & 247 247 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) … … 684 684 CALL exner_hyb_p( ip1jmp1, ps, p,alpha,beta,pks, pk, pkf ) 685 685 c$OMP BARRIER 686 jD_cur = jD_ref + (day_ini -1) + int (itau * dtvr / daysec) 686 jD_cur = jD_ref + day_ini - day_ref 687 $ + int (itau * dtvr / daysec) 687 688 jH_cur = jH_ref + & 688 689 & (itau * dtvr / daysec - int(itau * dtvr / daysec)) -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/sortvarc.F
r1201 r1220 157 157 RETURN 158 158 159 3500 FORMAT( '0'10(1h*),4x,'pas'i7,5x,'jour'f9.0,'heure'f5.1,4x160 * ,'date',f14.4,4x,10( 1h*))159 3500 FORMAT(10("*"),4x,'pas',i7,5x,'jour',f9.0,'heure',f5.1,4x 160 * ,'date',f14.4,4x,10("*")) 161 161 4000 FORMAT(10x,'masse',4x,'rmsdpdt',7x,'energie',2x,'enstrophie' 162 162 * ,2x,'entropie',3x,'rmsv',4x,'mt.ang',/,'GLOB ' -
LMDZ4/branches/LMDZ4-dev/libf/dyn3dpar/sortvarc0.F
r774 r1220 130 130 ang0 = SSUM( llm, angl, 1 ) 131 131 132 rday = FLOAT(INT ( day_ini +time ))132 rday = FLOAT(INT (time )) 133 133 c 134 134 PRINT 3500, itau, rday, heure, time 135 135 PRINT *, ptot0,etot0,ztot0,stot0,ang0 136 136 137 3500 FORMAT( '0',10(1h*),4x,'pas',i7,5x,'jour',f5.0,'heure',f5.1,4x138 * ,'date',f10.5,4x,10( 1h*))137 3500 FORMAT(10("*"),4x,'pas',i7,5x,'jour',f5.0,'heure',f5.1,4x 138 * ,'date',f10.5,4x,10("*")) 139 139 RETURN 140 140 END
Note: See TracChangeset
for help on using the changeset viewer.