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_my_trc.F90 in NEMO/branches/UKMO/dev_r9950_GO6_mixing/src/TOP/MY_TRC – NEMO

source: NEMO/branches/UKMO/dev_r9950_GO6_mixing/src/TOP/MY_TRC/trcwri_my_trc.F90 @ 10323

Last change on this file since 10323 was 10323, checked in by davestorkey, 6 years ago

UKMO/dev_r9950_GO6_mixing: Update to be relative to rev 10321 of NEMO4_beta_mirror branch.

  • Property svn:keywords set to Id
File size: 1.9 KB
RevLine 
[3444]1MODULE trcwri_my_trc
2   !!======================================================================
3   !!                       *** MODULE trcwri ***
[7646]4   !!     trc_wri_my_trc   :  outputs of concentration fields
[3444]5   !!======================================================================
[7646]6#if defined key_top && defined key_iomput
[3444]7   !!----------------------------------------------------------------------
[7646]8   !! History :      !  2007  (C. Ethe, G. Madec)  Original code
9   !!                !  2016  (C. Ethe, T. Lovato) Revised architecture
[3444]10   !!----------------------------------------------------------------------
[7646]11   USE par_trc         ! passive tracers common variables
[3444]12   USE trc         ! passive tracers common variables
13   USE iom         ! I/O manager
14
15   IMPLICIT NONE
16   PRIVATE
17
18   PUBLIC trc_wri_my_trc 
19
[7646]20   !!----------------------------------------------------------------------
[9598]21   !! NEMO/TOP 4.0 , NEMO Consortium (2018)
[7646]22   !! $Id$
[10323]23   !! Software governed by the CeCILL license (see ./LICENSE)
[7646]24   !!----------------------------------------------------------------------
[3444]25CONTAINS
26
27   SUBROUTINE trc_wri_my_trc
28      !!---------------------------------------------------------------------
29      !!                     ***  ROUTINE trc_wri_trc  ***
30      !!
31      !! ** Purpose :   output passive tracers fields
32      !!---------------------------------------------------------------------
33      CHARACTER (len=20)   :: cltra
34      INTEGER              :: jn
35      !!---------------------------------------------------------------------
36 
37      ! write the tracer concentrations in the file
38      ! ---------------------------------------
39      DO jn = jp_myt0, jp_myt1
40         cltra = TRIM( ctrcnm(jn) )                  ! short title for tracer
[7646]41         CALL iom_put( cltra, trn(:,:,:,jn) )
[3444]42      END DO
43      !
44   END SUBROUTINE trc_wri_my_trc
45
46#else
[7646]47
[3444]48CONTAINS
[7646]49
50   SUBROUTINE trc_wri_my_trc
51      !
[3444]52   END SUBROUTINE trc_wri_my_trc
[7646]53
[3444]54#endif
55
56END MODULE trcwri_my_trc
Note: See TracBrowser for help on using the repository browser.