Changeset 3062


Ignore:
Timestamp:
Sep 28, 2023, 3:32:59 PM (15 months ago)
Author:
jnaar
Message:

Spelling mistake "temp_dependant_m" corrected : now is "temp_dependent_m". Make sure you have the proper flag. JN

Location:
trunk/LMDZ.MARS
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/changelog.txt

    r3061 r3062  
    42464246- Explicit comments in several sections of the code with these infos
    42474247
     4248== 28/09/2023 == JN
     4249Following previous commit, correction of a spelling mistake "temp_dependant_m"
     4250is actually "temp_dependent_m". Sorry about that.
  • trunk/LMDZ.MARS/libf/phymars/callkeys.h

    r2966 r3062  
    1717     &   ,CLFvarying,satindexco2,rdstorm,topflows,calllott_nonoro       &
    1818     &   ,latentheat_surfwater,gwd_convective_source,startphy_file      &
    19      &   ,hdo,hdofrac,cst_cap_albedo,temp_dependant_m,refill_watercap   &
     19     &   ,hdo,hdofrac,cst_cap_albedo,temp_dependent_m,refill_watercap   &
    2020     &   ,cloud_adapt_ts
    2121!$OMP THREADPRIVATE(/callkeys_l/)
     
    7575      logical latentheat_surfwater ! latent heat release from ground water ice sublimation/condensation
    7676      logical cst_cap_albedo ! polar cap albedo remains unchanged by water frost deposition
    77       logical temp_dependant_m ! temperature-dependant water contact parameter
     77      logical temp_dependent_m ! temperature-dependent water contact parameter
    7878      logical refill_watercap ! h2o_ice_s is converted to watercap when above threshold
    7979      logical cloud_adapt_ts ! adaptative timestep for cloud microphysics
  • trunk/LMDZ.MARS/libf/phymars/conf_phys.F

    r3061 r3062  
    746746        write(*,*) "water contact parameter ?"
    747747        mteta  = 0.95 ! default value
    748         temp_dependant_m  = .false. ! default value
    749         call getin_p("temp_dependant_m",temp_dependant_m)
    750         if (temp_dependant_m) then !(JN 2023)
    751            print*,'You have chosen a temperature-dependant water'
     748        temp_dependent_m  = .false. ! default value
     749        call getin_p("temp_dependent_m",temp_dependent_m)
     750        if (temp_dependent_m) then !(JN 2023)
     751           print*,'You have chosen a temperature-dependent water'
    752752           print*,'contact parameter ! From Maattanen et al. 2014'
    753         else if (.not.temp_dependant_m) then
     753        else if (.not.temp_dependent_m) then
    754754           print*,'Water contact parameter is constant'
    755755           call getin_p("mteta",mteta)
     
    769769! global water cycle is nuts !)
    770770       
    771         if ((cloud_adapt_ts.and..not.temp_dependant_m).or.
    772      &       (temp_dependant_m.and..not.cloud_adapt_ts)) then
     771        if ((cloud_adapt_ts.and..not.temp_dependent_m).or.
     772     &       (temp_dependent_m.and..not.cloud_adapt_ts)) then
    773773           print*,'Water cycle v6 : cloud_adapt_ts and '
    774            print*,'temp_dependant_m must be used together !'
     774           print*,'temp_dependent_m must be used together !'
    775775           print*,'Otherwise water cycle is off. At least one '
    776776           print*,'of these flags is turned off. '
  • trunk/LMDZ.MARS/libf/phymars/nuclea.F

    r3061 r3062  
    5959      mtetalocal = mteta  !! use mtetalocal for better performance
    6060
    61       IF (temp_dependant_m) THEN
     61      IF (temp_dependent_m) THEN
    6262c     J.Naar - sep 2023 :
    6363c     Simple linear parametrisation from Maattaanen 2014
     
    6767c     With adapt_ts need to use this relation (same paper, tanh):
    6868         mtetalocal = 0.469+((0.972-0.469)*tanh((temp/158.282)**4.244))
    69       ENDIF ! (temp_dependant_m) THEN
     69      ENDIF ! (temp_dependent_m) THEN
    7070cccccccccccccccccccccccccccccccccccccccccccccccccc
    7171ccccccccccc ESSAIS TN MTETA = F (T) cccccccccccccc
     
    8383cccccccccccccccccccccccccccccccccccccccccccccccccc
    8484cccccccccccccccccccccccccccccccccccccccccccccccccc
    85       IF (firstcall.and.temp_dependant_m) THEN
     85      IF (firstcall.and.temp_dependent_m) THEN
    8686          print*, ' ' 
    8787          print*, 'dear user, please keep in mind that'
     
    9292          print*, ' ' 
    9393         firstcall=.false.
    94       ELSE IF (firstcall.and.(.not.(temp_dependant_m))) THEN
     94      ELSE IF (firstcall.and.(.not.(temp_dependent_m))) THEN
    9595          print*, ' ' 
    9696          print*, 'dear user, please keep in mind that'
Note: See TracChangeset for help on using the changeset viewer.