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 13662 for NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/OFF/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2020-10-22T20:49:56+02:00 (4 years ago)
Author:
clem
Message:

update to almost r4.0.4

Location:
NEMO/branches/2019/dev_r11842_SI3-10_EAP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11842_SI3-10_EAP

    • Property svn:externals
      •  

        old new  
        1 ^/utils/build/arch@HEAD       arch 
        2 ^/utils/build/makenemo@HEAD   makenemo 
        3 ^/utils/build/mk@HEAD         mk 
        4 ^/utils/tools@HEAD            tools 
        5 ^/vendors/AGRIF/dev@HEAD      ext/AGRIF 
        6 ^/vendors/FCM@HEAD            ext/FCM 
        7 ^/vendors/IOIPSL@HEAD         ext/IOIPSL 
         1^/utils/build/arch@12130      arch 
         2^/utils/build/makenemo@12191  makenemo 
         3^/utils/build/mk@11662        mk 
         4^/utils/tools_r4.0-HEAD@12672 tools 
         5^/vendors/AGRIF/dev@10586     ext/AGRIF 
         6^/vendors/FCM@10134           ext/FCM 
         7^/vendors/IOIPSL@9655         ext/IOIPSL 
         8 
         9# SETTE mapping (inactive) 
         10#^/utils/CI/sette@12135        sette 
  • NEMO/branches/2019/dev_r11842_SI3-10_EAP/src/OFF/nemogcm.F90

    r11536 r13662  
    2727   USE usrdef_nam     ! user defined configuration 
    2828   USE eosbn2         ! equation of state            (eos bn2 routine) 
    29    !              ! ocean physics 
     29   !                  ! ocean physics 
     30   USE bdy_oce,  ONLY : ln_bdy 
     31   USE bdyini         ! open boundary cond. setting       (bdy_init routine) 
    3032   USE ldftra         ! lateral diffusivity setting    (ldf_tra_init routine) 
    3133   USE ldfslp         ! slopes of neutral surfaces     (ldf_slp_init routine) 
     
    114116#else 
    115117                                CALL dta_dyn    ( istp )         ! Interpolation of the dynamical fields 
     118#endif 
     119                                CALL trc_stp    ( istp )         ! time-stepping 
     120#if ! defined key_sed_off 
    116121         IF( .NOT.ln_linssh )   CALL dta_dyn_swp( istp )         ! swap of sea  surface height and vertical scale factors 
    117122#endif 
    118                                 CALL trc_stp    ( istp )         ! time-stepping 
    119123                                CALL stp_ctl    ( istp, indic )  ! Time loop: control and print 
    120124         istp = istp + 1 
     
    132136      IF( nstop /= 0 .AND. lwp ) THEN                 ! error print 
    133137         WRITE(ctmp1,*) '   ==>>>   nemo_gcm: a total of ', nstop, ' errors have been found' 
    134          CALL ctl_stop( ctmp1 ) 
     138         WRITE(ctmp2,*) '           Look for "E R R O R" messages in all existing ocean_output* files' 
     139         CALL ctl_stop( ' ', ctmp1, ' ', ctmp2 ) 
    135140      ENDIF 
    136141      ! 
     
    196201      IF( lwm )   CALL ctl_opn(     numond, 'output.namelist.dyn', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 
    197202      ! open /dev/null file to be able to supress output write easily 
     203      IF( Agrif_Root() ) THEN 
    198204                  CALL ctl_opn(     numnul,           '/dev/null', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, -1, .FALSE. ) 
     205#ifdef key_agrif 
     206      ELSE 
     207                  numnul = Agrif_Parent(numnul) 
     208#endif 
     209      ENDIF 
    199210      ! 
    200211      !                             !--------------------! 
     
    304315 
    305316                           CALL     sbc_init    ! Forcings : surface module 
     317                           CALL     bdy_init    ! Open boundaries initialisation                           
    306318 
    307319      !                                      ! Tracer physics 
     
    468480      USE zdf_oce,   ONLY : zdf_oce_alloc 
    469481      USE trc_oce,   ONLY : trc_oce_alloc 
     482      USE bdy_oce,   ONLY : bdy_oce_alloc 
    470483      ! 
    471484      INTEGER :: ierr 
     
    477490      ierr = ierr + zdf_oce_alloc()          ! ocean vertical physics 
    478491      ierr = ierr + trc_oce_alloc()          ! shared TRC / TRA arrays 
     492      ierr = ierr + bdy_oce_alloc()    ! bdy masks (incl. initialization) 
     493       
    479494      ! 
    480495      CALL mpp_sum( 'nemogcm', ierr ) 
Note: See TracChangeset for help on using the changeset viewer.