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

source: trunk/NEMO/TOP_SRC/initrc.F90 @ 331

Last change on this file since 331 was 274, checked in by opalod, 19 years ago

nemo_v1_update_005:RB: update headers for the TOP component.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1MODULE initrc
2   !!===========================================================================================
3   !!
4   !!                       *** MODULE initrc ***
5   !! Initialisation the tracer model
6   !!===========================================================================================
7
8   !!----------------------------------------------------------------------
9   !!  TOP 1.0,  LOCEAN-IPSL (2005)
10   !! $Header$
11   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
12   !!----------------------------------------------------------------------
13
14      !!----------------------------------------------------------------------
15      !! * Modules used
16      !! ==============
17      USE oce_trc
18      USE trc
19      USE trcrst
20      USE trcctl
21      USE trclec
22      USE trcdtr
23      USE trcini
24
25      IMPLICIT NONE
26      PRIVATE
27
28
29   !! * Accessibility
30   PUBLIC ini_trc
31
32CONTAINS
33                                                                                                                           
34#if defined key_passivetrc
35
36SUBROUTINE ini_trc
37   !!---------------------------------------------------------------------
38   !!
39   !!                       ROUTINE ini_trc
40   !!                     ******************
41   !!
42   !!  PURPOSE :
43   !!  ---------
44   !!     initialize the tracer model
45   !!
46   !!   METHOD :
47   !!   -------
48   !!
49   !!
50   !!   History:
51   !!   -------
52   !!      original  : 91-03 ()
53   !!      additions : 92-01 (C. Levy)
54   !!     05-03 (O. Aumont and A. El Moussaoui) F90
55   !!----------------------------------------------------------------------
56
57   !!---------------------------------------------------------------------
58   !!  OPA.9, 03-2005
59   !!---------------------------------------------------------------------
60
61   !! 0.b PRINT the number of tracer
62   !! ------------------------------
63
64      IF(lwp) WRITE(numout,*) ' '
65      IF(lwp) WRITE(numout,*) ' *** number of passive tracer jptra = ',jptra
66      IF(lwp) WRITE(numout,*) ' '
67
68   ! 1. READ passive tracers namelists
69   ! ---------------------------------
70
71      CALL trc_lec
72
73   ! 2. control consistency between parameters, cpp key and namelists
74   ! ----------------------------------------------------------------
75
76      CALL trc_ctl
77
78   ! 3. computes some initializations
79   ! --------------------------------
80
81      CALL trc_ini
82
83   ! 4. restart from a FILE (nutrst)
84   ! ----------------------
85
86      IF(lrsttr) THEN
87
88          CALL trc_rst
89
90      ELSE
91
92   ! start from anything ELSE
93
94          CALL trc_dtr
95
96      ENDIF
97
98END SUBROUTINE ini_trc
99
100#else
101SUBROUTINE ini_trc
102   ! no passive tracers
103END SUBROUTINE ini_trc
104#endif
105
106END MODULE initrc 
Note: See TracBrowser for help on using the repository browser.