New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 9485 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2018-04-14T13:18:45+02:00 (6 years ago)
Author:
clem
Message:

make sure that the double zoom configuration agrif_nordic is restartable. One must have moved the call to sea ice update at the end of step (after integrate_childgrids)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/OPA_SRC/step.F90

    r9367 r9485  
    292292      ! AGRIF 
    293293      !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<       
    294                          CALL Agrif_Integrate_ChildGrids( stp )   
    295  
    296       IF( Agrif_NbStepint() == 0 ) THEN               ! AGRIF Update  
     294                         CALL Agrif_Integrate_ChildGrids( stp )  ! allows to finish all the Child Grids before updating 
     295 
     296      IF( Agrif_NbStepint() == 0 ) THEN               ! AGRIF Update from zoom N to zoom 1 then to Parent  
    297297!!jc in fact update is useless at last time step, but do it for global diagnostics 
    298                               CALL Agrif_Update_ssh()    ! Update ssh 
    299          IF(.NOT.ln_linssh)   CALL Agrif_Update_vvl()    ! Update vertical scale factors   
    300                               CALL Agrif_Update_Tra()    ! Update active tracers 
    301                               CALL Agrif_Update_Dyn()    ! Update momentum 
     298#if defined key_lim3 
     299                              CALL Agrif_Update_lim3( kstp )   ! update sea-ice 
     300#endif 
     301                              CALL Agrif_Update_ssh()          ! Update ssh 
     302         IF(.NOT.ln_linssh)   CALL Agrif_Update_vvl()          ! Update vertical scale factors   
     303                              CALL Agrif_Update_Tra()          ! Update active tracers 
     304                              CALL Agrif_Update_Dyn()          ! Update momentum 
    302305# if defined key_top 
    303                               CALL Agrif_Update_Trc()    ! Update passive tracers 
     306                              CALL Agrif_Update_Trc()          ! Update passive tracers 
    304307# endif 
    305308      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.