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.
trcrst_my_trc.F90 in trunk/NEMOGCM/NEMO/TOP_SRC/MY_TRC – NEMO

source: trunk/NEMOGCM/NEMO/TOP_SRC/MY_TRC/trcrst_my_trc.F90 @ 2528

Last change on this file since 2528 was 2528, checked in by rblod, 13 years ago

Update NEMOGCM from branch nemo_v3_3_beta

  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1MODULE trcrst_my_trc
2   !!======================================================================
3   !!                       ***  MODULE trcrst_my_trc  ***
4   !! TOP :   create, write, read the restart files of MY_TRC tracer
5   !!======================================================================
6   !! History :   1.0  !  2010-01 (C. Ethe)  Original
7   !!----------------------------------------------------------------------
8#if defined key_my_trc
9   !!----------------------------------------------------------------------
10   !!   'key_my_trc'                                               CFC tracers
11   !!----------------------------------------------------------------------
12   !!   trc_rst_read_my_trc   : read  restart file
13   !!   trc_rst_wri_my_trc    : write restart file
14   !!----------------------------------------------------------------------
15
16   IMPLICIT NONE
17   PRIVATE
18
19   PUBLIC  trc_rst_read_my_trc   ! called by trcini.F90 module
20   PUBLIC  trc_rst_wri_my_trc   ! called by trcini.F90 module
21
22CONTAINS
23   
24   SUBROUTINE trc_rst_read_my_trc( knum ) 
25     INTEGER, INTENT(in)  :: knum
26     WRITE(*,*) 'trc_rst_read_my_trc: No specific variables to read on unit', knum
27   END SUBROUTINE trc_rst_read_my_trc
28
29   SUBROUTINE trc_rst_wri_my_trc( kt, kirst, knum )
30     INTEGER, INTENT(in)  :: kt, kirst, knum
31     WRITE(*,*) 'trc_rst_wri_my_trc: No specific variables to write on unit' ,knum, ' at time ', kt, kirst
32   END SUBROUTINE trc_rst_wri_my_trc
33
34#else
35   !!----------------------------------------------------------------------
36   !!  Dummy module :                                     No passive tracer
37   !!----------------------------------------------------------------------
38CONTAINS
39   SUBROUTINE trc_rst_read_my_trc( knum )
40     INTEGER, INTENT(in)  :: knum
41     WRITE(*,*) 'trc_rst_read_my_trc: You should not have seen this print! error?', knum
42   END SUBROUTINE trc_rst_read_my_trc
43
44   SUBROUTINE trc_rst_wri_my_trc( kt, kirst, knum )
45     INTEGER, INTENT(in)  :: kt, kirst, knum
46     WRITE(*,*) 'trc_rst_wri_my_trc: You should not have seen this print! error?', kt, kirst, knum
47   END SUBROUTINE trc_rst_wri_my_trc
48#endif
49
50   !!======================================================================
51END MODULE trcrst_my_trc
Note: See TracBrowser for help on using the repository browser.