New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
trcnam_age.F90 in branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/AGE – NEMO

source: branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/AGE/trcnam_age.F90 @ 7103

Last change on this file since 7103 was 7103, checked in by cetlod, 7 years ago

new top interface : move namelist age from namelist_top to namelist_trc

File size: 2.9 KB
Line 
1MODULE 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
11   USE trc             ! Ocean variables
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
25CONTAINS
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      !!----------------------------------------------------------------------
39
40      REWIND( numnat_ref )              ! Namelist namagedate in reference namelist : AGE parameters
41      READ  ( numnat_ref, namage, IOSTAT = ios, ERR = 901)
42901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in reference namelist', lwp )
43
44      REWIND( numnat_cfg )              ! Namelist namagedate in configuration namelist : AGE parameters
45      READ  ( numnat_cfg, namage, IOSTAT = ios, ERR = 902 )
46902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in configuration namelist', lwp )
47      IF(lwm) WRITE ( numont, namage )
48
49      IF(lwp) THEN                  ! control print
50         WRITE(numout,*) ' '
51         WRITE(numout,*) ' Sea Age Tracer'
52         WRITE(numout,*)
53         WRITE(numout,*) ' trc_nam_age: Read namage, namelist for Age passive tracer'
54         WRITE(numout,*) ' ~~~~~~~'
55         WRITE(numout,*) '  depth over which age tracer reset to zero                              rn_age_depth      = ', rn_age_depth 
56         WRITE(numout,*) '  recip of relax. timescale (s) for age tracer shallower than age_depth  rn_age_kill_rate  = ', rn_age_kill_rate 
57         WRITE(numout,*) ''
58      ENDIF
59
60      !
61   END SUBROUTINE trc_nam_age
62   
63   !!======================================================================
64END MODULE trcnam_age
Note: See TracBrowser for help on using the repository browser.