Changeset 3498 for trunk/LMDZ.COMMON/libf/evolution/compute_tend_mod.F90
- Timestamp:
- Nov 7, 2024, 2:48:08 PM (3 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/evolution/compute_tend_mod.F90
r3367 r3498 7 7 !======================================================================= 8 8 9 SUBROUTINE compute_tend(ngrid,nslope,min_ice, tendencies_ice)9 SUBROUTINE compute_tend(ngrid,nslope,min_ice,d_ice) 10 10 11 11 implicit none … … 25 25 26 26 ! OUTPUT 27 real, dimension(ngrid,nslope), intent(out) :: tendencies_ice ! Difference between the minima = evolution of perennial ice27 real, dimension(ngrid,nslope), intent(out) :: d_ice ! Difference between the minima = evolution of perennial ice 28 28 !======================================================================= 29 29 ! We compute the difference 30 tendencies_ice = min_ice(:,:,2) - min_ice(:,:,1)30 d_ice = min_ice(:,:,2) - min_ice(:,:,1) 31 31 32 32 ! If the difference is too small, then there is no evolution 33 where (abs( tendencies_ice) < 1.e-10) tendencies_ice = 0.33 where (abs(d_ice) < 1.e-10) d_ice = 0. 34 34 35 35 ! If the minimum over the last year is 0, then we have no perennial ice 36 where (abs(min_ice(:,:,2)) < 1.e-10) tendencies_ice = 0.36 where (abs(min_ice(:,:,2)) < 1.e-10) d_ice = 0. 37 37 38 38 END SUBROUTINE compute_tend
Note: See TracChangeset
for help on using the changeset viewer.