Ignore:
Timestamp:
May 26, 2020, 12:17:13 PM (5 years ago)
Author:
mvals
Message:

Mars GCM:
Follow-up of the last commit for the transport of the isotopic ratio: simplification of the transmission of variables from the dynamics to the
physics:

  • libf/dynphy_lonlat/phymars/: iniphysiq_mod.F90: transmission of the content of 2 variables describing the isotopes instead of 4 (nqperes: number of tracers "peres", nqfils:

number of tracers "fils")

  • libf/phymars/: phys_state_var_init_mod.F90, tracer_mod.F: idem callsedim_mod.F: idem co2condens_mod.F: idem
  • libf/phymars/dyn1d: testphys1d.F: idem (the reading interface for traceur.def has been completed to fill the variables nqperes and nqfils).

MV

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/callsedim_mod.F

    r2323 r2332  
    2323     &                      igcm_stormdust_number,igcm_topdust_mass,
    2424     &                      igcm_topdust_number,
    25      &                      iqfils,nqfils,qperemin,masseqmin ! MVals: variables isotopes
     25     &                      nqfils,qperemin,masseqmin ! MVals: variables isotopes
    2626      USE newsedim_mod, ONLY: newsedim
    2727      USE comcstfi_h, ONLY: g
     
    536536              !MVals: Loop over the sons ("fils")
    537537              if (nqfils(iq).gt.0) then
    538                 iq2=iqfils(nqfils(iq),iq) ! for now always nqfils(iq)=1 (special case of HDO only son of H2O)
     538                if (iq.eq.igcm_h2o_ice) then
     539                 iq2=igcm_hdo_ice
     540                else
     541                 call abort_physic("callsedim_mod","invalid isotope",1)
     542                endif
    539543                !MVals: input paramters in vlz_fi for hdo
    540544                do l=1,nlay
     
    595599              !MVals: Special case of isotopes: for now only HDO
    596600              if (nqfils(iq).gt.0) then
    597                iq2=iqfils(nqfils(iq),iq)
     601                if (iq.eq.igcm_h2o_ice) then
     602                 iq2=igcm_hdo_ice
     603                else
     604                 call abort_physic("callsedim_mod","invalid isotope",1)
     605                endif
    598606               pdqsed(ig,l,iq2)=(zqi(ig,l,iq2)-
    599607     $            (pq(ig,l,iq2) + pdqfi(ig,l,iq2)*ptimestep))/ptimestep
Note: See TracChangeset for help on using the changeset viewer.