Changeset 1415
- Timestamp:
- Apr 14, 2015, 9:46:47 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3d_common/ugeostr.F90
r1300 r1415 47 47 ENDDO 48 48 ENDDO 49 call dump2d(jjm,llm,um,'Vent-u geostrophique')50 49 51 50 ! calcul des champ de vent: -
trunk/LMDZ.GENERIC/libf/dynlonlat_phylonlat/phystd/newstart.F
r1403 r1415 15 15 c======================================================================= 16 16 17 use infotrac, only: in iadvtrac, nqtot, tname17 use infotrac, only: infotrac_init, nqtot, tname 18 18 USE tracer_h, ONLY: igcm_co2_ice, igcm_h2o_vap, igcm_h2o_ice 19 19 USE comsoil_h, ONLY: nsoilmx, layer, mlayer, inertiedat … … 25 25 ! USE ioipsl_getincom, only: getin 26 26 USE ioipsl_getincom_p, only: getin_p 27 use control_mod, only: day_step, iphysiq, anneeref 27 use control_mod, only: day_step, iphysiq, anneeref, planet_type 28 28 use phyredem, only: physdem0, physdem1 29 29 use iostart, only: open_startphy … … 198 198 call initcomgeomphy 199 199 ! Load tracer number and names: 200 call iniadvtrac(nqtot,numvanle) 200 ! call iniadvtrac(nqtot,numvanle) 201 call infotrac_init 201 202 ! allocate arrays 202 203 allocate(q(iip1,jjp1,llm,nqtot)) 203 204 allocate(qsurf(ngridmx,nqtot)) 205 206 planet_type="generic" 204 207 205 208 c======================================================================= … … 1637 1640 1638 1641 1639 CALL dynredem0("restart.nc",day_ini, anneeref,phis,nqtot)1640 CALL dynredem1("restart.nc",0.0,vcov,ucov,teta,q, nqtot,masse,ps)1642 CALL dynredem0("restart.nc",day_ini,phis) 1643 CALL dynredem1("restart.nc",0.0,vcov,ucov,teta,q,masse,ps) 1641 1644 C 1642 1645 C Ecriture etat initial physique … … 1646 1649 & nqtot,dtphys,real(day_ini),0.0, 1647 1650 & airefi,albfi,ithfi,zmea,zstd,zsig,zgam,zthe) 1648 call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nq ,1651 call physdem1("restartfi.nc",nsoilmx,ngridmx,llm,nqtot, 1649 1652 & dtphys,real(day_ini), 1650 1653 & tsurf,tsoil,emis,q2,qsurf, -
trunk/LMDZ.GENERIC/libf/dynlonlat_phylonlat/phystd/start2archive.F
r1403 r1415 19 19 c======================================================================= 20 20 21 use infotrac, only: in iadvtrac, nqtot, tname21 use infotrac, only: infotrac_init, nqtot, tname 22 22 USE comsoil_h 23 23 USE comgeomfi_h, ONLY: lati, long, area … … 28 28 USE ioipsl_getincom 29 29 USE planete_mod, only: year_day 30 USE control_mod, only: planet_type 30 31 USE callkeys_mod, ONLY: ok_slab_ocean 31 32 use filtreg_mod, only: inifilr … … 154 155 IF (.not. ALLOCATED(area)) ALLOCATE(area(ngridmx)) 155 156 157 planet_type="generic" 158 156 159 c======================================================================= 157 160 c Lecture des donnees 158 161 c======================================================================= 159 162 ! Load tracer number and names: 160 call iniadvtrac(nqtot,numvanle) 163 ! call iniadvtrac(nqtot,numvanle) 164 call infotrac_init 161 165 162 166 ! allocate arrays: … … 168 172 169 173 fichnom = 'start.nc' 170 CALL dynetat0(fichnom, nqtot,vcov,ucov,teta,q,masse,174 CALL dynetat0(fichnom,vcov,ucov,teta,q,masse, 171 175 . ps,phis,timedyn) 172 176 -
trunk/LMDZ.GENERIC/libf/phystd/phyetat0.F90
r1384 r1415 378 378 write(*,*) "phyetat0: Failed loading <",trim(txt),">" 379 379 write(*,*) " ",trim(txt)," is set to zero" 380 qsurf(:,iq) = 0. 380 381 else 381 382 write(*,*) "phyetat0: Surface tracer <",trim(txt),"> range:", & -
trunk/LMDZ.MARS/libf/dyn3d/defrun_new.F
r1399 r1415 1 1 SUBROUTINE defrun_new( tapedef, etatinit ) 2 #ifndef CPP_PARA 2 3 c 3 4 c----------------------------------------------------------------------- … … 576 577 &in run.def for this version... -> STOP ! ' 577 578 end if 578 579 RETURN 579 #else 580 write(*,*) "defrun_new should not be used in parallel mode!" 581 stop 582 #endif 583 ! of #ifndef CPP_PARA 580 584 END -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/datareadnc.F
r1403 r1415 235 235 . iim, jjp1, rlonv, rlatu, zmea,zstd,zsig,zgam,zthe) 236 236 237 CALL dump2d(iip1,jjp1,zmea,'zmea')238 CALL dump2d(iip1,jjp1,zstd,'zstd')239 CALL dump2d(iip1,jjp1,zsig,'zsig')240 CALL dump2d(iip1,jjp1,zgam,'zgam')241 CALL dump2d(iip1,jjp1,zthe,'zthe')242 243 237 endif 244 238 … … 274 268 z0(1:iimp1*jjp1)=pfield(1:iimp1*jjp1)*.01 275 269 ! multiplied by 0.01 to have z0 in m 276 CALL dump2d(iimp1,jjp1,z0,'z0 in m')277 270 elseif (k.eq.1) then ! albedo 278 271 do i=1,iimp1*jjp1 … … 300 293 301 294 phisinit(1:iimp1*jjp1)=1000.*phisinit(1:iimp1*jjp1) 302 CALL dump2d(iimp1,jjp1,phisinit,'Altitude in m')303 295 phisinit(:)=g*phisinit(:) 304 296 -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/newstart.F
r1403 r1415 16 16 17 17 use ioipsl_getincom, only: getin 18 use infotrac, only: in iadvtrac, nqtot, tname18 use infotrac, only: infotrac_init, nqtot, tname 19 19 use tracer_mod, only: noms, mmol, 20 20 & igcm_dust_number, igcm_dust_mass, … … 26 26 & co2ice, emis 27 27 use comsoil_h, only: inertiedat, layer, mlayer, nsoilmx, tsoil 28 use control_mod, only: day_step, iphysiq, anneeref 28 use control_mod, only: day_step, iphysiq, anneeref, planet_type 29 29 use phyredem, only: physdem0, physdem1 30 30 use iostart, only: open_startphy … … 179 179 preff = 610. ! for Mars, instead of 101325. (Earth) 180 180 pa= 20 ! for Mars, instead of 500 (Earth) 181 planet_type="mars" 181 182 182 183 ! initialize "serial/parallel" related stuff … … 185 186 186 187 ! Load tracer number and names: 187 call iniadvtrac(nqtot,numvanle) 188 ! call iniadvtrac(nqtot,numvanle) 189 call infotrac_init 188 190 ! allocate arrays 189 191 allocate(q(iip1,jjp1,llm,nqtot)) … … 1628 1630 phis(iip1,:) = phis(1,:) 1629 1631 1630 CALL inidissip ( lstardis, nitergdiv, nitergrot, niterh,1631 * tetagdiv, tetagrot , tetatemp )1632 c CALL inidissip ( lstardis, nitergdiv, nitergrot, niterh, 1633 c * tetagdiv, tetagrot , tetatemp ) 1632 1634 itau=0 1633 1635 if (choix_1.eq.0) then … … 1644 1646 c $ phi,conser,du,dv,dteta,dp,w, pbaru,pbarv, day_ini ) 1645 1647 1646 CALL dynredem0("restart.nc",day_ini, anneeref,phis,nqtot)1648 CALL dynredem0("restart.nc",day_ini,phis) 1647 1649 CALL dynredem1("restart.nc",hour_ini,vcov,ucov,teta,q, 1648 . nqtot,masse,ps)1650 . masse,ps) 1649 1651 C 1650 1652 C Ecriture etat initial physique -
trunk/LMDZ.MARS/libf/dynlonlat_phylonlat/phymars/start2archive.F
r1403 r1415 19 19 c======================================================================= 20 20 21 use infotrac, only: in iadvtrac, nqtot, tname21 use infotrac, only: infotrac_init, nqtot, tname 22 22 use comsoil_h, only: nsoilmx, inertiedat 23 23 use surfdat_h, only: ini_surfdat_h, qsurf … … 25 25 use comgeomphy, only: initcomgeomphy 26 26 use filtreg_mod, only: inifilr 27 use control_mod, only: planet_type 27 28 implicit none 28 29 … … 120 121 CALL init_phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 121 122 call initcomgeomphy 123 planet_type='mars' 122 124 123 125 c======================================================================= … … 125 127 c======================================================================= 126 128 ! Load tracer number and names: 127 call iniadvtrac(nqtot,numvanle) 129 ! call iniadvtrac(nqtot,numvanle) 130 call infotrac_init 128 131 129 132 ! allocate arrays: … … 135 138 136 139 fichnom = 'start.nc' 137 CALL dynetat0(fichnom, nqtot,vcov,ucov,teta,q,masse,140 CALL dynetat0(fichnom,vcov,ucov,teta,q,masse, 138 141 . ps,phis,timedyn) 139 142
Note: See TracChangeset
for help on using the changeset viewer.