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 4152 for branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2013-11-05T12:59:53+01:00 (10 years ago)
Author:
cetlod
Message:

merge in dev_LOCEAN_2013 the 2nd development branch dev_r3940_CNRS4_IOCRS, see ticket #1169

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_LOCEAN_2013/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90

    r4147 r4152  
    4747   USE lib_fortran     ! Fortran utilities (allows no signed zero when 'key_nosignedzero' defined) 
    4848 
     49   USE trc 
     50   USE trcnam 
     51   USE trcrst 
     52 
    4953   IMPLICIT NONE 
    5054   PRIVATE 
     
    8993      istp = nit000 
    9094      !  
    91       CALL iom_init            ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
     95      CALL iom_init( "nemo" )            ! iom_put initialization (must be done after nemo_init for AGRIF+XIOS+OASIS) 
    9296      !  
    9397      DO WHILE ( istp <= nitend .AND. nstop == 0 )    ! time stepping 
    9498         ! 
    9599         IF( istp /= nit000 )   CALL day      ( istp )         ! Calendar (day was already called at nit000 in day_init) 
    96                                 CALL iom_setkt( istp - nit000 + 1 )         ! say to iom that we are at time step kstp 
     100                                CALL iom_setkt( istp - nit000 + 1, "nemo" )   ! say to iom that we are at time step kstp 
    97101                                CALL dta_dyn  ( istp )         ! Interpolation of the dynamical fields 
    98102                                CALL trc_stp  ( istp )         ! time-stepping 
     
    270274      IF( lk_trabbl     )   CALL tra_bbl_init   ! advective (and/or diffusive) bottom boundary layer scheme 
    271275 
     276                            CALL trc_nam_run  ! Needed to get restart parameters for passive tracers 
     277      IF( ln_rsttr ) THEN 
     278        neuler = 1   ! Set time-step indicator at nit000 (leap-frog) 
     279        CALL trc_rst_cal( nit000, 'READ' )   ! calendar 
     280      ELSE 
     281        neuler = 0                  ! Set time-step indicator at nit000 (euler) 
     282        CALL day_init               ! set calendar 
     283      ENDIF 
     284      !                                     ! Dynamics 
     285                            CALL dta_dyn_init   ! Initialization for the dynamics 
     286 
    272287      !                                     ! Passive tracers 
    273288                            CALL     trc_init   ! Passive tracers initialization 
    274       !                                     ! Dynamics 
    275                             CALL dta_dyn_init   ! Initialization for the dynamics 
    276289 
    277290      IF(lwp) WRITE(numout,cform_aaa)       ! Flag AAAAAAA 
     
    432445      ierr = ierr + zdf_oce_alloc   ()          ! ocean vertical physics 
    433446      ! 
    434       ierr = ierr + lib_mpp_alloc   (numout)    ! mpp exchanges 
    435447      ierr = ierr + trc_oce_alloc   ()          ! shared TRC / TRA arrays 
    436448      ! 
Note: See TracChangeset for help on using the changeset viewer.