Changeset 9785
- Timestamp:
- 2018-06-13T10:08:52+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/trunk/src/NST/agrif_ice_update.F90
r9780 r9785 52 52 IF( Agrif_Root() .OR. nn_ice == 0 ) RETURN ! do not update if inside Parent Grid or if child domain does not have ice 53 53 ! 54 IF (lwp.AND.lk_agrif_debug) Write(*,*) 'Update sea ice from grid Number',Agrif_Fixed()55 !56 54 ! IF( ( MOD( (kt-nit000)/nn_fsbc + 1, Agrif_irhot() * Agrif_Parent(nn_fsbc)/nn_fsbc ) /=0 ) .AND. (kt /= 0) ) RETURN ! update only at the parent ice time step 55 IF ( MOD(Agrif_parent_nb_step(), Agrif_Parent(nn_fsbc)) /=0 ) RETURN ! Update only at the parent ice time step 56 ! It is assumed that at such a time, there is a child ice step which is true 57 ! as long as MOD( Agrif_irhot() * Agrif_Parent(nn_fsbc), nn_fsbc )==0. 58 ! (This condition is checked in agrif_user, Agrif_InitValues_cont_ice subroutine) 59 IF (lwp.AND.lk_agrif_debug) Write(*,*) 'Update sea ice from grid Number',Agrif_Fixed(), agrif_nb_step() 60 ! 57 61 ! 58 62 Agrif_SpecialValueFineGrid = -9999.
Note: See TracChangeset
for help on using the changeset viewer.