- Timestamp:
- Aug 27, 2017, 8:55:34 AM (7 years ago)
- Location:
- trunk/LMDZ.MARS/libf/phymars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/calldrag_noro.F
r1266 r1774 75 75 INTEGER igwd,igwdim,itest(ngrid) 76 76 77 INTEGER ,SAVE:: ndomain77 INTEGER :: ndomain 78 78 ! parameter (ndomain = (ngrid-1) / ndomainsz + 1) 79 79 … … 111 111 112 112 IF (firstcall) THEN 113 ndomain = (ngrid-1) / ndomainsz + 1114 113 115 114 do l=1,nlayer+1 … … 131 130 firstcall=.false. 132 131 END IF 132 133 !! AS: moved out of firstcall to allow nesting+evoluting horiz domain 134 ndomain = (ngrid-1) / ndomainsz + 1 133 135 134 136 c Starting loop on sub-domain -
trunk/LMDZ.MARS/libf/phymars/callradite_mod.F
r1769 r1774 208 208 REAL ptlev(ngrid,nlayer+1) 209 209 210 INTEGER ,SAVE:: ndomain210 INTEGER :: ndomain 211 211 212 212 c Thermal IR net radiative budget (W m-2) … … 274 274 275 275 IF (firstcall) THEN 276 ! compute ndomain and allocate local saved arrays277 ndomain= (ngrid-1) / ndomainsz + 1278 276 279 277 c Assign a number to the different scatterers … … 345 343 ! CALL SULW ! this step is now done in ini_yomlw_h 346 344 347 write(*,*) 'Splitting radiative calculations: ',348 $ ' ngrid,ndomainsz,ndomain',349 $ ngrid,ndomainsz,ndomain350 345 if (ngrid .EQ. 1) then 351 346 if (ndomainsz .NE. 1) then … … 358 353 endif 359 354 endif 355 360 356 firstcall=.false. 361 357 END IF 358 359 ! compute ndomain 360 ! AS: moved out of firstcall to allow nesting+evoluting domain 361 ! ------------------------------------------------------------ 362 ndomain= (ngrid-1) / ndomainsz + 1 363 write(*,*) 'Splitting radiative calculations: ', 364 $ ' ngrid,ndomainsz,ndomain', 365 $ ngrid,ndomainsz,ndomain 362 366 363 367 c Computing aerosol optical properties and opacity -
trunk/LMDZ.MARS/libf/phymars/watercloud_mod.F
r1758 r1774 147 147 write(*,*)"imicro = ",imicro 148 148 149 microtimestep = ptimestep/real(imicro)150 write(*,*)"Physical timestep is",ptimestep151 write(*,*)"Microphysics timestep is",microtimestep152 153 149 firstcall=.false. 154 150 ENDIF ! of IF (firstcall) 151 152 !! AS: moved out of firstcall to allow nesting+evoluting timestep 153 !! TBD: consider possible diff imicro with domains? 154 microtimestep = ptimestep/real(imicro) 155 write(*,*)"Physical timestep is",ptimestep 156 write(*,*)"Microphysics timestep is",microtimestep 157 155 158 156 159 c-----Initialization -
trunk/LMDZ.MARS/libf/phymars/yamada4.F
r1266 r1774 122 122 INTEGER i 123 123 REAL ztimestep 124 INTEGER , SAVE:: ndt124 INTEGER :: ndt 125 125 126 126 nlev=nlay+1 … … 130 130 c....................................................................... 131 131 132 !! firstcall: OK absolute 132 133 if(firstcall) then 133 134 ico2=0 … … 148 149 enddo 149 150 endif 151 firstcall=.false. 152 endif !of if firstcall 153 154 !! AS: moved out of firstcall to allow nesting+evoluting timestep 150 155 ndt=ceiling(3840./(3699.*24./dt)) 151 firstcall=.false.152 endif !of if firstcall153 156 154 157 c.......................................................................
Note: See TracChangeset
for help on using the changeset viewer.