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 tags/nemo_v1_02/NEMO/TOP_SRC – NEMO

source: tags/nemo_v1_02/NEMO/TOP_SRC/initrc.F @ 4291

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

CL : Add CVS Header and CeCILL licence information

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