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 5282 for branches/2015/dev_r5056_CMCC4_simplification/NEMOGCM/NEMO/TOP_SRC/trcrst.F90 – NEMO

Ignore:
Timestamp:
2015-05-18T17:19:50+02:00 (9 years ago)
Author:
diovino
Message:

Dev. branch CMCC4_simplification ticket #1456

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5056_CMCC4_simplification/NEMOGCM/NEMO/TOP_SRC/trcrst.F90

    r4990 r5282  
    123123      !!---------------------------------------------------------------------- 
    124124      ! 
    125       CALL iom_rstput( kt, nitrst, numrtw, 'rdttrc1', rdttrc(1) )   ! surface passive tracer time step 
     125      CALL iom_rstput( kt, nitrst, numrtw, 'rdttrc1', rdttrc )   ! passive tracer time step 
    126126      ! prognostic variables  
    127127      ! --------------------  
     
    186186         IF(lwp) WRITE(numout,*) 'trc_rst_cal : read the TOP restart file for calendar' 
    187187         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~' 
    188  
    189          IF ( jprstlib == jprstdimg ) THEN 
    190            ! eventually read netcdf file (monobloc)  for restarting on different number of processors 
    191            ! if {cn_trcrst_in}.nc exists, then set jlibalt to jpnf90  
    192            INQUIRE( FILE = TRIM(cn_trcrst_in)//'.nc', EXIST = llok ) 
    193            IF ( llok ) THEN ; jlibalt = jpnf90  ; ELSE ; jlibalt = jprstlib ; ENDIF 
    194          ENDIF 
    195188 
    196189         CALL iom_open( cn_trcrst_in, numrtr, kiolib = jlibalt ) 
     
    226219            ELSE 
    227220               ndastp = ndate0 - 1     ! ndate0 read in the namelist in dom_nam 
    228                adatrj = ( REAL( nittrc000-1, wp ) * rdttra(1) ) / rday 
     221               adatrj = ( REAL( nittrc000-1, wp ) * rdt ) / rday 
    229222               ! note this is wrong if time step has changed during run 
    230223            ENDIF 
Note: See TracChangeset for help on using the changeset viewer.