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.
trcdia.F90 in trunk/NEMO/TOP_SRC – NEMO

source: trunk/NEMO/TOP_SRC/trcdia.F90 @ 959

Last change on this file since 959 was 945, checked in by cetlod, 16 years ago

Update modules for new version of TOP model, see ticket 144

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.4 KB
RevLine 
[268]1MODULE trcdia
[945]2   !!======================================================================
[268]3   !!                       *** MODULE trcdia ***
[945]4   !! TOP :   Output of passive tracers
5   !!======================================================================
6   !! History :   1.0  !  2005-03 (O. Aumont, A. El Moussaoui) original code
[274]7   !!----------------------------------------------------------------------
[945]8#if defined key_top
[335]9   !!----------------------------------------------------------------------
[945]10   !!   'key_top'                                                TOP models
11   !!----------------------------------------------------------------------
12   !!   trc_dia    :  output passive tracer fields
13   !!----------------------------------------------------------------------
[268]14   USE trcdit
15
16   IMPLICIT NONE
17   PRIVATE
18
[945]19   PUBLIC trc_dia      ! called by ???
[268]20
[945]21   !!----------------------------------------------------------------------
22   !! NEMO/TOP 1.0 , LOCEAN-IPSL (2005)
23   !! $Header:$
24   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt)
25   !!----------------------------------------------------------------------
[268]26
27CONTAINS
28
[945]29   SUBROUTINE trc_dia( kt, kindic ) 
30      !!---------------------------------------------------------------------
31      !!                     ***  ROUTINE trc_dia  ***
[335]32      !!
[945]33      !! ** Purpose :   output passive tracers fields
34      !!---------------------------------------------------------------------
[335]35      INTEGER, INTENT( in ) :: kt, kindic
[945]36      !!---------------------------------------------------------------------
37     
38      CALL trcdit_wr( kt, kindic )      ! outputs for tracer concentration
[268]39
[945]40# if defined key_trc_diatrd
41      CALL trcdid_wr( kt, kindic )      ! outputs for dynamical trends
42# endif
[268]43
[945]44# if defined key_trc_diaadd
45      CALL trcdii_wr( kt, kindic )      ! outputs for additional arrays
46# endif
[268]47
[945]48# if defined key_trc_diabio
49      CALL trcdib_wr( kt, kindic )      ! outputs for biological trends
50# endif
51      !
[335]52   END SUBROUTINE trc_dia
[268]53
[335]54#else
[945]55   !!----------------------------------------------------------------------
56   !!  Dummy module :                                     No passive tracer
57   !!----------------------------------------------------------------------
[335]58CONTAINS
[945]59   SUBROUTINE trc_dia                      ! Empty routine   
[335]60   END SUBROUTINE trc_dia   
61#endif
62
[945]63   !!======================================================================
[335]64END MODULE trcdia
Note: See TracBrowser for help on using the repository browser.