- Timestamp:
- Oct 5, 2012, 9:56:56 AM (12 years ago)
- Location:
- LMDZ5/trunk/libf/dyn3dmem
- Files:
-
- 5 added
- 41 deleted
- 34 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dmem/abort_gcm.F
r1632 r1658 1 1 ! 2 ! $Id: abort_gcm.F 1 279 2009-12-10 09:02:56Z fairhead$2 ! $Id: abort_gcm.F 1425 2010-09-02 13:45:23Z lguez $ 3 3 ! 4 4 c … … 23 23 C ierr = severity of situation ( = 0 normal ) 24 24 25 character (len=*) ::modname25 character(len=*) modname 26 26 integer ierr 27 character (len=*) ::message27 character(len=*) message 28 28 29 29 write(lunout,*) 'in abort_gcm' … … 45 45 if (ierr .eq. 0) then 46 46 write(lunout,*) 'Everything is cool' 47 stop 47 48 else 48 49 write(lunout,*) 'Houston, we have a problem ', ierr 49 STOP50 stop 1 50 51 endif 51 52 END -
LMDZ5/trunk/libf/dyn3dmem/adaptdt.F
r1632 r1658 1 1 ! 2 ! $Id: adaptdt.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: adaptdt.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 subroutine adaptdt(nadv,dtbon,n,pbaru, -
LMDZ5/trunk/libf/dyn3dmem/bilan_dyn_p.F
r1632 r1658 1 1 ! 2 ! $Id: bilan_dyn_p.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: bilan_dyn_p.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE bilan_dyn_p (ntrac,dt_app,dt_cum, -
LMDZ5/trunk/libf/dyn3dmem/calfis_loc.F
r1657 r1658 667 667 668 668 !$OMP MASTER 669 write(lunout,*) 'PHYSIQUE AVEC NSPLIT_PHYS=',nsplit_phys669 ! write(lunout,*) 'PHYSIQUE AVEC NSPLIT_PHYS=',nsplit_phys 670 670 !$OMP END MASTER 671 671 zdt_split=dtphys/nsplit_phys -
LMDZ5/trunk/libf/dyn3dmem/comdissnew.h
r1632 r1658 1 1 ! 2 ! $Header$ 2 ! $Id: comdissnew.h 1319 2010-02-23 21:29:54Z fairhead $ 3 ! 4 ! 5 ! ATTENTION!!!!: ce fichier include est compatible format fixe/format libre 6 ! veillez à n'utiliser que des ! pour les commentaires 7 ! et à bien positionner les & des lignes de continuation 8 ! (les placer en colonne 6 et en colonne 73) 3 9 ! 4 10 !----------------------------------------------------------------------- 5 ! INCLUDE comdissnew.h11 ! INCLUDE 'comdissnew.h' 6 12 7 13 COMMON/comdissnew/ lstardis,nitergdiv,nitergrot,niterh,tetagdiv, & -
LMDZ5/trunk/libf/dyn3dmem/conf_gcm.F
r1657 r1658 1 1 ! 2 ! $Id: conf_gcm.F 1 357 2010-04-14 14:03:19Z emillour$2 ! $Id: conf_gcm.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c … … 362 362 iphysiq = 5 363 363 CALL getin('iphysiq', iphysiq) 364 365 ccc .... P.Le Van, ajout le 03/01/96 pour l'ecriture phys ...366 c367 368 364 369 365 !Config Key = ip_ebil_dyn … … 863 859 CALL getin('ok_gradsfile',ok_gradsfile) 864 860 861 !Config Key = ok_limit 862 !Config Desc = creation des fichiers limit dans create_etat0_limit 863 !Config Def = y 864 !Config Help = production du fichier limit.nc requise 865 866 ok_limit = .TRUE. 867 CALL getin('ok_limit',ok_limit) 868 869 !Config Key = ok_etat0 870 !Config Desc = creation des fichiers etat0 dans create_etat0_limit 871 !Config Def = y 872 !Config Help = production des fichiers start.nc, startphy.nc requise 873 874 ok_etat0 = .TRUE. 875 CALL getin('ok_etat0',ok_etat0) 876 865 877 write(lunout,*)' #########################################' 866 write(lunout,*)' Configuration des parametres du gcm: ' 878 write(lunout,*)' Configuration des parametres de cel0' 879 & //'_limit: ' 867 880 write(lunout,*)' planet_type = ', planet_type 868 881 write(lunout,*)' calend = ', calend … … 908 921 write(lunout,*)' ok_strato = ', ok_strato 909 922 write(lunout,*)' ok_gradsfile = ', ok_gradsfile 923 write(lunout,*)' ok_limit = ', ok_limit 924 write(lunout,*)' ok_etat0 = ', ok_etat0 910 925 c 911 926 RETURN -
LMDZ5/trunk/libf/dyn3dmem/defrun.F
r1632 r1658 1 1 ! 2 ! $Id: defrun.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: defrun.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/disvert.F
r1632 r1658 1 1 ! 2 ! $Id: disvert.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: disvert.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE disvert(pa,preff,ap,bp,dpres,presnivs,nivsigs,nivsig) -
LMDZ5/trunk/libf/dyn3dmem/dynetat0.F
r1657 r1658 321 321 ierr = NF_INQ_VARID (nid, tname(iq), nvarid) 322 322 IF (ierr .NE. NF_NOERR) THEN 323 write(lunout,*)"dynetat0: Le champ <"//tname(iq)//323 write(lunout,*)"dynetat0: Le traceur <"//trim(tname(iq))// 324 324 & "> est absent" 325 325 write(lunout,*)" Il est donc initialise a zero" -
LMDZ5/trunk/libf/dyn3dmem/dynetat0_loc.F
r1657 r1658 342 342 ierr = NF_INQ_VARID (nid, tname(iq), nvarid) 343 343 IF (ierr .NE. NF_NOERR) THEN 344 write(lunout,*)"dynetat0_loc: Le champ <"//tname(iq)//345 & 346 write(lunout,*)" 344 write(lunout,*)"dynetat0_loc: Le traceur <" & 345 & //trim(tname(iq))//"> est absent" 346 write(lunout,*)"Il est donc initialise a zero" 347 347 q(:,:,iq)=0. 348 348 ELSE -
LMDZ5/trunk/libf/dyn3dmem/exner_hyb.F
r1657 r1658 1 1 ! 2 ! $Id $2 ! $Id: exner_hyb.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE exner_hyb ( ngrid, ps, p,alpha,beta, pks, pk, pkf ) -
LMDZ5/trunk/libf/dyn3dmem/extrapol.F
r1632 r1658 1 1 ! 2 ! $Id: extrapol.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: extrapol.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 C -
LMDZ5/trunk/libf/dyn3dmem/fxhyp.F
r1632 r1658 1 1 ! 2 ! $Id: fxhyp.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: fxhyp.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/fxy.F
r1632 r1658 1 1 ! 2 ! $Id: fxy.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: fxy.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE fxy (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, -
LMDZ5/trunk/libf/dyn3dmem/fxysinus.F
r1632 r1658 1 1 ! 2 ! $Id: fxysinus.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: fxysinus.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE fxysinus (rlatu,yprimu,rlatv,yprimv,rlatu1,yprimu1, -
LMDZ5/trunk/libf/dyn3dmem/fyhyp.F
r1632 r1658 1 1 ! 2 ! $Id: fyhyp.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: fyhyp.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/gcm.F
r1657 r1658 1 1 ! 2 ! $Id: gcm.F 1 397 2010-06-02 12:57:39Z emillour$2 ! $Id: gcm.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c … … 73 73 #include "iniprint.h" 74 74 #include "tracstoke.h" 75 75 76 #ifdef INCA 76 77 ! Only INCA needs these informations (from the Earth's physics) -
LMDZ5/trunk/libf/dyn3dmem/grid_atob.F
r1632 r1658 1 1 ! 2 ! $Id: grid_atob.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: grid_atob.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE grille_m(imdep, jmdep, xdata, ydata, entree, -
LMDZ5/trunk/libf/dyn3dmem/grid_noro.F
r1632 r1658 1 1 ! 2 ! $Id: grid_noro.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: grid_noro.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/grilles_gcm_netcdf.F
r1632 r1658 1 1 ! 2 ! $Id: grilles_gcm_netcdf.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: grilles_gcm_netcdf.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/guide_p_mod.F90
r1632 r1658 390 390 stop 391 391 ELSE 392 IF (guide_v) vnat1( jjb_v:jje_v,:,:)=vnat2(jjb_v:jje_v,:,:)393 IF (guide_u) unat1( jjb_u:jje_u,:,:)=unat2(jjb_u:jje_u,:,:)394 IF (guide_T) tnat1( jjb_u:jje_u,:,:)=tnat2(jjb_u:jje_u,:,:)395 IF (guide_Q) qnat1( jjb_u:jje_u,:,:)=qnat2(jjb_u:jje_u,:,:)396 IF (guide_P.OR.guide_modele) psnat1( jjb_u:jje_u,:)=psnat2(jjb_u:jje_u,:)392 IF (guide_v) vnat1(:,jjb_v:jje_v,:)=vnat2(:,jjb_v:jje_v,:) 393 IF (guide_u) unat1(:,jjb_u:jje_u,:)=unat2(:,jjb_u:jje_u,:) 394 IF (guide_T) tnat1(:,jjb_u:jje_u,:)=tnat2(:,jjb_u:jje_u,:) 395 IF (guide_Q) qnat1(:,jjb_u:jje_u,:)=qnat2(:,jjb_u:jje_u,:) 396 IF (guide_P.OR.guide_modele) psnat1(:,jjb_u:jje_u)=psnat2(:,jjb_u:jje_u) 397 397 step_rea=step_rea+1 398 398 itau_test=itau … … 1176 1176 #endif 1177 1177 IF (invert_y) THEN 1178 CALL invert_lat(iip1,jjp1, llm,unat2)1178 CALL invert_lat(iip1,jjp1,nlevnc,unat2) 1179 1179 ENDIF 1180 1180 … … 1189 1189 #endif 1190 1190 IF (invert_y) THEN 1191 CALL invert_lat(iip1,jjp1, llm,tnat2)1191 CALL invert_lat(iip1,jjp1,nlevnc,tnat2) 1192 1192 ENDIF 1193 1193 endif … … 1201 1201 #endif 1202 1202 IF (invert_y) THEN 1203 CALL invert_lat(iip1,jjp1, llm,qnat2)1203 CALL invert_lat(iip1,jjp1,nlevnc,qnat2) 1204 1204 ENDIF 1205 1205 … … 1215 1215 #endif 1216 1216 IF (invert_y) THEN 1217 CALL invert_lat(iip1,jjm, llm,vnat2)1217 CALL invert_lat(iip1,jjm,nlevnc,vnat2) 1218 1218 ENDIF 1219 1219 endif … … 1364 1364 1365 1365 IF (invert_y) THEN 1366 CALL invert_lat(iip1,jjp1, llm,unat2)1366 CALL invert_lat(iip1,jjp1,nlevnc,unat2) 1367 1367 ENDIF 1368 1368 … … 1381 1381 1382 1382 IF (invert_y) THEN 1383 CALL invert_lat(iip1,jjp1, llm,tnat2)1383 CALL invert_lat(iip1,jjp1,nlevnc,tnat2) 1384 1384 ENDIF 1385 1385 … … 1398 1398 1399 1399 IF (invert_y) THEN 1400 CALL invert_lat(iip1,jjp1, llm,qnat2)1400 CALL invert_lat(iip1,jjp1,nlevnc,qnat2) 1401 1401 ENDIF 1402 1402 … … 1416 1416 1417 1417 IF (invert_y) THEN 1418 CALL invert_lat(iip1,jjm, llm,vnat2)1418 CALL invert_lat(iip1,jjm,nlevnc,vnat2) 1419 1419 ENDIF 1420 1420 -
LMDZ5/trunk/libf/dyn3dmem/iniacademic.F
r1657 r1658 1 1 ! 2 ! $Id: iniacademic.F 1 363 2010-04-16 09:50:10Z emillour$2 ! $Id: iniacademic.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/iniconst.F
r1657 r1658 1 1 ! 2 ! $Id: iniconst.F 1 380 2010-05-06 12:24:59Z emillour$2 ! $Id: iniconst.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE iniconst -
LMDZ5/trunk/libf/dyn3dmem/inidissip.F
r1632 r1658 1 1 ! 2 ! $Id: inidissip.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: inidissip.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE inidissip ( lstardis,nitergdiv,nitergrot,niterh , -
LMDZ5/trunk/libf/dyn3dmem/inigeom.F
r1632 r1658 1 1 ! 2 ! $Id: inigeom.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: inigeom.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 c -
LMDZ5/trunk/libf/dyn3dmem/inter_barxy_m.F90
r1657 r1658 1 ! 2 ! $Id$ 3 ! 1 4 module inter_barxy_m 2 5 … … 36 39 ! jjm+1 latitudes rlatu du modele (latitudes des scalaires et de U) 37 40 ! Si taille de la seconde dim = jjm, on veut interpoler sur les 38 ! jjm latitudes rlatv du mod èle (latitudes de V)41 ! jjm latitudes rlatv du modele (latitudes de V) 39 42 40 43 ! Variables local to the procedure: … … 112 115 ! rlonimod(imod): abscisses des interfaces des mailles modele 113 116 ! ( L'indice 1 correspond a l'interface mailLE 1 / maille 2) 114 ! ( Les abscisses sont exprim ées en degres)117 ! ( Les abscisses sont exprimees en degres) 115 118 116 119 use assert_eq_m, only: assert_eq … … 118 121 IMPLICIT NONE 119 122 120 REAL, intent(in):: dlonid(:) ! dim(idatmax)121 real, intent(in):: fdat(:) ! dim(idatmax)122 real, intent(in):: rlonimod(:) ! dim(imodmax)123 REAL, intent(in):: dlonid(:) 124 real, intent(in):: fdat(:) 125 real, intent(in):: rlonimod(:) 123 126 124 127 real inter_barx(size(rlonimod)) … … 292 295 function inter_bary(yjdat, fdat, yjmod) 293 296 294 ! Interpolation barycentrique bas ée sur les aires.297 ! Interpolation barycentrique basee sur les aires. 295 298 ! Version unidimensionnelle, en latitude. 296 ! L'indice 1 correspond àl'interface maille 1 -- maille 2.299 ! L'indice 1 correspond a l'interface maille 1 -- maille 2. 297 300 298 301 use assert_m, only: assert … … 301 304 302 305 REAL, intent(in):: yjdat(:) 303 ! (angles, ordonn ées des interfaces des mailles des données, in306 ! (angles, ordonnees des interfaces des mailles des donnees, in 304 307 ! degrees, in increasing order) 305 308 306 REAL, intent(in):: fdat(:) ! champ de donn ées309 REAL, intent(in):: fdat(:) ! champ de donnees 307 310 308 311 REAL, intent(in):: yjmod(:) 309 ! (ordonn ées des interfaces des mailles du modèle)312 ! (ordonnees des interfaces des mailles du modele) 310 313 ! (in degrees, in strictly increasing order) 311 314 312 REAL inter_bary(size(yjmod)) ! champ du mod èle315 REAL inter_bary(size(yjmod)) ! champ du modele 313 316 314 317 ! Variables local to the procedure: 315 318 316 319 REAL y0, dy, dym 317 INTEGER jdat ! indice du champ de donn ées318 integer jmod ! indice du champ du mod èle320 INTEGER jdat ! indice du champ de donnees 321 integer jmod ! indice du champ du modele 319 322 320 323 !------------------------------------ -
LMDZ5/trunk/libf/dyn3dmem/interpre.F
r1632 r1658 1 1 ! 2 ! $Id: interpre.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: interpre.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 subroutine interpre(q,qppm,w,fluxwppm,masse, -
LMDZ5/trunk/libf/dyn3dmem/logic.h
r1632 r1658 1 1 ! 2 ! $ Header$2 ! $Id: logic.h 1319 2010-02-23 21:29:54Z fairhead $ 3 3 ! 4 4 ! … … 9 9 COMMON/logic/ purmats,iflag_phys,forward,leapf,apphys, & 10 10 & statcl,conser,apdiss,apdelq,saison,ecripar,fxyhypb,ysinus & 11 & ,read_start,ok_guide,ok_strato,ok_gradsfile 11 & ,read_start,ok_guide,ok_strato,ok_gradsfile & 12 & ,ok_limit,ok_etat0 12 13 13 14 LOGICAL purmats,forward,leapf,apphys,statcl,conser, & 14 15 & apdiss,apdelq,saison,ecripar,fxyhypb,ysinus & 15 & ,read_start,ok_guide,ok_strato,ok_gradsfile 16 & ,read_start,ok_guide,ok_strato,ok_gradsfile & 17 & ,ok_limit,ok_etat0 16 18 17 19 INTEGER iflag_phys -
LMDZ5/trunk/libf/dyn3dmem/ppm3d.F
r1632 r1658 1 1 ! 2 ! $Id: ppm3d.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: ppm3d.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 -
LMDZ5/trunk/libf/dyn3dmem/pres2lev.F90
r1632 r1658 60 60 DO k=1,ni*nj 61 61 IF (pn(k,ln) >= zpo(k,1) ) THEN 62 varn(k,ln) = varo(k,1)62 varn(k,ln) = zvaro(k,1) 63 63 ELSE IF (pn(k,ln) <= zpo(k,lmo)) THEN 64 64 varn(k,ln) = zvaro(k,lmo) -
LMDZ5/trunk/libf/dyn3dmem/ran1.F
r1632 r1658 1 1 ! 2 ! $Id: ran1.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: ran1.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 FUNCTION RAN1(IDUM) -
LMDZ5/trunk/libf/dyn3dmem/sortvarc0.F
r1632 r1658 1 1 ! 2 ! $Id: sortvarc0.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: sortvarc0.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 SUBROUTINE sortvarc0 -
LMDZ5/trunk/libf/dyn3dmem/traceurpole.F
r1632 r1658 1 1 ! 2 ! $Id: traceurpole.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: traceurpole.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 subroutine traceurpole(q,masse) -
LMDZ5/trunk/libf/dyn3dmem/ugeostr.F
r1632 r1658 1 1 ! 2 ! $Id: ugeostr.F 1 299 2010-01-20 14:27:21Z fairhead $2 ! $Id: ugeostr.F 1403 2010-07-01 09:02:53Z fairhead $ 3 3 ! 4 4 subroutine ugeostr(phi,ucov)
Note: See TracChangeset
for help on using the changeset viewer.