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 NEMO/trunk/src/TOP/AGE – NEMO

source: NEMO/trunk/src/TOP/AGE/trcwri_age.F90

Last change on this file was 14239, checked in by smasson, 19 months ago

trunk: replace key_iomput by key_xios

  • Property svn:keywords set to Id
File size: 2.1 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_xios
9   !!----------------------------------------------------------------------
10   !! trc_wri_age   :  outputs of concentration fields
11   !!----------------------------------------------------------------------
12   USE par_age     
13   USE trc         
14   USE iom
15
16   IMPLICIT NONE
17   PRIVATE
18
19   PUBLIC trc_wri_age 
20
21CONTAINS
22
23   SUBROUTINE trc_wri_age( Kmm )
24      !!---------------------------------------------------------------------
25      !!                     ***  ROUTINE trc_wri_trc  ***
26      !!
27      !! ** Purpose :   output passive tracers fields
28      !!---------------------------------------------------------------------
29      INTEGER, INTENT(in)  :: Kmm  ! time level indices
30      CHARACTER (len=20)   :: cltra
31      INTEGER              :: jn
32      !!---------------------------------------------------------------------
33
34      ! write the tracer concentrations in the file
35
36      cltra = TRIM( ctrcnm(jp_age) )                  ! short title for tracer
37      CALL iom_put( cltra, tr(:,:,:,jp_age,Kmm) )
38
39      !
40   END SUBROUTINE trc_wri_age
41
42#else
43   !!----------------------------------------------------------------------
44   !!  Dummy module :                                     No passive tracer
45   !!----------------------------------------------------------------------
46   PUBLIC trc_wri_age
47CONTAINS
48   SUBROUTINE trc_wri_age                     ! Empty routine 
49   END SUBROUTINE trc_wri_age
50#endif
51
52   !!----------------------------------------------------------------------
53   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
54   !! $Id$
55   !! Software governed by the CeCILL license (see ./LICENSE)
56   !!======================================================================
57END MODULE trcwri_age
Note: See TracBrowser for help on using the repository browser.