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 trunk/NEMOGCM/NEMO/TOP_SRC/CFC – NEMO

source: trunk/NEMOGCM/NEMO/TOP_SRC/CFC/trcwri_cfc.F90 @ 9581

Last change on this file since 9581 was 7646, checked in by timgraham, 7 years ago

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

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 3.3 , NEMO Consortium (2010)
53   !! $Id: trcwri_cfc.F90 3160 2011-11-20 14:27:18Z cetlod $
54   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
55   !!======================================================================
56END MODULE trcwri_cfc
Note: See TracBrowser for help on using the repository browser.