Changeset 15739
- Timestamp:
- 2022-03-07T12:26:26+01:00 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0.4_MEDUSA_externals_GC5/src/TOP/trcwri.F90
r15665 r15739 28 28 29 29 PUBLIC trc_wri 30 PUBLIC trc_wri_state 30 31 31 32 CONTAINS … … 77 78 END SUBROUTINE trc_wri 78 79 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 79 101 #else 80 102 !!---------------------------------------------------------------------- … … 86 108 INTEGER, INTENT(in) :: kt 87 109 END SUBROUTINE trc_wri 110 !! 111 SUBROUTINE trc_wri_state( kid ) 112 INTEGER, INTENT( in ) :: kid 113 END SUBROUTINE trc_wri_state 114 !! 88 115 #endif 89 116
Note: See TracChangeset
for help on using the changeset viewer.