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_cfc.F90 in NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP/CFC – NEMO

source: NEMO/branches/2018/dev_r10164_HPC09_ESIWACE_PREP_MERGE/src/TOP/CFC/trcwri_cfc.F90 @ 10345

Last change on this file since 10345 was 10069, checked in by nicolasmartin, 6 years ago

Fix mistakes of previous commit on SVN keywords property

  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1MODULE trcwri_cfc
2   !!======================================================================
3   !!                       *** MODULE trcwri ***
4   !!    cfc :   Output of cfc tracers
5   !!======================================================================
6   !! History :   1.0  !  2009-05 (C. Ethe)  Original code
7   !!----------------------------------------------------------------------
8#if defined key_top && defined key_iomput
9   !!----------------------------------------------------------------------
10   !! trc_wri_cfc   :  outputs of concentration fields
11   !!----------------------------------------------------------------------
12   USE trc         ! passive tracers common variables
13   USE iom         ! I/O manager
14
15   IMPLICIT NONE
16   PRIVATE
17
18   PUBLIC trc_wri_cfc 
19
20CONTAINS
21
22   SUBROUTINE trc_wri_cfc
23      !!---------------------------------------------------------------------
24      !!                     ***  ROUTINE trc_wri_trc  ***
25      !!
26      !! ** Purpose :   output passive tracers fields
27      !!---------------------------------------------------------------------
28      CHARACTER (len=20)   :: cltra
29      INTEGER              :: jn
30      !!---------------------------------------------------------------------
31 
32      ! write the tracer concentrations in the file
33      ! ---------------------------------------
34      DO jn = jp_cfc0, jp_cfc1
35         cltra = TRIM( ctrcnm(jn) )                  ! short title for tracer
36         CALL iom_put( cltra, trn(:,:,:,jn) )
37      END DO
38      !
39   END SUBROUTINE trc_wri_cfc
40
41#else
42   !!----------------------------------------------------------------------
43   !!  Dummy module :                                     No passive tracer
44   !!----------------------------------------------------------------------
45   PUBLIC trc_wri_cfc
46CONTAINS
47   SUBROUTINE trc_wri_cfc                     ! Empty routine 
48   END SUBROUTINE trc_wri_cfc
49#endif
50
51   !!----------------------------------------------------------------------
52   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
53   !! $Id$
54   !! Software governed by the CeCILL license (see ./LICENSE)
55   !!======================================================================
56END MODULE trcwri_cfc
Note: See TracBrowser for help on using the repository browser.