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.
Changeset 7103 for branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/AGE/trcnam_age.F90 – NEMO

Ignore:
Timestamp:
2016-10-26T12:52:54+02:00 (8 years ago)
Author:
cetlod
Message:

new top interface : move namelist age from namelist_top to namelist_trc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r7012_ROBUST5_CNRS/NEMOGCM/NEMO/TOP_SRC/AGE/trcnam_age.F90

    r7097 r7103  
    3838      !!---------------------------------------------------------------------- 
    3939 
    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       ! 
    45       ln_trc_sbc(jp_age) =  '' 
    46       ln_trc_cbc(jp_age) =  '' 
    47       ln_trc_obc(jp_age) =  '' 
    48       ! 
    49  
    50       REWIND( numtrc_ref )              ! Namelist namagedate in reference namelist : AGE parameters 
    51       READ  ( numtrc_ref, namage, IOSTAT = ios, ERR = 901) 
     40      REWIND( numnat_ref )              ! Namelist namagedate in reference namelist : AGE parameters 
     41      READ  ( numnat_ref, namage, IOSTAT = ios, ERR = 901) 
    5242901   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in reference namelist', lwp ) 
    5343 
    54       REWIND( numtrc_cfg )              ! Namelist namagedate in configuration namelist : AGE parameters 
    55       READ  ( numtrc_cfg, namage, IOSTAT = ios, ERR = 902 ) 
     44      REWIND( numnat_cfg )              ! Namelist namagedate in configuration namelist : AGE parameters 
     45      READ  ( numnat_cfg, namage, IOSTAT = ios, ERR = 902 ) 
    5646902   IF( ios /= 0 ) CALL ctl_nam ( ios , 'namage in configuration namelist', lwp ) 
    57       IF(lwm) WRITE ( numonr, namage ) 
     47      IF(lwm) WRITE ( numont, namage ) 
    5848 
    5949      IF(lwp) THEN                  ! control print 
    6050         WRITE(numout,*) ' ' 
    6151         WRITE(numout,*) ' Sea Age Tracer' 
    62          WRITE(numout,*) '  tracer nb : ', jp_age, '    short name : ', TRIM( ctrcnm(jp_age) ) 
    6352         WRITE(numout,*) 
    6453         WRITE(numout,*) ' trc_nam_age: Read namage, namelist for Age passive tracer' 
     
    6958      ENDIF 
    7059 
    71       IF(lwm) CALL FLUSH ( numonr )     ! flush output namelist 
    72  
     60      ! 
    7361   END SUBROUTINE trc_nam_age 
    7462    
Note: See TracChangeset for help on using the changeset viewer.