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 4785 for branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2014-09-24T14:03:02+02:00 (10 years ago)
Author:
rblod
Message:

dev_r4765_CNRS_agrif: First update of AGRIF for dynamic only (_flt and _ts), see ticket #1380 and associated wiki page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2014/dev_r4765_CNRS_agrif/NEMOGCM/NEMO/OPA_SRC/step.F90

    r4760 r4785  
    4848 
    4949#if defined key_agrif 
    50    SUBROUTINE stp( ) 
     50   RECURSIVE SUBROUTINE stp( ) 
    5151      INTEGER             ::   kstp   ! ocean time-step index 
    5252#else 
     
    7777#if defined key_agrif 
    7878      kstp = nit000 + Agrif_Nb_Step() 
    79 !      IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 
    80 !      IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp 
     79      IF ( Agrif_Root() .and. lwp) Write(*,*) '---' 
     80      IF (lwp) Write(*,*) 'Grid Number',Agrif_Fixed(),' time step ',kstp 
    8181      IF ( kstp == (nit000 + 1) ) lk_agrif_fstep = .FALSE. 
    8282# if defined key_iomput 
     
    176176                                  ua(:,:,:) = 0.e0             ! set dynamics trends to zero 
    177177                                  va(:,:,:) = 0.e0 
    178           IF(  ln_asmiau .AND. & 
     178          IF(  lk_asminc .AND. ln_asmiau .AND. & 
    179179             & ln_dyninc       )  CALL dyn_asm_inc  ( kstp )   ! apply dynamics assimilation increment 
    180180          IF( ln_neptsimp )       CALL dyn_nept_cor ( kstp )   ! subtract Neptune velocities (simplified) 
     
    225225                             tsa(:,:,:,:) = 0.e0            ! set tracer trends to zero 
    226226 
    227       IF(  ln_asmiau .AND. & 
     227      IF(  lk_asminc .AND. ln_asmiau .AND. & 
    228228         & ln_trainc     )   CALL tra_asm_inc( kstp )       ! apply tracer assimilation increment 
    229229                             CALL tra_sbc    ( kstp )       ! surface boundary condition 
     
    277277                               va(:,:,:) = 0.e0 
    278278 
    279         IF(  ln_asmiau .AND. & 
     279        IF(  lk_asminc .AND. ln_asmiau .AND. & 
    280280           & ln_dyninc      )  CALL dyn_asm_inc( kstp )     ! apply dynamics assimilation increment 
    281281        IF( ln_bkgwri )        CALL asm_bkg_wri( kstp )     ! output background fields 
     
    341341      IF( nn_timing == 1 .AND.  kstp == nit000  )   CALL timing_reset 
    342342      ! 
     343#if defined key_agrif 
     344      CALL Agrif_Integrate_ChildGrids( stp )    
     345#endif       
     346      ! 
    343347   END SUBROUTINE stp 
    344348 
Note: See TracChangeset for help on using the changeset viewer.