Changeset 3305 for trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Timestamp:
- Apr 18, 2024, 11:38:40 AM (8 months ago)
- Location:
- trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/iniphysiq_mod.F90
r3094 r3305 3 3 CONTAINS 4 4 5 subroutine iniphysiq( ii,jj,nlayer,&6 nbp, communicator, &7 punjours, pdayref,ptimestep, &5 subroutine iniphysiq(filename,ii,jj,nlayer, & 6 nbp, communicator, & 7 punjours, pdayref,ptimestep, & 8 8 rlatudyn,rlatvdyn,rlonudyn,rlonvdyn, & 9 airedyn,cudyn,cvdyn, &9 airedyn,cudyn,cvdyn, & 10 10 prad,pg,pr,pcpp,iflag_phys) 11 11 12 12 ! Modules from the dynamics: 13 use infotrac, only : nqtot, & ! number of advected tracers14 tname, & ! tracer names15 nqperes, nqfils! MVals: variables isotopes13 use infotrac, only : nqtot, & ! number of advected tracers 14 tname, & ! tracer names 15 nqperes, nqfils ! MVals: variables isotopes 16 16 use temps_mod, only: day_ini, day_end, hour_ini 17 17 … … 23 23 use geometry_mod, only: cell_area, & ! physics grid area (m2) 24 24 longitude, & ! longitudes (rad) 25 latitude ! latitudes (rad)25 latitude ! latitudes (rad) 26 26 use phys_state_var_init_mod, only: phys_state_var_init 27 27 use mod_phys_lmdz_para, only: klon_omp ! number of columns (on local omp grid) … … 32 32 include "iniprint.h" 33 33 34 character(*), intent(in) :: filename ! Name of the "startfi.nc" file 34 35 real,intent(in) :: prad ! radius of the planet (m) 35 36 real,intent(in) :: pg ! gravitational acceleration (m/s2) … … 57 58 ! --> initialize physics distribution, global fields and geometry 58 59 ! (i.e. things in phy_common or dynphy_lonlat) 59 CALL inigeomphy(ii,jj,nlayer, &60 nbp, communicator, &61 rlatudyn,rlatvdyn, &62 rlonudyn,rlonvdyn, &63 airedyn,cudyn,cvdyn)60 CALL inigeomphy(ii,jj,nlayer, & 61 nbp, communicator, & 62 rlatudyn,rlatvdyn, & 63 rlonudyn,rlonvdyn, & 64 airedyn,cudyn,cvdyn) 64 65 65 66 ! the distinct part for all planetary physics (ie. things in phymars) … … 71 72 !$OMP PARALLEL COPYIN(day_ini,day_end,hour_ini) 72 73 73 call phys_state_var_init( klon_omp,nlayer,nqtot,tname, &74 day_ini,day_end,hour_ini, &75 punjours,ptimestep, &76 prad,pg,pr,pcpp, &74 call phys_state_var_init(filename,klon_omp,nlayer,nqtot,tname, & 75 day_ini,day_end,hour_ini, & 76 punjours,ptimestep, & 77 prad,pg,pr,pcpp, & 77 78 nqperes,nqfils) ! MVals: variables isotopes 78 79 call ini_fillgeom(klon_omp,latitude,longitude,cell_area) -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/newstart.F
r3203 r3305 391 391 392 392 ! Initialize the physics 393 CALL iniphysiq( iim,jjm,llm,393 CALL iniphysiq('startfi.nc',iim,jjm,llm, 394 394 & (jjm-1)*iim+2,comm_lmdz, 395 395 & daysec,day_ini,dtphys, 396 396 & rlatu,rlatv,rlonu,rlonv, 397 & aire,cu,cv,rad,g,r,cpp, 398 & 1) 397 & aire,cu,cv,rad,g,r,cpp,1) 399 398 400 399 c======================================================================= -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/nogcm.F90
r3217 r3305 458 458 ! Physics: 459 459 #ifdef CPP_PHYS 460 CALL iniphysiq( iim,jjm,llm,&461 (jjm-1)*iim+2,comm_lmdz, &462 daysec,day_ini,dtphys/nsplit_phys, &460 CALL iniphysiq('startfi.nc',iim,jjm,llm, & 461 (jjm-1)*iim+2,comm_lmdz, & 462 daysec,day_ini,dtphys/nsplit_phys, & 463 463 rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, & 464 464 iflag_phys) -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive.F
r3216 r3305 160 160 161 161 ! Initialize the physics 162 CALL iniphysiq(iim,jjm,llm, 162 fichnom = 'startfi.nc' 163 164 CALL iniphysiq(fichnom,iim,jjm,llm, 163 165 & (jjm-1)*iim+2,comm_lmdz, 164 166 & daysec,day_ini,dtphys, 165 167 & rlatu,rlatv,rlonu,rlonv, 166 & aire,cu,cv,rad,g,r,cpp, 167 & 1) 168 169 fichnom = 'startfi.nc' 168 & aire,cu,cv,rad,g,r,cpp,1) 169 170 170 Lmodif=0 171 171 -
trunk/LMDZ.MARS/libf/dynphy_lonlat/phymars/start2archive_SSO.F
r3139 r3305 173 173 174 174 ! Initialize the physics 175 CALL iniphysiq(iim,jjm,llm, 175 fichnom = 'startfi.nc' 176 177 CALL iniphysiq(fichnom,iim,jjm,llm, 176 178 & (jjm-1)*iim+2,comm_lmdz, 177 179 & daysec,day_ini,dtphys, 178 180 & rlatu,rlatv,rlonu,rlonv, 179 & aire,cu,cv,rad,g,r,cpp, 180 & 1) 181 182 fichnom = 'startfi.nc' 181 & aire,cu,cv,rad,g,r,cpp,1) 182 183 183 Lmodif=0 184 184
Note: See TracChangeset
for help on using the changeset viewer.