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