Changeset 2037
- Timestamp:
- May 6, 2014, 4:56:20 PM (11 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 4 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d/calfis.F
r1987 r2037 163 163 REAL unskap, pksurcp 164 164 c 165 cIM diagnostique PVteta, Amip2166 INTEGER,PARAMETER :: ntetaSTD=3167 REAL,SAVE :: rtetaSTD(ntetaSTD)=(/350.,380.,405./) ! Earth-specific, beware !!168 REAL PVteta(ngridmx,ntetaSTD)169 c170 165 REAL flxwfi(ngridmx,llm) ! Flux de masse verticale sur la grille physiq 171 166 c … … 431 426 432 427 ENDDO 433 c434 if (planet_type=="earth") then435 #ifdef CPP_PHYS436 ! PVtheta calls tetalevel, which is in the physics437 cIM calcul PV a teta=350, 380, 405K438 CALL PVtheta(ngridmx,llm,pucov,pvcov,pteta,439 $ ztfi,zplay,zplev,440 $ ntetaSTD,rtetaSTD,PVteta)441 #endif442 endif443 428 c 444 429 c On change de grille, dynamique vers physiq, pour le flux de masse verticale … … 491 476 . zdqfi, 492 477 . zdpsrf, 493 cIM diagnostique PVteta, Amip2 494 . pducov, 495 . PVteta) 478 . pducov) 496 479 497 480 else if ( planet_type=="generic" ) then -
LMDZ5/trunk/libf/dyn3dmem/calfis_loc.F
r1987 r2037 219 219 REAL unskap, pksurcp 220 220 c 221 cIM diagnostique PVteta, Amip2222 INTEGER,PARAMETER :: ntetaSTD=3223 REAL,SAVE :: rtetaSTD(ntetaSTD)=(/350.,380.,405./) ! Earth-specific, beware !!224 REAL PVteta(klon,ntetaSTD)225 226 227 221 REAL SSUM 228 222 … … 252 246 klon=klon_mpi 253 247 254 PVteta(:,:)=0.255 256 248 c 257 249 IF ( firstcal ) THEN … … 510 502 endif 511 503 512 513 IF (is_sequential.and.(planet_type=="earth")) THEN514 #ifdef CPP_PHYS515 ! PVtheta calls tetalevel, which is in the physics516 cIM calcul PV a teta=350, 380, 405K517 CALL PVtheta(ngridmx,llm,pucov,pvcov,pteta,518 $ ztfi,zplay,zplev,519 $ ntetaSTD,rtetaSTD,PVteta)520 c521 #endif522 ENDIF523 524 504 c On change de grille, dynamique vers physiq, pour le flux de masse verticale 525 505 c$OMP DO SCHEDULE(STATIC,OMP_CHUNK) … … 707 687 . zdqfi_omp, 708 688 . zdpsrf_omp, 709 cIM diagnostique PVteta, Amip2 710 . pducov, 711 . PVteta) 689 . pducov) 712 690 713 691 else if ( planet_type=="generic" ) then -
LMDZ5/trunk/libf/dyn3dpar/calfis_p.F
r1987 r2037 217 217 REAL unskap, pksurcp 218 218 c 219 cIM diagnostique PVteta, Amip2220 INTEGER,PARAMETER :: ntetaSTD=3221 REAL,SAVE :: rtetaSTD(ntetaSTD)=(/350.,380.,405./) ! Earth-specific, beware !!222 REAL PVteta(klon,ntetaSTD)223 224 219 REAL SSUM 225 220 … … 249 244 klon=klon_mpi 250 245 251 PVteta(:,:)=0.252 253 246 c 254 247 IF ( firstcal ) THEN … … 484 477 endif 485 478 486 487 IF (is_sequential.and.(planet_type=="earth")) THEN488 #ifdef CPP_PHYS489 ! PVtheta calls tetalevel, which is in the physics490 cIM calcul PV a teta=350, 380, 405K491 CALL PVtheta(ngridmx,llm,pucov,pvcov,pteta,492 $ ztfi,zplay,zplev,493 $ ntetaSTD,rtetaSTD,PVteta)494 c495 #endif496 ENDIF497 498 479 c On change de grille, dynamique vers physiq, pour le flux de masse verticale 499 480 CALL gr_dyn_fi_p(llm,iip1,jjp1,klon,flxw,flxwfi) … … 668 649 . zdqfi_omp, 669 650 . zdpsrf_omp, 670 cIM diagnostique PVteta, Amip2 671 . pducov, 672 . PVteta) 651 . pducov) 673 652 674 653 else if ( planet_type=="generic" ) then -
LMDZ5/trunk/libf/phydev/physiq.F90
r2002 r2037 8 8 & flxmass_w, & 9 9 & d_u, d_v, d_t, d_qx, d_ps & 10 & , dudyn & 11 & , PVteta) 10 & , dudyn) 12 11 13 12 USE dimphy, only : klon,klev … … 59 58 real,intent(out) :: d_ps(klon) ! physics tendency on surface pressure 60 59 real,intent(in) :: dudyn(iim+1,jjmp1,klev) ! Not used 61 !FH! REAL PVteta(klon,nbteta)62 ! REAL PVteta(klon,1)63 real,intent(in) :: PVteta(klon,3) ! Not used ; should match definition64 ! in calfis.F65 60 66 61 integer,save :: itau=0 ! counter to count number of calls to physics -
LMDZ5/trunk/libf/phylmd/lmdz1d.F90
r2023 r2037 209 209 integer jjmp1 210 210 parameter (jjmp1=jjm+1-1/jjm) 211 INTEGER nbteta212 PARAMETER(nbteta=3)213 211 REAL dudyn(iim+1,jjmp1,llm) 214 REAL PVteta(1,nbteta)215 212 INTEGER read_climoz 216 213 !Al1 … … 803 800 & u,v,temp,q,omega2, & 804 801 & du_phys,dv_phys,dt_phys,dq,dpsrf, & 805 & dudyn ,PVteta)802 & dudyn) 806 803 firstcall=.false. 807 804 -
LMDZ5/trunk/libf/phylmd/phys_output_mod.F90
r2002 r2037 26 26 27 27 SUBROUTINE phys_output_open(rlon,rlat,pim,tabij,ipt,jpt,plon,plat, & 28 jjmp1,nlevSTD,clevSTD,rlevSTD,nbteta, & 29 ctetaSTD, dtime, ok_veget, & 28 jjmp1,nlevSTD,clevSTD,rlevSTD, dtime, ok_veget, & 30 29 type_ocean, iflag_pbl,ok_mensuel,ok_journe, & 31 30 ok_hf,ok_instan,ok_LES,ok_ade,ok_aie, read_climoz, & … … 82 81 83 82 INTEGER :: jjmp1 84 INTEGER :: n bteta, nlevSTD, radpas83 INTEGER :: nlevSTD, radpas 85 84 LOGICAL :: ok_mensuel, ok_journe, ok_hf, ok_instan 86 85 LOGICAL :: ok_LES,ok_ade,ok_aie,flag_aerosol_strat … … 106 105 CHARACTER(LEN=2) :: bb3 107 106 CHARACTER(LEN=6) :: type_ocean 108 CHARACTER(LEN=3) :: ctetaSTD(nbteta)109 107 INTEGER, DIMENSION(iim*jjmp1) :: ndex2d 110 108 INTEGER, DIMENSION(iim*jjmp1*klev) :: ndex3d -
LMDZ5/trunk/libf/phylmd/physiq.F90
r2009 r2037 8 8 flxmass_w, & 9 9 d_u, d_v, d_t, d_qx, d_ps & 10 , dudyn & 11 , PVteta) 10 , dudyn) 12 11 13 12 USE ioipsl, only: histbeg, histvert, histdef, histend, histsync, & … … 104 103 !! d_qx----output-R-tendance physique de "qx" (kg/kg/s) 105 104 !! d_ps----output-R-tendance physique de la pression au sol 106 !!IM107 !! PVteta--output-R-vorticite potentielle a des thetas constantes108 105 !!====================================================================== 109 106 include "dimensions.h" … … 250 247 !IM definition dynamique o_trac dans phys_output_open 251 248 ! type(ctrl_out) :: o_trac(nqtot) 252 ! 253 !IM Amip2 PV a theta constante 254 ! 255 INTEGER nbteta 256 PARAMETER(nbteta=3) 257 CHARACTER*3 ctetaSTD(nbteta) 258 DATA ctetaSTD/'350','380','405'/ 259 SAVE ctetaSTD 260 !$OMP THREADPRIVATE(ctetaSTD) 261 REAL rtetaSTD(nbteta) 262 DATA rtetaSTD/350., 380., 405./ 263 SAVE rtetaSTD 264 !$OMP THREADPRIVATE(rtetaSTD) 265 ! 266 REAL PVteta(klon,nbteta) 267 ! 268 !MI Amip2 PV a theta constante 269 270 !ym INTEGER klevp1, klevm1 271 !ym PARAMETER(klevp1=klev+1,klevm1=klev-1) 272 !ym include "raddim.h" 273 ! 274 ! 275 !IM Amip2 249 276 250 ! variables a une pression donnee 277 251 ! … … 1256 1230 call phys_output_open(rlon,rlat,nCFMIP,tabijGCM, & 1257 1231 iGCM,jGCM,lonGCM,latGCM, & 1258 jjmp1,nlevSTD,clevSTD,rlevSTD, & 1259 nbteta, ctetaSTD, dtime,ok_veget, & 1232 jjmp1,nlevSTD,clevSTD,rlevSTD, dtime,ok_veget, & 1260 1233 type_ocean,iflag_pbl,ok_mensuel,ok_journe, & 1261 1234 ok_hf,ok_instan,ok_LES,ok_ade,ok_aie, &
Note: See TracChangeset
for help on using the changeset viewer.