Changeset 15361
- Timestamp:
- 2021-10-13T17:38:35+02:00 (3 years ago)
- Location:
- NEMO/branches/NERC/dev_r4.0.5_NERC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/NERC/dev_r4.0.5_NERC/src/OCE/DIA/diawri.F90
r13085 r15361 937 937 #endif 938 938 ! 939 #if defined key_top 940 ! Add passive tracers to abort file 941 CALL trc_wri_state( inum ) 942 #endif 943 ! 939 944 CALL iom_close( inum ) 940 945 ! -
NEMO/branches/NERC/dev_r4.0.5_NERC/src/TOP/trcwri.F90
r12280 r15361 27 27 28 28 PUBLIC trc_wri 29 29 PUBLIC trc_wri_state 30 30 31 CONTAINS 31 32 … … 75 76 END SUBROUTINE trc_wri 76 77 78 SUBROUTINE trc_wri_state( kid ) 79 !!--------------------------------------------------------------------- 80 !! *** ROUTINE trc_wri_state *** 81 !! 82 !! ** Purpose : create a NetCDF file named cdfile_name which contains 83 !! the instantaneous ice state and forcing fields for passive tracer model 84 !! Used to find errors in the initial state or save the last 85 !! ocean state in case of abnormal end of a simulation 86 !! 87 !!--------------------------------------------------------------------- 88 INTEGER, INTENT( in ) :: kid 89 INTEGER :: jn 90 CHARACTER (len=20) :: cltra 91 92 DO jn = 1, jptra 93 cltra = trim(ctrcnm(jn)) 94 CALL iom_rstput( 0, 0, kid, cltra, trn(:,:,:,jn) ) 95 END DO 96 97 END SUBROUTINE trc_wri 98 77 99 #else 78 100 !!---------------------------------------------------------------------- … … 84 106 INTEGER, INTENT(in) :: kt 85 107 END SUBROUTINE trc_wri 108 !! 109 SUBROUTINE trc_wri_state( kid ) 110 INTEGER, INTENT( in ) :: kid 111 END SUBROUTINE trc_wri 112 !! 86 113 #endif 87 114
Note: See TracChangeset
for help on using the changeset viewer.