Changeset 10555
- Timestamp:
- 2019-01-22T12:36:01+01:00 (6 years ago)
- Location:
- NEMO/trunk/src/ICE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/ICE/icedyn_rhg_evp.F90
r10425 r10555 112 112 REAL(wp), DIMENSION(:,:), INTENT( out) :: pshear_i , pdivu_i , pdelta_i ! 113 113 !! 114 LOGICAL, PARAMETER :: ll_bdy_substep = .FALSE. ! temporary option to call bdy at each sub-time step (T) 115 ! or only at the main time step (F) 114 116 INTEGER :: ji, jj ! dummy loop indices 115 117 INTEGER :: jter ! local integers … … 535 537 CALL agrif_interp_ice( 'V' ) 536 538 #endif 537 IF( ln_bdy ) CALL bdy_ice_dyn( 'V' )539 IF( ln_bdy .AND. ll_bdy_substep ) CALL bdy_ice_dyn( 'V' ) 538 540 ! 539 541 DO jj = 2, jpjm1 … … 583 585 CALL agrif_interp_ice( 'U' ) 584 586 #endif 585 IF( ln_bdy ) CALL bdy_ice_dyn( 'U' )587 IF( ln_bdy .AND. ll_bdy_substep ) CALL bdy_ice_dyn( 'U' ) 586 588 ! 587 589 ELSE ! odd iterations … … 633 635 CALL agrif_interp_ice( 'U' ) 634 636 #endif 635 IF( ln_bdy ) CALL bdy_ice_dyn( 'U' )637 IF( ln_bdy .AND. ll_bdy_substep ) CALL bdy_ice_dyn( 'U' ) 636 638 ! 637 639 DO jj = 2, jpjm1 … … 681 683 CALL agrif_interp_ice( 'V' ) 682 684 #endif 683 IF( ln_bdy ) CALL bdy_ice_dyn( 'V' )685 IF( ln_bdy .AND. ll_bdy_substep ) CALL bdy_ice_dyn( 'V' ) 684 686 ! 685 687 ENDIF … … 696 698 END DO ! end loop over jter ! 697 699 ! ! ==================== ! 700 ! 701 IF( ln_bdy .AND. .NOT.ll_bdy_substep ) THEN 702 CALL bdy_ice_dyn( 'U' ) 703 CALL bdy_ice_dyn( 'V' ) 704 ENDIF 698 705 ! 699 706 !------------------------------------------------------------------------------! -
NEMO/trunk/src/ICE/icevar.F90
r10415 r10555 567 567 DO ji = 1 , jpi 568 568 IF( pe_i(ji,jj,jk,jl) < 0._wp .OR. pa_i(ji,jj,jl) < 0._wp ) THEN 569 hfx_res(ji,jj) = hfx_res(ji,jj) - pe_i(ji,jj,jk,jl) * r1_rdtice ! W.m-2 <0569 hfx_res(ji,jj) = hfx_res(ji,jj) - pe_i(ji,jj,jk,jl) * r1_rdtice ! W.m-2 >0 570 570 pe_i(ji,jj,jk,jl) = 0._wp 571 571 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.