Changeset 2258 for LMDZ5/branches/testing/libf/dyn3d
- Timestamp:
- Apr 13, 2015, 10:21:09 AM (10 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 2218,2221-2237
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3d/calfis.F
r2056 r2258 21 21 $ pdq, 22 22 $ flxw, 23 $ clesphy0,24 23 $ pdufi, 25 24 $ pdvfi, … … 131 130 REAL,INTENT(OUT) :: pdpsfi(iip1,jjp1) ! tendency on surface pressure (Pa/s) 132 131 133 INTEGER,PARAMETER :: longcles = 20134 REAL,INTENT(IN) :: clesphy0( longcles ) ! unused135 136 132 137 133 c Local variables : … … 465 461 . zphis, 466 462 . presnivs, 467 . clesphy0,468 463 . zufi, 469 464 . zvfi, -
LMDZ5/branches/testing/libf/dyn3d/ce0l.F90
r1999 r2258 41 41 #include "temps.h" 42 42 #include "logic.h" 43 INTEGER, PARAMETER :: longcles=2044 REAL, DIMENSION(longcles) :: clesphy045 43 REAL, DIMENSION(iip1,jjp1) :: masque 46 44 CHARACTER(LEN=15) :: calnd 47 45 REAL, DIMENSION(iip1,jjp1) :: phis ! geopotentiel au sol 48 46 !------------------------------------------------------------------------------- 49 CALL conf_gcm( 99, .TRUE. , clesphy0)47 CALL conf_gcm( 99, .TRUE. ) 50 48 51 49 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) -
LMDZ5/branches/testing/libf/dyn3d/conf_gcm.F90
r2160 r2258 2 2 ! $Id$ 3 3 4 SUBROUTINE conf_gcm( tapedef, etatinit , clesphy0)4 SUBROUTINE conf_gcm( tapedef, etatinit ) 5 5 6 6 USE control_mod … … 23 23 ! etatinit : = TRUE , on ne compare pas les valeurs des para- 24 24 ! -metres du zoom avec celles lues sur le fichier start . 25 ! clesphy0 : sortie . 26 27 LOGICAL etatinit 28 INTEGER tapedef 29 30 INTEGER longcles 31 PARAMETER( longcles = 20 ) 32 REAL clesphy0( longcles ) 25 26 LOGICAL,INTENT(IN) :: etatinit 27 INTEGER,INTENT(IN) :: tapedef 33 28 34 29 ! Declarations : … … 41 36 include "temps.h" 42 37 include "comconst.h" 43 44 ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique45 ! include "clesphys.h"46 38 include "iniprint.h" 47 39 … … 381 373 ip_ebil_dyn = 0 382 374 CALL getin('ip_ebil_dyn',ip_ebil_dyn) 383 384 DO i = 1, longcles385 clesphy0(i) = 0.386 ENDDO387 375 388 376 !cc .... P. Le Van , ajout le 7/03/95 .pour le zoom ... … … 734 722 !Config Help = extension en longitude de la zone du zoom 735 723 !Config ( fraction de la zone totale) 736 dzoomx = 0. 0724 dzoomx = 0.2 737 725 CALL getin('dzoomx',dzoomx) 726 call assert(dzoomx < 1, "conf_gcm: dzoomx must be < 1") 738 727 739 728 !Config Key = dzoomy … … 742 731 !Config Help = extension en latitude de la zone du zoom 743 732 !Config ( fraction de la zone totale) 744 dzoomy = 0. 0733 dzoomy = 0.2 745 734 CALL getin('dzoomy',dzoomy) 735 call assert(dzoomy< 1, "conf_gcm: dzoomy must be < 1") 746 736 747 737 !Config Key = taux -
LMDZ5/branches/testing/libf/dyn3d/gcm.F
r2160 r2258 26 26 ! Only INCA needs these informations (from the Earth's physics) 27 27 USE indice_sol_mod 28 USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb 28 29 #endif 29 30 … … 33 34 ! dynamique -> physique pour l'initialisation 34 35 #ifdef CPP_PHYS 35 USE dimphy 36 USE comgeomphy 37 USE mod_phys_lmdz_para, ONLY : klon_mpi_para_nb 36 ! USE dimphy 37 ! USE comgeomphy 38 38 #endif 39 39 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 90 90 !#include "indicesol.h" 91 91 #endif 92 INTEGER longcles93 PARAMETER ( longcles = 20 )94 REAL clesphy0( longcles )95 SAVE clesphy096 97 98 92 99 93 REAL zdtvr … … 125 119 LOGICAL first 126 120 127 LOGICAL call_iniphys128 data call_iniphys/.true./121 ! LOGICAL call_iniphys 122 ! data call_iniphys/.true./ 129 123 130 124 c+jld variables test conservation energie … … 147 141 REAL :: heure 148 142 149 150 c-----------------------------------------------------------------------151 c variables pour l'initialisation de la physique :152 c ------------------------------------------------153 INTEGER ngridmx154 PARAMETER( ngridmx = 2+(jjm-1)*iim - 1/jjm )155 REAL zcufi(ngridmx),zcvfi(ngridmx)156 REAL latfi(ngridmx),lonfi(ngridmx)157 REAL airefi(ngridmx)158 SAVE latfi, lonfi, airefi159 160 143 c----------------------------------------------------------------------- 161 144 c Initialisations: … … 175 158 c --------------------------------------- 176 159 c 177 ! Ehouarn: dump possibility of using defrun 178 !#ifdef CPP_IOIPSL 179 CALL conf_gcm( 99, .TRUE. , clesphy0 ) 160 CALL conf_gcm( 99, .TRUE.) 180 161 if (mod(iphysiq, iperiod) /= 0) call abort_gcm("conf_gcm", 181 162 s "iphysiq must be a multiple of iperiod", 1) 182 !#else183 ! CALL defrun( 99, .TRUE. , clesphy0 )184 !#endif185 163 186 164 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 199 177 #ifdef CPP_PHYS 200 178 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 201 call InitComgeomphy 179 ! call InitComgeomphy ! now done in iniphysiq 202 180 #endif 203 181 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 215 193 call ioconf_calendar('noleap') 216 194 write(lunout,*)'CALENDRIER CHOISI: Terrestre a 365 jours/an' 217 else if (calend == ' earth_366d') then195 else if (calend == 'gregorian') then 218 196 call ioconf_calendar('gregorian') 219 197 write(lunout,*)'CALENDRIER CHOISI: Terrestre bissextile' … … 316 294 317 295 C 318 C on remet le calendrier àzero si demande296 C on remet le calendrier \`a zero si demande 319 297 c 320 298 IF (start_time /= starttime) then 321 299 WRITE(lunout,*)' GCM: Attention l''heure de depart lue dans le' 322 &,' fichier restart ne correspond pas àcelle lue dans le run.def'300 &,' fichier restart ne correspond pas a celle lue dans le run.def' 323 301 IF (raz_date == 1) then 324 302 WRITE(lunout,*)'Je prends l''heure lue dans run.def' … … 428 406 c ------------------------------- 429 407 430 IF (call_iniphys.and.(iflag_phys==1.or.iflag_phys>=100)) THEN 431 latfi(1)=rlatu(1) 432 lonfi(1)=0. 433 zcufi(1) = cu(1) 434 zcvfi(1) = cv(1) 435 DO j=2,jjm 436 DO i=1,iim 437 latfi((j-2)*iim+1+i)= rlatu(j) 438 lonfi((j-2)*iim+1+i)= rlonv(i) 439 zcufi((j-2)*iim+1+i) = cu((j-1)*iip1+i) 440 zcvfi((j-2)*iim+1+i) = cv((j-1)*iip1+i) 441 ENDDO 442 ENDDO 443 latfi(ngridmx)= rlatu(jjp1) 444 lonfi(ngridmx)= 0. 445 zcufi(ngridmx) = cu(ip1jm+1) 446 zcvfi(ngridmx) = cv(ip1jm-iim) 447 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,aire,airefi) 448 WRITE(lunout,*) 449 . 'GCM: WARNING!!! vitesse verticale nulle dans la physique' 408 IF ((iflag_phys==1).or.(iflag_phys>=100)) THEN 450 409 ! Physics: 451 410 #ifdef CPP_PHYS 452 CALL iniphysiq( ngridmx,llm,daysec,day_ini,dtphys/nsplit_phys,453 & latfi,lonfi,airefi,zcufi,zcvfi,rad,g,r,cpp,411 CALL iniphysiq(iim,jjm,llm,daysec,day_ini,dtphys/nsplit_phys, 412 & rlatu,rlonv,aire,cu,cv,rad,g,r,cpp, 454 413 & iflag_phys) 455 414 #endif 456 call_iniphys=.false. 457 ENDIF ! of IF (call_iniphys.and.(iflag_phys.eq.1)) 415 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) 458 416 459 417 c numero de stockage pour les fichiers de redemarrage: … … 530 488 531 489 532 CALL leapfrog(ucov,vcov,teta,ps,masse,phis,q,clesphy0, 533 . time_0) 490 CALL leapfrog(ucov,vcov,teta,ps,masse,phis,q,time_0) 534 491 535 492 END -
LMDZ5/branches/testing/libf/dyn3d/leapfrog.F
r2056 r2258 4 4 c 5 5 c 6 SUBROUTINE leapfrog(ucov,vcov,teta,ps,masse,phis,q,clesphy0, 7 & time_0) 6 SUBROUTINE leapfrog(ucov,vcov,teta,ps,masse,phis,q,time_0) 8 7 9 8 … … 70 69 #include "academic.h" 71 70 72 ! FH 2008/05/09 On elimine toutes les clefs physiques dans la dynamique73 ! #include "clesphys.h"74 75 INTEGER,PARAMETER :: longcles = 2076 REAL,INTENT(IN) :: clesphy0( longcles ) ! not used77 71 REAL,INTENT(IN) :: time_0 ! not used 78 72 … … 446 440 $ ucov,vcov,teta,q,masse,ps,p,pk,phis,phi , 447 441 $ du,dv,dteta,dq, 448 $ flxw, 449 $ clesphy0, dufi,dvfi,dtetafi,dqfi,dpfi ) 442 $ flxw,dufi,dvfi,dtetafi,dqfi,dpfi ) 450 443 451 444 c ajout des tendances physiques:
Note: See TracChangeset
for help on using the changeset viewer.