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_age.F90 in branches/UKMO/dev_r10171_test_crs_AMM7/NEMOGCM/NEMO/TOP_SRC/AGE – NEMO

source: branches/UKMO/dev_r10171_test_crs_AMM7/NEMOGCM/NEMO/TOP_SRC/AGE/trcwri_age.F90 @ 10207

Last change on this file since 10207 was 10207, checked in by cmao, 6 years ago

remove svn keyword

  • Property svn:executable set to *
File size: 2.5 KB
Line 
1MODULE trcwri_age
2   !!======================================================================
3   !!                       *** MODULE trcwri ***
4   !!    age :   Output of age tracers
5   !!======================================================================
6   !! History :   1.0  !  2009-05 (C. Ethe)  Original code
7   !!----------------------------------------------------------------------
8#if defined key_top && defined key_age && defined key_iomput
9   !!----------------------------------------------------------------------
10   !!   'key_age'                                           age model
11   !!----------------------------------------------------------------------
12   !! trc_wri_age   :  outputs of concentration fields
13   !!----------------------------------------------------------------------
14   USE par_age     
15   USE trc         
16   USE iom
17
18   IMPLICIT NONE
19   PRIVATE
20
21   PUBLIC trc_wri_age 
22
23#  include "top_substitute.h90"
24CONTAINS
25
26   SUBROUTINE trc_wri_age
27      !!---------------------------------------------------------------------
28      !!                     ***  ROUTINE trc_wri_trc  ***
29      !!
30      !! ** Purpose :   output passive tracers fields
31      !!---------------------------------------------------------------------
32      CHARACTER (len=20)   :: cltra
33      INTEGER              :: jn
34      !!---------------------------------------------------------------------
35      IF( ln_crs_top ) CALL iom_swap( "nemo_crs" )
36 
37      ! write the tracer concentrations in the file
38      ! ---------------------------------------
39      DO jn = jp_age0, jp_age1
40         cltra = TRIM( ctrcnm(jn) )                  ! short title for tracer
41         IF(lwp)WRITE(numout,*)"WRITE ",TRIM(cltra)
42         CALL iom_put( TRIM(cltra), trn(:,:,:,jn) )
43      END DO
44      !
45      IF( ln_crs_top ) CALL iom_swap( "nemo" )
46      !
47   END SUBROUTINE trc_wri_age
48
49#else
50   !!----------------------------------------------------------------------
51   !!  Dummy module :                                     No passive tracer
52   !!----------------------------------------------------------------------
53   PUBLIC trc_wri_age
54CONTAINS
55   SUBROUTINE trc_wri_age                     ! Empty routine 
56   END SUBROUTINE trc_wri_age
57#endif
58
59   !!----------------------------------------------------------------------
60   !! NEMO/TOP 3.3 , NEMO Consortium (2010)
61   !! $Id$
62   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
63   !!======================================================================
64END MODULE trcwri_age
Note: See TracBrowser for help on using the repository browser.