Changeset 1048
- Timestamp:
- Sep 23, 2013, 7:02:50 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/makelmdz
r1019 r1048 595 595 ######################################################################## 596 596 cd $LMDGCM 597 find libf -name '*.[Fh]' -print > tmp77598 find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print > tmp90599 find libf -name '*.[Fh90]' -print >> tmp90597 find libf -name '*.[Fh]' -print | sort > tmp77 598 find libf -name '*.[Fh]' -exec egrep -i " *use *ioipsl" {} \; -print | sort > tmp90 599 find libf -name '*.[Fh90]' -print | sort >> tmp90 600 600 ######### CAS PARTICULIER CHIMIE TITAN 601 601 if [[ "$physique" == "titan" ]] 602 602 then 603 find libf -name '*.[ch]' -print > tmpC603 find libf -name '*.[ch]' -print | sort > tmpC 604 604 fi 605 605 ######### -
trunk/LMDZ.TITAN/libf/phytitan/YOMCST.h
r102 r1048 19 19 REAL R,RMD,RMV,RD,RV,RCPD,RCPV,RCVD,RCVV 20 20 REAL RKAPPA,RETV 21 ! ADAPTATION GCM POUR CP(T)22 real cpdet23 external cpdet24 21 ! A1.5,6 Thermodynamic liquid,solid phases 25 22 REAL RCW,RCS -
trunk/LMDZ.TITAN/libf/phytitan/ajsec.F
r102 r1048 7 7 8 8 use dimphy 9 use cpdet_mod, only: t2tpot, tpot2t 9 10 IMPLICIT none 10 11 c====================================================================== -
trunk/LMDZ.TITAN/libf/phytitan/clesphys.h
r495 r1048 38 38 39 39 COMMON/clesphys_r/ & 40 & ecritphy, solaire, z0, lmixmin, ksta, inertie, 40 & ecritphy, solaire, z0, lmixmin, ksta, inertie, emis, & 41 41 & tx,tcorrect,p_prodaer,xnuf 42 42 -
trunk/LMDZ.TITAN/libf/phytitan/clmain.F
r495 r1048 35 35 USE interface_surf 36 36 use dimphy 37 use cpdet_mod, only: t2tpot 37 38 IMPLICIT none 38 39 c====================================================================== … … 342 343 y_cd_m(1:knon) = ycoefh(1:knon,1) 343 344 endif 345 344 346 call ustarhb(knon,yu,yv,y_cd_m, yustar) 345 347 … … 478 480 USE interface_surf 479 481 use dimphy 482 use cpdet_mod, only: t2tpot,tpot2t,cpdet 480 483 481 484 IMPLICIT none … … 886 889 887 890 use dimphy 891 use cpdet_mod, only: cpdet,t2tpot 888 892 IMPLICIT none 889 893 c====================================================================== … … 1169 1173 1170 1174 use dimphy 1175 use cpdet_mod, only: cpdet 1171 1176 IMPLICIT none 1172 1177 c====================================================================== -
trunk/LMDZ.TITAN/libf/phytitan/comcstfi.h
r3 r1048 6 6 7 7 REAL pi,rad,g,r,cpp,rcp,dtphys,daysec,mugaz,omeg 8 real cpdet9 external cpdet10 8 11 9 c----------------------------------------------------------------------- -
trunk/LMDZ.TITAN/libf/phytitan/diagphy.F
r102 r1048 209 209 210 210 use dimphy 211 use cpdet_mod, only: cpdet 211 212 IMPLICIT NONE 212 213 C -
trunk/LMDZ.TITAN/libf/phytitan/interface_surf.F90
r495 r1048 45 45 & tsol_rad, tsurf_new, alb_new) 46 46 47 use write_field_phy 48 use cpdet_mod, only: cpdet 49 50 IMPLICIT none 47 51 48 52 ! Cette routine sert d'aiguillage entre l'atmosphere et la surface en general … … 141 145 142 146 if (check) write(*,*) 'Entree ', modname 143 147 144 148 ! Initialisations diverses 145 149 ! … … 149 153 150 154 ! ADAPTATION GCM POUR CP(T) 151 zcp(1:klon) = cpdet(tsurf(1:klon)) 155 do ii=1,klon 156 zcp(ii)=cpdet(tsurf(ii)) 157 enddo 152 158 153 159 IF (soil_model) THEN 154 160 CALL soil(dtime, knon, tsurf, tsoil,soilcap, soilflux) 155 161 cal(1:knon) = zcp(1:knon) / soilcap(1:knon) 162 ! for tests: 163 ! call writefield_phy('interfsurf_hq_zcp',zcp,1) 164 ! call writefield_phy('interfsurf_hq_cal',cal,1) 165 ! call writefield_phy('interfsurf_hq_soilcap',soilcap,1) 156 166 ! print*,"DIAGNOSTIC SOIL" 157 167 ! print*,"soilcap=",soilcap … … 186 196 & tsurf_new, fluxsens, dflux_s) 187 197 198 use write_field_phy 199 use cpdet_mod, only: t2tpot, tpot2t 200 201 IMPLICIT none 202 188 203 ! Cette routine calcule les fluxs en h a l'interface et eventuellement 189 204 ! une temperature de surface (au cas ou ok_veget = false) … … 317 332 ENDDO 318 333 334 ! for tests: write output fields... 335 ! call writefield_phy('calcul_fluxs_d_ts',d_ts,1) 336 ! call writefield_phy('calcul_fluxs_fluxsens',fluxsens,1) 337 ! call writefield_phy('calcul_fluxs_dflux_s',dflux_s,1) 338 319 339 END SUBROUTINE calcul_fluxs 320 340 ! -
trunk/LMDZ.TITAN/libf/phytitan/physiq.F
r953 r1048 61 61 use dimphy 62 62 USE comgeomphy 63 use cpdet_mod, only: cpdet, t2tpot 63 64 IMPLICIT none 64 65 c====================================================================== … … 279 280 REAL zday 280 281 REAL zls,zlsdeg,zlsm1 282 save zlsm1 281 283 c 282 284 INTEGER i, k, iq, ig, j, ll, l -
trunk/LMDZ.TITAN/libf/phytitan/rcm1d.F
r904 r1048 1 2 1 PROGRAM rcm1d 3 2 … … 5 4 use control_mod 6 5 use comgeomphy 6 use cpdet_mod, only: ini_cpdet 7 7 IMPLICIT NONE 8 8 … … 474 474 #include "../dyn3d/disvert_noterre.F" 475 475 #include "../dyn3d/abort_gcm.F" 476 #include "../dyn3d/dump2d.F" 477 #include "../dyn3d/cpdet.F" 476 !#include "../dyn3d/dump2d.F" 478 477 479 478 c*********************************************************************** -
trunk/LMDZ.VENUS/libf/phyvenus/grid_noro.F
r808 r1048 52 52 C======================================================================= 53 53 54 IMPLICIT INTEGER (I,J) 55 IMPLICIT REAL(X,Z) 54 IMPLICIT none 56 55 57 56 #include "dimensions.h" 57 #include "YOMCST.h" 58 58 59 59 INTEGER imdep, jmdep … … 63 63 INTEGER imar, jmar 64 64 c parametres lies au fichier d entree... A documenter... 65 parameter(iext=216, epsfra = 1.e-5) 65 integer iext 66 parameter(iext=216) 66 67 REAL xusn(imdep+2*iext),yusn(jmdep+2) 67 68 REAL zusn(imdep+2*iext,jmdep+2) 68 69 70 c local var 71 real zdeltax,zdeltay,zlenx,zleny,xincr 72 real zbordnor,zbordsud,zbordest,zbordoue,weighx,weighy 73 real zllmmea,zllmstd,zllmsig,zllmgam,zllmpic,zllmval,zllmthe 74 real zminthe,xk,xl,xm,xp,xq,xw 75 real zmeanor,zmeasud,zstdnor,zstdsud,zsignor,zsigsud 76 real zweinor,zweisud,zpicnor,zpicsud,zvalnor,zvalsud 77 integer i,j,ii,jj 78 69 79 C INTERMEDIATE FIELDS (CORRELATIONS OF OROGRAPHY GRADIENT) 70 80 … … 87 97 c 88 98 print *,' parametres de l orographie a l echelle sous maille' 89 xpi=acos(-1.) 90 rad = 6 371 229. 91 zdeltay=2.*xpi/REAL(jmdep)*rad 99 100 zdeltay=2.*RPI/REAL(jmdep)*RA 92 101 c 93 102 c quelques tests de dimensions: … … 123 132 DO i=1,iext 124 133 zusn(i,j+1)=zdata(imdep-iext+i,j) 125 xusn(i)=xdata(imdep-iext+i)-2.* xpi134 xusn(i)=xdata(imdep-iext+i)-2.*RPI 126 135 zusn(imdep+iext+i,j+1)=zdata(i,j) 127 xusn(imdep+iext+i)=xdata(i)+2.* xpi136 xusn(imdep+iext+i)=xdata(i)+2.*RPI 128 137 ENDDO 129 138 ENDDO … … 197 206 c SUMMATION OVER GRIDPOINT AREA 198 207 c 199 zleny= xpi/REAL(jmdep)*rad200 xincr= xpi/2./REAL(jmdep)208 zleny=RPI/REAL(jmdep)*RA 209 xincr=RPI/2./REAL(jmdep) 201 210 DO ii = 1, imar+1 202 211 DO jj = 1, jmar … … 208 217 zlenx=zleny*cos(yusn(j)) 209 218 zdeltax=zdeltay*cos(yusn(j)) 210 zbordnor=(c(jj)-yusn(j)+xincr)* rad211 zbordsud=(yusn(j)-d(jj)+xincr)* rad219 zbordnor=(c(jj)-yusn(j)+xincr)*RA 220 zbordsud=(yusn(j)-d(jj)+xincr)*RA 212 221 weighy=AMAX1(0., 213 222 * amin1(zbordnor,zbordsud,zleny)) 214 223 IF(weighy.ne.0)THEN 215 224 DO i = 2, imdep+2*iext-1 216 zbordest=(xusn(i)-a(ii)+xincr)* rad*cos(yusn(j))217 zbordoue=(b(ii)+xincr-xusn(i))* rad*cos(yusn(j))225 zbordest=(xusn(i)-a(ii)+xincr)*RA*cos(yusn(j)) 226 zbordoue=(b(ii)+xincr-xusn(i))*RA*cos(yusn(j)) 218 227 weighx=AMAX1(0., 219 228 * amin1(zbordest,zbordoue,zlenx))
Note: See TracChangeset
for help on using the changeset viewer.