Changeset 787 for trunk/LMDZ.GENERIC/libf/dyn3d
- Timestamp:
- Sep 19, 2012, 8:26:55 PM (12 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/dyn3d
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/dyn3d/calfis.F
r751 r787 72 72 #include "comgeom2.h" 73 73 #include "control.h" 74 75 #include "advtrac.h" 76 !! this is to get tnom (tracers name) 74 77 75 78 c Arguments : … … 422 425 423 426 CALL physiq (ngridmx,llm,nq, 427 . tnom, 424 428 , debut,lafin, 425 429 , rday_ecri,heure,dtphys, -
trunk/LMDZ.GENERIC/libf/dyn3d/ini_archive.F
r711 r787 34 34 35 35 c======================================================================= 36 37 USE comsoil_h 36 38 37 39 implicit none … … 49 51 #include "serre.h" 50 52 #include "control.h" 51 #include"comsoil.h"52 53 53 54 #include "netcdf.inc" -
trunk/LMDZ.GENERIC/libf/dyn3d/lect_start_archive.F
r588 r787 3 3 & q,qsurf,surfith,nid) 4 4 5 USE surfdat_h 6 USE comsoil_h 7 USE tracer_h 8 5 9 c======================================================================= 6 10 c … … 22 26 #include "dimensions.h" 23 27 #include "dimphys.h" 24 #include "surfdat.h"25 #include "comsoil.h"26 28 #include "planete.h" 27 29 #include "paramet.h" … … 36 38 #include "lmdstd.h" 37 39 #include "netcdf.inc" 38 #include "tracer.h"39 40 #include"advtrac.h" 40 41 c======================================================================= -
trunk/LMDZ.GENERIC/libf/dyn3d/newstart.F
r699 r787 15 15 c======================================================================= 16 16 17 USE tracer_h 18 USE comsoil_h 19 USE surfdat_h 20 USE comgeomfi_h 21 17 22 implicit none 18 23 19 24 #include "dimensions.h" 20 25 #include "dimphys.h" 21 #include "surfdat.h"22 #include "comsoil.h"23 26 #include "planete.h" 24 27 #include "paramet.h" … … 37 40 #include "netcdf.inc" 38 41 #include "advtrac.h" 39 #include "tracer.h"40 42 c======================================================================= 41 43 c Declarations … … 243 245 ! tnom(:) now contains tracer names 244 246 ! JL12 we will need the tracer names to read start in dyneta0 247 248 ! Initialize global tracer indexes (stored in tracer.h) 249 ! ... this has to be done before phyetat0 250 call initracer(ngridmx,nqmx,tnom) 251 245 252 246 253 c----------------------------------------------------------------------- … … 293 300 . ps,phis,time) 294 301 302 303 ! ALLOCATE ARRAYS IN comgeomfi_h (done in inifis usually) 304 IF (.not. ALLOCATED(lati)) ALLOCATE(lati(ngridmx)) 305 IF (.not. ALLOCATED(long)) ALLOCATE(long(ngridmx)) 306 IF (.not. ALLOCATED(area)) ALLOCATE(area(ngridmx)) 307 cursor = 1 ! added by AS in dimphys. 1 for sequential runs. 308 295 309 write(*,*) 'Reading file STARTFI' 296 310 fichnom = 'startfi.nc' 297 CALL phyetat0 ( fichnom,tab0,Lmodif,nsoilmx,nqmx,311 CALL phyetat0 (ngridmx,fichnom,tab0,Lmodif,nsoilmx,nqmx, 298 312 . day_ini,time, 299 313 . tsurf,tsoil,emis,q2,qsurf, !) ! temporary modif by RDW … … 352 366 c----------------------------------------------------------------------- 353 367 if (choix_1.eq.0) then 354 call tabfi (n id,Lmodif,tab0,day_ini,lllm,p_rad,368 call tabfi (ngridmx,nid,Lmodif,tab0,day_ini,lllm,p_rad, 355 369 . p_omeg,p_g,p_cpp,p_mugaz,p_daysec,time) 356 370 else if (choix_1.eq.1) then 357 371 Lmodif=1 ! Lmodif set to 1 to allow modifications in phyeta0 358 call tabfi (n id_fi,Lmodif,tab0,day_ini,lllm,p_rad,372 call tabfi (ngridmx,nid_fi,Lmodif,tab0,day_ini,lllm,p_rad, 359 373 . p_omeg,p_g,p_cpp,p_mugaz,p_daysec,time) 360 374 endif … … 369 383 kappa = 8.314*1000./(p_mugaz*p_cpp) ! added by RDW 370 384 371 372 385 c======================================================================= 373 386 c INITIALISATIONS DIVERSES 374 387 c======================================================================= 375 ! Initialize global tracer indexes (stored in tracer.h)376 call initracer()377 388 ! Load parameters from run.def file 378 389 CALL defrun_new( 99, .TRUE. ) … … 1413 1424 1414 1425 1415 call physdem1( "restartfi.nc",lonfi,latfi,nsoilmx,nqmx,1426 call physdem1(ngridmx,"restartfi.nc",lonfi,latfi,nsoilmx,nqmx, 1416 1427 . dtphys,float(day_ini), 1417 1428 . time,tsurf,tsoil,emis,q2,qsurf, 1418 1429 . airefi,albfi,ithfi,zmea,zstd,zsig,zgam,zthe, 1419 . cloudfrac,totalfrac,hice )1430 . cloudfrac,totalfrac,hice,tnom) 1420 1431 1421 1432 c======================================================================= -
trunk/LMDZ.GENERIC/libf/dyn3d/start2archive.F
r711 r787 18 18 c 19 19 c======================================================================= 20 21 USE comsoil_h 20 22 21 23 implicit none … … 34 36 35 37 #include "dimphys.h" 36 #include "comsoil.h"37 38 #include "planete.h" 38 39 #include"advtrac.h" … … 162 163 Lmodif=0 163 164 164 CALL phyetat0 (fichnom,0,Lmodif,nsoilmx,nqmx,day_ini_fi,timefi, 165 CALL phyetat0 (ngridmx,fichnom,0,Lmodif,nsoilmx,nqmx,day_ini_fi, 166 . timefi, 165 167 . tsurf,tsoil,emis,q2,qsurf, 166 168 ! change FF 05/2011
Note: See TracChangeset
for help on using the changeset viewer.