[6732] | 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_age && defined key_iomput |
---|
| 9 | !!---------------------------------------------------------------------- |
---|
| 10 | !! 'key_age' age model |
---|
| 11 | !!---------------------------------------------------------------------- |
---|
| 12 | !! trc_wri_age : outputs of concentration fields |
---|
| 13 | !!---------------------------------------------------------------------- |
---|
| 14 | USE par_age |
---|
| 15 | USE trc |
---|
| 16 | USE iom |
---|
| 17 | |
---|
| 18 | IMPLICIT NONE |
---|
| 19 | PRIVATE |
---|
| 20 | |
---|
| 21 | PUBLIC trc_wri_age |
---|
| 22 | |
---|
| 23 | # include "top_substitute.h90" |
---|
| 24 | CONTAINS |
---|
| 25 | |
---|
| 26 | SUBROUTINE trc_wri_age |
---|
| 27 | !!--------------------------------------------------------------------- |
---|
| 28 | !! *** ROUTINE trc_wri_trc *** |
---|
| 29 | !! |
---|
| 30 | !! ** Purpose : output passive tracers fields |
---|
| 31 | !!--------------------------------------------------------------------- |
---|
| 32 | CHARACTER (len=20) :: cltra |
---|
| 33 | INTEGER :: jn |
---|
| 34 | !!--------------------------------------------------------------------- |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | ! write the tracer concentrations in the file |
---|
| 38 | ! --------------------------------------- |
---|
| 39 | DO jn = jp_age0, jp_age1 |
---|
| 40 | cltra = TRIM( ctrcnm(jn) ) ! short title for tracer |
---|
| 41 | CALL iom_put( TRIM(cltra), trn(:,:,:,jn) ) |
---|
| 42 | END DO |
---|
| 43 | ! |
---|
| 44 | ! |
---|
| 45 | END SUBROUTINE trc_wri_age |
---|
| 46 | |
---|
| 47 | #else |
---|
| 48 | !!---------------------------------------------------------------------- |
---|
| 49 | !! Dummy module : No passive tracer |
---|
| 50 | !!---------------------------------------------------------------------- |
---|
| 51 | PUBLIC trc_wri_age |
---|
| 52 | CONTAINS |
---|
| 53 | SUBROUTINE trc_wri_age ! Empty routine |
---|
| 54 | END SUBROUTINE trc_wri_age |
---|
| 55 | #endif |
---|
| 56 | |
---|
| 57 | !!---------------------------------------------------------------------- |
---|
| 58 | !! NEMO/TOP 3.3 , NEMO Consortium (2010) |
---|
| 59 | !! $Id: trcwri_age.F90 3160 2011-11-20 14:27:18Z cetlod $ |
---|
| 60 | !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
| 61 | !!====================================================================== |
---|
| 62 | END MODULE trcwri_age |
---|