Changeset 2562 for trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F
- Timestamp:
- Sep 21, 2021, 9:02:49 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F
r2447 r2562 159 159 INTEGER,SAVE :: iccnco2_number ! index of tracer containing CCN number 160 160 INTEGER,SAVE :: iccnco2_mass ! index of tracer containing CCN number 161 INTEGER,SAVE :: iccnco2_h2o_number ! index of tracer containing CCN number 162 INTEGER,SAVE :: iccnco2_h2o_mass_ice ! index of tracer containing CCN number 163 INTEGER,SAVE :: iccnco2_h2o_mass_ccn ! index of tracer containing CCN number 161 164 INTEGER,SAVE :: ico2_ice ! index of tracer containing CCN number 162 165 … … 241 244 iccnco2_mass=0 242 245 iccnco2_number=0 246 iccnco2_h2o_mass_ice=0 247 iccnco2_h2o_mass_ccn=0 248 iccnco2_h2o_number=0 243 249 ico2_ice=0 244 250 do iq=1,nq … … 254 260 iccnco2_number=iq 255 261 write(*,*)"callsedim: iccnco2_number=",iccnco2_number 262 endif 263 if (noms(iq).eq."ccnco2_h2o_number") then 264 iccnco2_h2o_number=iq 265 write(*,*)"callsedim: iccnco2_h2o_number=", 266 & iccnco2_h2o_number 267 endif 268 if (noms(iq).eq."ccnco2_h2o_mass_ice") then 269 iccnco2_h2o_mass_ice=iq 270 write(*,*)"callsedim: iccnco2_h2o_mass_ice=", 271 & iccnco2_h2o_mass_ice 272 endif 273 if (noms(iq).eq."ccnco2_h2o_mass_ccn") then 274 iccnco2_h2o_mass_ccn=iq 275 write(*,*)"callsedim: iccnco2_h2o_mass_ccn=", 276 & iccnco2_h2o_mass_ccn 256 277 endif 257 278 enddo … … 263 284 call abort_physic(modname,"missing co2 ccn tracers",1) 264 285 endif 286 if (co2useh2o) then 287 if((iccnco2_h2o_mass_ccn.eq.0).or. 288 & (iccnco2_h2o_mass_ice.eq.0).or. 289 & (iccnco2_h2o_number.eq.0)) then 290 write(*,*) 'callsedim: error! could not identify' 291 write(*,*) ' tracers for ccn co2 mass and number mixing' 292 write(*,*) ' ratio and co2clouds are activated!' 293 call abort_physic(modname,"missing co2 ccn tracers",1) 294 end if 295 end if 265 296 ENDIF !of if (co2clouds) 266 297 … … 398 429 if(radius(iq).gt.1.e-9 .and.(iq.ne.ico2_ice) .and. 399 430 & (iq .ne. iccnco2_mass) .and. (iq .ne. 400 & iccnco2_number) .and. ! no sedim for gaz or CO2 clouds (done in microtimestep) 431 & iccnco2_number) .and. 432 & (iq.ne.iccnco2_h2o_number).and. 433 & (iq.ne.iccnco2_h2o_mass_ice).and. 434 & (iq.ne.iccnco2_h2o_mass_ccn).and. ! no sedim for gaz or CO2 clouds (done in microtimestep) 401 435 & iq .ne. igcm_hdo_ice) then !MVals: hdo is transported by h2o 402 436 c -----------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.