- Timestamp:
- Sep 9, 2022, 4:02:51 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/criterion_ice_stop_mod_water_slope.F90
r2779 r2794 5 5 6 6 USE temps_mod_evol, ONLY: alpha_criterion 7 use comslope_mod, ONLY: subslope_dist,nslope7 use comslope_mod, ONLY: subslope_dist,nslope 8 8 9 9 IMPLICIT NONE … … 19 19 20 20 ! INPUT 21 INTEGER, intent(in) :: ngrid 22 REAL, intent(in) :: cell_area(ngrid) 21 INTEGER, intent(in) :: ngrid ! # of grid physical grid points 22 REAL, intent(in) :: cell_area(ngrid) ! physical point field : Area of the cells 23 23 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 output25 REAL, intent(in) :: initial_h2o_ice(ngrid,nslope) ! Boolean to check if it is a sublimating area24 REAL, intent(in) :: ini_surf 25 REAL, intent(in) :: initial_h2o_ice(ngrid,nslope) 26 26 27 27 28 28 ! OUTPUT 29 LOGICAL, intent(out) :: STOPPING 29 LOGICAL, intent(out) :: STOPPING ! Logical : is the criterion reached? 30 30 31 31 ! local: 32 32 ! ----- 33 INTEGER :: i,islope 34 REAL :: present_surf 33 INTEGER :: i,islope ! Loop 34 REAL :: present_surf ! Initial/Actual surface of water ice 35 35 36 36 !======================================================================= … … 44 44 do islope=1, nslope 45 45 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 46 51 present_surf=present_surf+cell_area(i)*subslope_dist(i,islope) 47 52 endif 48 53 enddo 49 54 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) 50 62 51 63 ! check of the criterion
Note: See TracChangeset
for help on using the changeset viewer.