[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 | !!---------------------------------------------------------------------- |
---|
| 8 | !! trc_nam_age : AGE tracer initialisation |
---|
| 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 | !!---------------------------------------------------------------------- |
---|
| 20 | !! NEMO/TOP 3.3 , NEMO Consortium (2010) |
---|
| 21 | !! $Id$ |
---|
| 22 | !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
| 23 | !!---------------------------------------------------------------------- |
---|
| 24 | |
---|
| 25 | CONTAINS |
---|
| 26 | |
---|
| 27 | SUBROUTINE trc_nam_age |
---|
| 28 | !!------------------------------------------------------------------- |
---|
| 29 | !! *** ROUTINE trc_nam_age *** |
---|
| 30 | !! |
---|
| 31 | !! ** Purpose : Definition some run parameter for AGE model |
---|
| 32 | !! |
---|
| 33 | !! ** input : Namelist namage |
---|
| 34 | !!---------------------------------------------------------------------- |
---|
| 35 | INTEGER :: ios ! Local integer output status for namelist read |
---|
| 36 | !! |
---|
| 37 | NAMELIST/namage/ rn_age_depth, rn_age_kill_rate |
---|
| 38 | !!---------------------------------------------------------------------- |
---|
[7124] | 39 | ! Variable setting |
---|
| 40 | ctrcnm (jp_age) = 'Age' |
---|
| 41 | ctrcln (jp_age) = 'Sea water age since surface contact' |
---|
| 42 | ctrcun (jp_age) = 'year' |
---|
| 43 | ln_trc_ini(jp_age) = .false. |
---|
| 44 | ln_trc_sbc(jp_age) = .false. |
---|
| 45 | ln_trc_cbc(jp_age) = .false. |
---|
| 46 | ln_trc_obc(jp_age) = .false. |
---|
| 47 | ! |
---|
[7103] | 48 | REWIND( numnat_ref ) ! Namelist namagedate in reference namelist : AGE parameters |
---|
| 49 | READ ( numnat_ref, namage, IOSTAT = ios, ERR = 901) |
---|
[7041] | 50 | 901 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in reference namelist', lwp ) |
---|
| 51 | |
---|
[7103] | 52 | REWIND( numnat_cfg ) ! Namelist namagedate in configuration namelist : AGE parameters |
---|
| 53 | READ ( numnat_cfg, namage, IOSTAT = ios, ERR = 902 ) |
---|
[7041] | 54 | 902 IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in configuration namelist', lwp ) |
---|
[7103] | 55 | IF(lwm) WRITE ( numont, namage ) |
---|
[7041] | 56 | |
---|
| 57 | IF(lwp) THEN ! control print |
---|
[7068] | 58 | WRITE(numout,*) ' ' |
---|
| 59 | WRITE(numout,*) ' Sea Age Tracer' |
---|
[7041] | 60 | WRITE(numout,*) |
---|
| 61 | WRITE(numout,*) ' trc_nam_age: Read namage, namelist for Age passive tracer' |
---|
| 62 | WRITE(numout,*) ' ~~~~~~~' |
---|
[9119] | 63 | WRITE(numout,*) ' depth over which age tracer reset to zero rn_age_depth = ', & |
---|
| 64 | & rn_age_depth |
---|
| 65 | WRITE(numout,*) ' recip of relax. timescale (s) for age tracer shallower than age_depth rn_age_kill_rate = ', & |
---|
| 66 | & rn_age_kill_rate |
---|
[7068] | 67 | WRITE(numout,*) '' |
---|
[7041] | 68 | ENDIF |
---|
| 69 | |
---|
[7103] | 70 | ! |
---|
[7041] | 71 | END SUBROUTINE trc_nam_age |
---|
| 72 | |
---|
| 73 | !!====================================================================== |
---|
| 74 | END MODULE trcnam_age |
---|