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 15739 – NEMO

Changeset 15739


Ignore:
Timestamp:
2022-03-07T12:26:26+01:00 (2 years ago)
Author:
jpalmier
Message:

trc var in output.abort -- fix 1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0.4_MEDUSA_externals_GC5/src/TOP/trcwri.F90

    r15665 r15739  
    2828 
    2929   PUBLIC trc_wri       
     30   PUBLIC trc_wri_state 
    3031 
    3132CONTAINS 
     
    7778   END SUBROUTINE trc_wri 
    7879 
     80   SUBROUTINE trc_wri_state( kid ) 
     81      !!--------------------------------------------------------------------- 
     82      !!                     ***  ROUTINE trc_wri_state  *** 
     83      !!  
     84      !! ** Purpose :   create a NetCDF file named cdfile_name which contains  
     85      !!      the instantaneous ice state and forcing fields for passive tracer model 
     86      !!        Used to find errors in the initial state or save the last 
     87      !!      ocean state in case of abnormal end of a simulation 
     88      !! 
     89      !!--------------------------------------------------------------------- 
     90      INTEGER, INTENT( in ) ::   kid  
     91      INTEGER :: jn 
     92      CHARACTER (len=20)   :: cltra 
     93       
     94      DO jn = 1, jptra 
     95         cltra = trim(ctrcnm(jn)) 
     96         CALL iom_rstput( 0, 0, kid, cltra, trn(:,:,:,jn) ) 
     97      END DO 
     98       
     99   END SUBROUTINE trc_wri_state    
     100    
    79101#else 
    80102   !!---------------------------------------------------------------------- 
     
    86108   INTEGER, INTENT(in) :: kt 
    87109   END SUBROUTINE trc_wri 
     110  !! 
     111   SUBROUTINE trc_wri_state( kid ) 
     112      INTEGER, INTENT( in ) ::   kid  
     113   END SUBROUTINE trc_wri_state 
     114   !!     
    88115#endif 
    89116 
Note: See TracChangeset for help on using the changeset viewer.