Ignore:
Timestamp:
Sep 9, 2022, 4:02:51 PM (2 years ago)
Author:
llange
Message:

MARS PEM:

  • Add a PEMETAT0 that read "startfi_pem.nc"
  • Add the soil in the model: soil temperature, thermal properties, ice table
  • Add a routine that compute CO2 + H2O adsorption
  • Minor corrections in PEM.F90

LL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.COMMON/libf/evolution/criterion_ice_stop_mod_water_slope.F90

    r2779 r2794  
    55
    66  USE temps_mod_evol, ONLY: alpha_criterion
    7   use comslope_mod, ONLY: subslope_dist,nslope
     7          use comslope_mod, ONLY: subslope_dist,nslope
    88
    99      IMPLICIT NONE
     
    1919
    2020!   INPUT
    21   INTEGER, intent(in) :: ngrid                         ! # of grid physical grid points
    22   REAL,    intent(in) :: cell_area(ngrid)              ! physical point field : Area of the cells
     21  INTEGER, intent(in) :: ngrid                  ! # of grid physical grid points
     22  REAL,    intent(in) :: cell_area(ngrid)       ! physical point field : Area of the cells
    2323  REAL,    intent(in) ::  qsurf(ngrid,nslope)          ! physical point field : Actual density of water ice
    24   REAL,    intent(in) :: ini_surf                      ! Surface of sublimating ice in the GCM output
    25   REAL,    intent(in) :: initial_h2o_ice(ngrid,nslope) ! Boolean to check if it is a sublimating area
     24  REAL,    intent(in) :: ini_surf
     25  REAL,    intent(in) :: initial_h2o_ice(ngrid,nslope)
    2626
    2727
    2828!   OUTPUT
    29   LOGICAL, intent(out) :: STOPPING                     ! Logical : is the criterion reached?
     29  LOGICAL, intent(out) :: STOPPING              ! Logical : is the criterion reached?
    3030
    3131!   local:
    3232!   -----
    33   INTEGER :: i,islope                                  ! Loop
    34   REAL :: present_surf                                 ! Initial/Actual surface of water ice
     33  INTEGER :: i,islope                    ! Loop
     34  REAL :: present_surf  ! Initial/Actual surface of water ice
    3535
    3636!=======================================================================
     
    4444    do islope=1, nslope
    4545      if (initial_h2o_ice(i,islope).GT.0.5 .and. qsurf(i,islope).GT.0.) then
     46!         print *, "i", i
     47!         print *, "initial_h2o_ice(i,islope)", initial_h2o_ice(i,islope)
     48!         print *, "qsurf(i,islope)", qsurf(i,islope)
     49!         print *, "cell_area(i)", cell_area(i)
     50!         print *, "present_surf",present_surf
    4651         present_surf=present_surf+cell_area(i)*subslope_dist(i,islope)
    4752      endif
    4853    enddo
    4954  enddo
     55
     56!  print *, "initial_h2o_ice", initial_h2o_ice
     57!  print *, "qsurf", qsurf
     58
     59!  print *, "present_surf", present_surf
     60!  print *, "ini_surf", ini_surf
     61!  print *, "ini_surf*0.8", ini_surf*(1-alpha_criterion)
    5062 
    5163!   check of the criterion
Note: See TracChangeset for help on using the changeset viewer.