- Timestamp:
- 2017-06-28T17:55:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r8183_ICEMODEL/NEMOGCM/NEMO/LIM_SRC_3/limitd_me.F90
r8233 r8239 500 500 INTEGER :: icells ! number of cells with a_i > puny 501 501 REAL(wp) :: hL, hR, farea ! left and right limits of integration 502 REAL(wp) :: zwfx_snw ! snow mass flux increment 502 503 503 504 INTEGER , POINTER, DIMENSION(:) :: indxi, indxj ! compressed indices … … 654 655 & - sm_i(ji,jj,jl1) * vsw(ij) * rhoic * r1_rdtice ! and get sm_i from the ocean 655 656 ENDIF 656 657 657 658 !------------------------------------------ 658 659 ! 3.7 Put the snow somewhere in the ocean … … 663 664 ! During the next time step, thermo_rates will determine whether 664 665 ! the ocean cools or new ice grows. 665 wfx_snw(ji,jj) = wfx_snw(ji,jj) + ( rhosn * vsrdg(ij) * ( 1._wp - rn_fsnowrdg ) & 666 & + rhosn * vsrft(ij) * ( 1._wp - rn_fsnowrft ) ) * r1_rdtice ! fresh water source for ocean 666 zwfx_snw = ( rhosn * vsrdg(ij) * ( 1._wp - rn_fsnowrdg ) & 667 & + rhosn * vsrft(ij) * ( 1._wp - rn_fsnowrft ) ) * r1_rdtice ! fresh water source for ocean 668 669 wfx_snw_dyn(ji,jj) = wfx_snw_dyn(ji,jj) + zwfx_snw 670 wfx_snw(ji,jj) = wfx_snw(ji,jj) + zwfx_snw 667 671 668 672 hfx_dyn(ji,jj) = hfx_dyn(ji,jj) + ( - esrdg(ij) * ( 1._wp - rn_fsnowrdg ) & … … 789 793 END DO ! jl1 (deforming categories) 790 794 795 ! SIMIP diagnostics 796 diag_dmi_dyn(:,:) = - wfx_dyn(:,:) + rhoic * diag_trp_vi(:,:) 797 diag_dms_dyn(:,:) = - wfx_snw_dyn(:,:) + rhosn * diag_trp_vs(:,:) 798 791 799 ! 792 800 CALL wrk_dealloc( jpij, indxi, indxj )
Note: See TracChangeset
for help on using the changeset viewer.