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.
trcwri.mpp.h in trunk/NEMO/TOP_SRC – NEMO

source: trunk/NEMO/TOP_SRC/trcwri.mpp.h @ 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: 1.4 KB
Line 
1C $Id$
2CCC
3CCC                       trcwri.mpp
4CCC                     **************
5CCC
6CDIR$ NOLIST
7      USE oce_trc
8      USE trc
9      IMPLICIT NONE
10
11CDIR$ LIST
12CC----------------------------------------------------------------------
13CC local declarations
14CC ==================
15      INTEGER kt
16
17#if defined key_passivetrc
18
19      INTEGER jn
20      INTEGER ino0,it0,iarak0
21
22CCC---------------------------------------------------------------------
23CCC  OPA8, LODYC (15/11/96)
24CCC---------------------------------------------------------------------
25C
26C
27C 1. OUTPUT of restart fields (nutwrs)
28C ---------------------------
29C
30      IF( (mod(kt,nstock).eq.0) .OR. (kt.eq.nitend) ) THEN
31C
32C 1.0 initializations
33C
34          IF(lwp) THEN
35              WRITE(numout,*) ' '
36              WRITE(numout,*)
37     $            ' trcwri: restart OUTPUT done in nutwrs = ',nutwrs
38     $            ,' at it= ',kt,' date= ',ndastp
39              WRITE(numout,*) ' -------'
40          ENDIF
41C
42          ino0 =no
43          it0  =kt
44
45#if defined key_trc_cen2
46          iarak0=1
47#else
48          iarak0=0
49#endif
50C
51C 1.1 WRITE
52C
53C first record
54C
55          IF(lwp) WRITE (nutwrs,REC=1) ino0,it0,iarak0
56C
57C prognostic variables
58C
59
60          DO jn=1,jptra
61            CALL write3(nutwrs,trn(1,1,1,jn), jn + 1 )
62          END DO
63
64          DO jn=1,jptra
65            CALL write3(nutwrs,trb(1,1,1,jn), jptra + jn + 1 )
66          END DO
67      ENDIF
68C
Note: See TracBrowser for help on using the repository browser.