[7041] | 1 | MODULE trcnam_age |
---|
| 2 | !!====================================================================== |
---|
| 3 | !! *** MODULE trcnam_age *** |
---|
| 4 | !! TOP : initialisation of some run parameters for Age tracer |
---|
| 5 | !!====================================================================== |
---|
| 6 | !! History : 2.0 ! 2007-12 (C. Ethe, G. Madec) |
---|
| 7 | !!---------------------------------------------------------------------- |
---|
[9169] | 8 | !! trc_nam_age : AGE tracer initialisation |
---|
[7041] | 9 | !!---------------------------------------------------------------------- |
---|
| 10 | USE oce_trc ! Ocean variables |
---|
[7097] | 11 | USE trc ! Ocean variables |
---|
[7041] | 12 | USE trcsms_age ! AGE specific variable |
---|
| 13 | |
---|
| 14 | IMPLICIT NONE |
---|
| 15 | PRIVATE |
---|
| 16 | |
---|
| 17 | PUBLIC trc_nam_age ! called by trcnam.F90 module |
---|
| 18 | |
---|
| 19 | !!---------------------------------------------------------------------- |
---|
[10067] | 20 | !! NEMO/TOP 4.0 , NEMO Consortium (2018) |
---|
[7041] | 21 | !! $Id$ |
---|
[10068] | 22 | !! Software governed by the CeCILL license (see ./LICENSE) |
---|
[7041] | 23 | !!---------------------------------------------------------------------- |
---|
| 24 | CONTAINS |
---|
| 25 | |
---|
| 26 | SUBROUTINE trc_nam_age |
---|
| 27 | !!------------------------------------------------------------------- |
---|
| 28 | !! *** ROUTINE trc_nam_age *** |
---|
| 29 | !! |
---|
| 30 | !! ** Purpose : Definition some run parameter for AGE model |
---|
| 31 | !! |
---|
| 32 | !! ** input : Namelist namage |
---|
| 33 | !!---------------------------------------------------------------------- |
---|
[9169] | 34 | INTEGER :: ios ! Local integer |
---|
[7041] | 35 | !! |
---|
| 36 | NAMELIST/namage/ rn_age_depth, rn_age_kill_rate |
---|
| 37 | !!---------------------------------------------------------------------- |
---|
[9169] | 38 | ! |
---|
| 39 | IF(lwp) THEN |
---|
| 40 | WRITE(numout,*) |
---|
| 41 | WRITE(numout,*) ' Sea Age Tracer' |
---|
| 42 | WRITE(numout,*) |
---|
| 43 | WRITE(numout,*) 'trc_nam_age : Read namage namelist for Age passive tracer' |
---|
| 44 | WRITE(numout,*) '~~~~~~~~~~~' |
---|
| 45 | ENDIF |
---|
| 46 | |
---|
[7124] | 47 | ! Variable setting |
---|
| 48 | ctrcnm (jp_age) = 'Age' |
---|
| 49 | ctrcln (jp_age) = 'Sea water age since surface contact' |
---|
| 50 | ctrcun (jp_age) = 'year' |
---|
| 51 | ln_trc_ini(jp_age) = .false. |
---|
| 52 | ln_trc_sbc(jp_age) = .false. |
---|
| 53 | ln_trc_cbc(jp_age) = .false. |
---|
| 54 | ln_trc_obc(jp_age) = .false. |
---|
| 55 | ! |
---|
[7103] | 56 | READ ( numnat_ref, namage, IOSTAT = ios, ERR = 901) |
---|
[11536] | 57 | 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in reference namelist' ) |
---|
[7103] | 58 | READ ( numnat_cfg, namage, IOSTAT = ios, ERR = 902 ) |
---|
[11536] | 59 | 902 IF( ios > 0 ) CALL ctl_nam ( ios , 'namage in configuration namelist' ) |
---|
[7103] | 60 | IF(lwm) WRITE ( numont, namage ) |
---|
[9169] | 61 | ! |
---|
[7041] | 62 | IF(lwp) THEN ! control print |
---|
[9169] | 63 | WRITE(numout,*) ' Namelist : namage' |
---|
| 64 | WRITE(numout,*) ' depth over which age tracer reset to zero rn_age_depth = ', rn_age_depth |
---|
| 65 | WRITE(numout,*) ' recip of relaxation timescale rn_age_kill_rate = ', rn_age_kill_rate, '[s]' |
---|
| 66 | WRITE(numout,*) ' (for age tracer shallower than age_depth) ' |
---|
[7041] | 67 | ENDIF |
---|
[7103] | 68 | ! |
---|
[7041] | 69 | END SUBROUTINE trc_nam_age |
---|
| 70 | |
---|
| 71 | !!====================================================================== |
---|
| 72 | END MODULE trcnam_age |
---|