[3444] | 1 | MODULE trcwri_c14b |
---|
| 2 | !!====================================================================== |
---|
| 3 | !! *** MODULE trcwri *** |
---|
| 4 | !! c14b : Output of c14b tracers |
---|
| 5 | !!====================================================================== |
---|
| 6 | !! History : 1.0 ! 2009-05 (C. Ethe) Original code |
---|
| 7 | !!---------------------------------------------------------------------- |
---|
[5407] | 8 | #if defined key_top && defined key_c14b && defined key_iomput |
---|
[3444] | 9 | !!---------------------------------------------------------------------- |
---|
| 10 | !! 'key_c14b' c14b model |
---|
| 11 | !!---------------------------------------------------------------------- |
---|
| 12 | !! trc_wri_c14b : outputs of concentration fields |
---|
| 13 | !!---------------------------------------------------------------------- |
---|
| 14 | USE trc ! passive tracers common variables |
---|
| 15 | USE iom ! I/O manager |
---|
| 16 | |
---|
| 17 | IMPLICIT NONE |
---|
| 18 | PRIVATE |
---|
| 19 | |
---|
| 20 | PUBLIC trc_wri_c14b |
---|
| 21 | |
---|
| 22 | CONTAINS |
---|
| 23 | |
---|
| 24 | SUBROUTINE trc_wri_c14b |
---|
| 25 | !!--------------------------------------------------------------------- |
---|
| 26 | !! *** ROUTINE trc_wri_trc *** |
---|
| 27 | !! |
---|
| 28 | !! ** Purpose : output passive tracers fields |
---|
| 29 | !!--------------------------------------------------------------------- |
---|
| 30 | CHARACTER (len=20) :: cltra |
---|
| 31 | INTEGER :: jn |
---|
| 32 | !!--------------------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | ! write the tracer concentrations in the file |
---|
| 35 | ! --------------------------------------- |
---|
| 36 | DO jn = jp_c14b0, jp_c14b1 |
---|
| 37 | cltra = TRIM( ctrcnm(jn) ) ! short title for tracer |
---|
[4996] | 38 | CALL iom_put( cltra, trn(:,:,:,jn) ) |
---|
[3444] | 39 | END DO |
---|
| 40 | ! |
---|
| 41 | END SUBROUTINE trc_wri_c14b |
---|
| 42 | |
---|
| 43 | #else |
---|
| 44 | !!---------------------------------------------------------------------- |
---|
| 45 | !! Dummy module : No passive tracer |
---|
| 46 | !!---------------------------------------------------------------------- |
---|
| 47 | PUBLIC trc_wri_c14b |
---|
| 48 | CONTAINS |
---|
| 49 | SUBROUTINE trc_wri_c14b ! Empty routine |
---|
| 50 | END SUBROUTINE trc_wri_c14b |
---|
| 51 | #endif |
---|
| 52 | |
---|
| 53 | !!---------------------------------------------------------------------- |
---|
| 54 | !! NEMO/TOP 3.3 , NEMO Consortium (2010) |
---|
[7147] | 55 | !! $Id$ |
---|
[3444] | 56 | !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
| 57 | !!====================================================================== |
---|
| 58 | END MODULE trcwri_c14b |
---|