- Timestamp:
- Nov 10, 2015, 9:51:52 AM (9 years ago)
- Location:
- LMDZ5/trunk/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3d_common/infotrac.F90
r2372 r2391 59 59 60 60 SUBROUTINE infotrac_init 61 USE control_mod 61 USE control_mod, ONLY: planet_type, config_inca 62 62 #ifdef REPROBUS 63 63 USE CHEM_REP, ONLY : Init_chem_rep_trac … … 276 276 ! Y-a-t-il 1 ou 2 noms de traceurs? -> On regarde s'il y a un 277 277 ! espace ou pas au milieu de la chaine. 278 continu= 1279 nouveau_traceurdef= 0278 continu=.true. 279 nouveau_traceurdef=.false. 280 280 iiq=1 281 281 do while (continu) 282 282 if (tchaine(iiq:iiq).eq.' ') then 283 nouveau_traceurdef= 1284 continu= 0283 nouveau_traceurdef=.true. 284 continu=.false. 285 285 else if (iiq.lt.LEN_TRIM(tchaine)) then 286 286 iiq=iiq+1 287 287 else 288 continu= 0288 continu=.false. 289 289 endif 290 290 enddo -
LMDZ5/trunk/libf/phylmd/readchlorophyll.F90
r2346 r2391 13 13 grid2dto1d_glo 14 14 USE mod_phys_lmdz_mpi_data, ONLY : is_mpi_root 15 USE mod_phys_lmdz_para 16 USE phys_state_var_mod 17 USE phys_local_var_mod 18 USE dimphy 15 USE mod_phys_lmdz_para, ONLY: scatter 16 USE phys_state_var_mod, ONLY: chl_con 19 17 20 18 implicit none … … 93 91 CALL nf95_inq_varid(ncid_in, "CHL", varid) 94 92 ncerr = nf90_get_var(ncid_in, varid, chlorocon) 95 print *,'code erreur read aerosolstrato=', ncerr, varid93 print *,'code erreur readchlorophyll=', ncerr, varid 96 94 97 95 CALL nf95_close(ncid_in) … … 99 97 !---select the correct month 100 98 IF (mth_cur.LT.1.OR.mth_cur.GT.12) THEN 101 print *,'probleme avec le mois dans read aerosolstrat=', mth_cur99 print *,'probleme avec le mois dans readchlorophyll =', mth_cur 102 100 ENDIF 103 101 chlorocon_mois(:,:) = chlorocon(:,:,mth_cur) … … 109 107 print*,"chrolophyll current month",mth_cur 110 108 do i=1,klon_glo 111 if(isnan(chlorocon_mois_glo(i)))then 109 ! if(isnan(chlorocon_mois_glo(i)))then ! isnan() is not in the Fortran standard... 110 ! Another way to check for NaN: 111 if(chlorocon_mois_glo(i).ne.chlorocon_mois_glo(i)) then 112 112 chlorocon_mois_glo(i)=0. 113 113 endif -
LMDZ5/trunk/libf/phylmd/surf_ocean_mod.F90
r2322 r2391 21 21 22 22 use albedo, only: alboc, alboc_cd 23 USE dimphy 23 USE dimphy, ONLY: klon, zmasq 24 24 USE surface_data, ONLY : type_ocean 25 25 USE ocean_forced_mod, ONLY : ocean_forced_noice 26 26 USE ocean_slab_mod, ONLY : ocean_slab_noice 27 27 USE ocean_cpl_mod, ONLY : ocean_cpl_noice 28 USE indice_sol_mod 28 USE indice_sol_mod, ONLY : nbsrf, is_oce 29 29 ! 30 30 ! This subroutine will make a call to ocean_XXX_noice according to the ocean mode (force, … … 92 92 REAL, DIMENSION(klon) :: radsol 93 93 REAL, DIMENSION(klon) :: cdragq ! Cdrag pour l'evaporation 94 CHARACTER(len=20),PARAMETER :: modname="surf_ocean" 94 95 95 96 ! End definition … … 217 218 ENDDO 218 219 ELSE 219 STOP'version non prevue'220 CALL abort_physic(modname,'version non prevue',1) 220 221 ENDIF 221 222 ! -
LMDZ5/trunk/libf/phylmd/yamada_c.F90
r2346 r2391 5 5 & ,pu,pv,pt,d_u,d_v,d_t,cd,q2,km,kn,kq,d_t_diss,ustar & 6 6 & ,iflag_pbl,okiophys) 7 use dimphy7 USE dimphy, ONLY: klon, klev 8 8 USE print_control_mod, ONLY: prt_level 9 9 IMPLICIT NONE … … 113 113 real w2yam(klon,klev),t2yam(klon,klev) 114 114 logical,save :: firstcall=.true. 115 115 !$OMP THREADPRIVATE(firstcall) 116 CHARACTER(len=20),PARAMETER :: modname="yamada_c" 116 117 REAL, DIMENSION(klon,klev+1) :: fluxu,fluxv,fluxt 117 118 REAL, DIMENSION(klon,klev+1) :: dddu,dddv,dddt … … 119 120 REAL, DIMENSION(klon,klev+1) :: masseb,q2old,q2neg 120 121 121 !$OMP THREADPRIVATE(firstcall)122 122 frif(ri)=0.6588*(ri+0.1776-sqrt(ri*ri-0.3221*ri+0.03156)) 123 123 falpha(ri)=1.318*(0.2231-ri)/(0.2341-ri) … … 571 571 572 572 else 573 stop'Cas nom prevu dans yamada4'573 CALL abort_physic(modname,'Cas nom prevu dans yamada4',1) 574 574 575 575 endif ! Fin du cas 8
Note: See TracChangeset
for help on using the changeset viewer.