[7041] | 1 | MODULE 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 | |
---|
| 21 | CONTAINS |
---|
| 22 | |
---|
[12377] | 23 | SUBROUTINE trc_wri_age( Kmm ) |
---|
[7041] | 24 | !!--------------------------------------------------------------------- |
---|
| 25 | !! *** ROUTINE trc_wri_trc *** |
---|
| 26 | !! |
---|
| 27 | !! ** Purpose : output passive tracers fields |
---|
| 28 | !!--------------------------------------------------------------------- |
---|
[12377] | 29 | INTEGER, INTENT(in) :: Kmm ! time level indices |
---|
[7041] | 30 | CHARACTER (len=20) :: cltra |
---|
| 31 | INTEGER :: jn |
---|
| 32 | !!--------------------------------------------------------------------- |
---|
| 33 | |
---|
| 34 | ! write the tracer concentrations in the file |
---|
| 35 | |
---|
[7068] | 36 | cltra = TRIM( ctrcnm(jp_age) ) ! short title for tracer |
---|
[12377] | 37 | CALL iom_put( cltra, tr(:,:,:,jp_age,Kmm) ) |
---|
[7041] | 38 | |
---|
| 39 | ! |
---|
| 40 | END SUBROUTINE trc_wri_age |
---|
| 41 | |
---|
| 42 | #else |
---|
| 43 | !!---------------------------------------------------------------------- |
---|
| 44 | !! Dummy module : No passive tracer |
---|
| 45 | !!---------------------------------------------------------------------- |
---|
| 46 | PUBLIC trc_wri_age |
---|
| 47 | CONTAINS |
---|
| 48 | SUBROUTINE trc_wri_age ! Empty routine |
---|
| 49 | END SUBROUTINE trc_wri_age |
---|
| 50 | #endif |
---|
| 51 | |
---|
| 52 | !!---------------------------------------------------------------------- |
---|
[10067] | 53 | !! NEMO/TOP 4.0 , NEMO Consortium (2018) |
---|
[10068] | 54 | !! $Id$ |
---|
| 55 | !! Software governed by the CeCILL license (see ./LICENSE) |
---|
[7041] | 56 | !!====================================================================== |
---|
| 57 | END MODULE trcwri_age |
---|