Ignore:
Timestamp:
May 17, 2024, 11:30:17 AM (7 months ago)
Author:
llange
Message:

Mars PCM
Fixing a bug in vdif_cd: a "residual", used as criterion to enter an iterative loop, was wrongly initialized. Hence, for some points, the algorithm does not go into the loop, and a wrong value of Cd, Ch was computed.
Also some cleaning/small fixing with save variables with OMP.

LL

File:
1 edited

Legend:

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

    r3325 r3333  
    2020    real,    save                              :: albedo_perennialco2     ! Albedo for perennial co2 ice [1]
    2121    logical, save                              :: lag_layer               ! Does lag layer is present?
    22     logical, save                              :: include_waterbuoyancy    ! Include the effect of water buoyancy when computing the sublimation of water ice ?
    23 !$OMP THREADPRIVATE(h2o_ice_depth,d_coef,lag_co2_ice,albedo_perennialco2,include_waterbuoyancy)
     22    logical, save                              :: include_waterbuoyancy   ! Include the effect of water buoyancy when computing the sublimation of water ice ?
     23!$OMP THREADPRIVATE(h2o_ice_depth,lag_co2_ice,d_coef,albedo_perennialco2,lag_layer,include_waterbuoyancy)
    2424
    2525!=======================================================================
Note: See TracChangeset for help on using the changeset viewer.