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

source: trunk/NEMO/TOP_SRC/initrc.F @ 186

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

CL + CE : NEMO TRC_SRC start

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
Line 
1C $Id$
2CDIR$ LIST
3      SUBROUTINE initrc
4CCC---------------------------------------------------------------------
5CCC
6CCC                       ROUTINE initrc
7CCC                     ******************
8CCC
9CCC  PURPOSE :
10CCC  ---------
11CCC     initialize the tracer model
12CCC
13CC   METHOD :
14CC   -------
15CC
16CC   INPUT :
17CC   -----
18CC      argument     : no
19CC      COMMON
20CC            /cotrdr/          : passive tracer DATA READ
21CC
22CC   OUTPUT :
23CC   ------
24CC      argument                : no
25CC      COMMON
26CC            /cotrdr/          : passive tracer DATA READ
27CC
28CC   WORKSPACE :
29CC   ---------
30CC      ji jj jk
31CC
32CC
33CC   EXTERNAL :
34CC   --------
35CC      trclec                  : reads passive tracer namelist
36CC      trcctl                  : control passive tracer parameters
37CC      trcini                  : passive tracer initialisation
38CC      dtatrc                  : reads passive tracer DATA
39CC      dtacof                  : computes passive tracer coefficients
40CC      trcrst                  : reads passive tracer from restart FILE
41CC
42CC   MODIFICATIONS:
43CC   --------------
44CC      original  : 91-03 ()
45CC      additions : 92-01 (C. Levy)
46CC----------------------------------------------------------------------
47CC parameters and commons
48CC ======================
49      USE oce_trc
50      USE trc
51      IMPLICIT NONE
52CC----------------------------------------------------------------------
53CC local declarations
54CC ==================
55
56#if defined key_passivetrc
57
58
59CCC---------------------------------------------------------------------
60CCC  OPA8, LODYC (15/11/96)
61CCC---------------------------------------------------------------------
62C
63C 0.b PRINT the number of tracer
64C ------------------------------
65C
66      IF(lwp) THEN
67          WRITE(numout,*) ' '
68          WRITE(numout,*) ' *** number of passive tracer jptra = ',jptra
69          WRITE(numout,*) ' '
70      ENDIF
71C
72C 1. READ passive tracers namelists
73C ---------------------------------
74C
75      CALL trclec
76C
77C 2. control consistency between parameters, cpp key and namelists
78C ----------------------------------------------------------------
79C
80      CALL trcctl
81C
82C 3. computes some initializations
83C --------------------------------
84C
85      CALL trcini
86C
87C 4. restart from a FILE (nutrst)
88C ----------------------
89C
90      IF(lrsttr) THEN
91C
92          CALL trcrst
93C
94      ELSE
95C
96C start from anything ELSE
97C
98          CALL trcdtr
99C
100      ENDIF
101#else
102C
103C no passive tracers
104C
105#endif
106C
107
108      RETURN
109      END
Note: See TracBrowser for help on using the repository browser.