Ignore:
Timestamp:
Mar 25, 2026, 5:48:30 PM (7 weeks ago)
Author:
emillour
Message:

Mars PCM:
Minor cleanup, remove obsolete and unused "thermoswater" flag.
EM

Location:
trunk/LMDZ.MARS/libf/phymars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/callkeys_mod.F90

    r4064 r4154  
    1212logical,save :: callnirco2,callnlte,callthermos,callconduct
    1313!$OMP THREADPRIVATE(callnirco2,callnlte,callthermos,callconduct)
    14 logical,save :: calleuv,callmolvis,callmoldiff,thermochem,thermoswater
    15 !$OMP THREADPRIVATE(calleuv,callmolvis,callmoldiff,thermochem,thermoswater)
     14logical,save :: calleuv,callmolvis,callmoldiff,thermochem
     15!$OMP THREADPRIVATE(calleuv,callmolvis,callmoldiff,thermochem)
    1616logical,save :: calltherm,callrichsl,callslope,tituscap
    1717!$OMP THREADPRIVATE(calltherm,callrichsl,callslope,tituscap)
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r4150 r4154  
    7575     &                        surfaceice_tifeedback, temp_dependent_m,
    7676     &                        tf_injection, ti_injection, thermochem,
    77      &                        thermoswater, tituscap, tke_heat_flux,
     77     &                        tituscap, tke_heat_flux,
    7878     &                        topflows, water, dust_coagulation
    7979      use write_output_mod, only: output_diagfi
     
    11611161         write(*,*) " callthermos = ",callthermos
    11621162         
    1163 
    1164          write(*,*) " water included without cycle ",
    1165      &              "(only if water=.false.)"
    1166          thermoswater=.false. ! default value
    1167          call getin_p("thermoswater",thermoswater)
    1168          write(*,*) " thermoswater = ",thermoswater
    1169 
    11701163         write(*,*) "call thermal conduction ?",
    11711164     &    " (only if callthermos=.true.)"
     
    12271220
    12281221         if (.not.callthermos) then
    1229            if (thermoswater) then
    1230              print*,'if thermoswater is set, callthermos must be true'
    1231              call abort_physic(modname,
    1232      &          "thermoswater requires callthermos",1)
    1233            endif         
    12341222           if (callconduct) then
    12351223             print*,'if callconduct is set, callthermos must be true'
     
    12761264         endif
    12771265
    1278 ! if callthermos is used, then thermoswater should be used too
    1279 ! (if water not used already)
     1266! if callthermos is used, then water should be used too
    12801267
    12811268         if (callthermos .and. .not.water) then
    1282            if (callthermos .and. .not.thermoswater) then
    1283              print*,'if callthermos is used, water or thermoswater
    1284      &               should be used too'
    1285              call abort_physic(modname,
    1286      &          "callthermos requires water or thermoswater",1)
    1287            endif
     1269           print*,'if callthermos is used, water '//
     1270     &               'should be used too'
     1271           call abort_physic(modname,
     1272     &          "callthermos requires water",1)
    12881273         endif
    12891274
Note: See TracChangeset for help on using the changeset viewer.