source: CONFIG_DEVT/IPSLCM6.5_work_ENSEMBLES/modeles/NEMO/src/TOP/AGE/trcwri_age.F90 @ 5501

Last change on this file since 5501 was 5501, checked in by aclsce, 4 years ago

First import of IPSLCM6.5_work_ENSEMBLES working configuration

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_iomput
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
24      !!---------------------------------------------------------------------
25      !!                     ***  ROUTINE trc_wri_trc  ***
26      !!
27      !! ** Purpose :   output passive tracers fields
28      !!---------------------------------------------------------------------
29      CHARACTER (len=20)   :: cltra
30      INTEGER              :: jn
31      !!---------------------------------------------------------------------
32
33      ! write the tracer concentrations in the file
34
35      cltra = TRIM( ctrcnm(jp_age) )                  ! short title for tracer
36      CALL iom_put( cltra, trn(:,:,:,jp_age) )
37
38      !
39   END SUBROUTINE trc_wri_age
40
41#else
42   !!----------------------------------------------------------------------
43   !!  Dummy module :                                     No passive tracer
44   !!----------------------------------------------------------------------
45   PUBLIC trc_wri_age
46CONTAINS
47   SUBROUTINE trc_wri_age                     ! Empty routine 
48   END SUBROUTINE trc_wri_age
49#endif
50
51   !!----------------------------------------------------------------------
52   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
53   !! $Id: trcwri_age.F90 10070 2018-08-28 14:30:54Z nicolasmartin $
54   !! Software governed by the CeCILL license (see ./LICENSE)
55   !!======================================================================
56END MODULE trcwri_age
Note: See TracBrowser for help on using the repository browser.