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 5168 for branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2015-03-25T10:01:32+01:00 (9 years ago)
Author:
pabouttier
Message:

Fixed several bugs described in Ticket #1360

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2012/dev_v3_4_STABLE_2012/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r4600 r5168  
    7777#endif 
    7878   USE tamtrj          ! Output trajectory, needed for TAM 
     79   USE asminc 
    7980 
    8081   IMPLICIT NONE 
     
    110111      !!              Madec, 2008, internal report, IPSL. 
    111112      !!---------------------------------------------------------------------- 
    112       INTEGER ::   istp       ! time step index 
     113      INTEGER ::   istp, jk      ! time step index 
    113114      !!---------------------------------------------------------------------- 
    114115      ! 
     
    155156            CALL Agrif_Step( stp )           ! AGRIF: time stepping 
    156157#else 
     158            !-------------------------------------------------------------! 
     159            ! This trick ensures a minimum consistency between mixing coef. 
     160            ! and other variables 
     161            IF( lk_zdftke .AND. lk_asminc .AND. ln_asmdin .AND. ( istp == nit000) ) THEN 
     162            CALL tke_avn                        ! recompute avt, avm, 
     163                                                ! avmu, avmv and dissl (approximation) 
     164               DO jk = nit000, nit000 + 2 
     165                  CALL zdf_tke( jk )   ; 
     166               END DO 
     167 
     168            END IF 
     169            !-------------------------------------------------------------! 
     170 
    157171            CALL stp( istp )                 ! standard time stepping 
    158172#endif 
     
    322336                            CALL dyn_nept_init  ! simplified form of Neptune effect 
    323337                            CALL flush(numout) 
    324  
     338                            CALL asm_inc_rea_nam ! to fix properly neuler value 
     339                                                 ! in istate_init 
    325340                            CALL  istate_init   ! ocean initial state (Dynamics and tracers) 
    326341 
Note: See TracChangeset for help on using the changeset viewer.