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 7869 for branches/UKMO/dev_r5518_medusa_fix_restart/NEMOGCM/NEMO/TOP_SRC/trcrst.F90 – NEMO

Ignore:
Timestamp:
2017-04-04T12:21:15+02:00 (7 years ago)
Author:
marc
Message:

Moved GTRU & GTRV into dump and only call ZPS_HDE in TRC_INIT at start-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_medusa_fix_restart/NEMOGCM/NEMO/TOP_SRC/trcrst.F90

    r7850 r7869  
    109109      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~' 
    110110 
     111      ! GTRU/PGU & GTRV/PGV are needed in TRALDF_ISO for calculation of tracers 
     112      DO jn = 1, jptra 
     113         CALL iom_get( numrtr, jpdom_autoglo, 'gtru_'//ctrcnm(jn),   & 
     114                       gtru(:,:,jn) ) 
     115         CALL iom_get( numrtr, jpdom_autoglo, 'gtrv_'//ctrcnm(jn),   & 
     116                       gtrv(:,:,jn) ) 
     117      END DO 
     118! tmp - marc 
     119      write(numout,*) 'bbb222. gtrv(6,13,7)=',gtrv(6,13,7) 
     120! 
     121 
    111122      ! READ prognostic variables and computes diagnostic variable 
    112123      DO jn = 1, jptra 
     
    133144      ! 
    134145      CALL iom_rstput( kt, nitrst, numrtw, 'rdttrc1', rdttrc(1) )   ! surface passive tracer time step 
     146 
     147      ! GTRU/PGU & GTRV/PGV are needed in TRALDF_ISO for calculation of tracers 
     148      DO jn = 1, jptra 
     149         CALL iom_rstput( kt, nitrst, numrtw, 'gtru_'//ctrcnm(jn), & 
     150                          gtru(:,:,jn) ) 
     151         CALL iom_rstput( kt, nitrst, numrtw, 'gtrv_'//ctrcnm(jn), & 
     152                          gtrv(:,:,jn) ) 
     153      END DO 
     154 
    135155      ! prognostic variables  
    136156      ! --------------------  
Note: See TracChangeset for help on using the changeset viewer.