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 9169 for branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcice.F90 – NEMO

Ignore:
Timestamp:
2017-12-26T17:32:56+01:00 (7 years ago)
Author:
gm
Message:

dev_merge_2017: all SRC: finalize the removal of useless warning when reading namelist_cfg + remove all nn_closea + nn_msh replaced by a logical

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_merge_2017/NEMOGCM/NEMO/TOP_SRC/trcice.F90

    r9124 r9169  
    1010   !!   'key_top'                                                TOP models 
    1111   !!---------------------------------------------------------------------- 
    12    !!   trc_ice   :  Call the appropriate sea ice tracer subroutine 
     12   !!   trc_ice       :  Call the appropriate sea ice tracer subroutine 
    1313   !!---------------------------------------------------------------------- 
    14    USE oce_trc         ! shared variables between ocean and passive tracers 
    15    USE trc             ! passive tracers common variables 
    16    USE trcice_cfc      ! CFC      initialisation 
    17    USE trcice_pisces   ! PISCES   initialisation 
    18    USE trcice_c14      ! C14 bomb initialisation 
    19    USE trcice_age      ! aGE initialisation 
    20    USE trcice_my_trc   ! MY_TRC   initialisation 
     14   USE oce_trc        ! shared variables between ocean and passive tracers 
     15   USE trc            ! passive tracers common variables 
     16   USE trcice_cfc     ! CFC      initialisation 
     17   USE trcice_pisces  ! PISCES   initialisation 
     18   USE trcice_c14     ! C14 bomb initialisation 
     19   USE trcice_age     ! AGE      initialisation 
     20   USE trcice_my_trc  ! MY_TRC   initialisation 
    2121    
    2222   IMPLICIT NONE 
     
    3939      !! 
    4040      !! ** Method  : -  
    41       !!             
    4241      !!--------------------------------------------------------------------- 
    4342      ! 
     
    7170      !! 
    7271      !! ** Method  : - 
    73       !! 
    7472      !!--------------------------------------------------------------------- 
    7573      INTEGER :: jn      ! dummy loop indices 
    7674      INTEGER :: ios, ierr     ! Local integer output status for namelist read 
    7775      ! 
    78       TYPE(TRC_I_NML), DIMENSION(jpmaxtrc) :: sn_tri_tracer 
     76      TYPE(TRC_I_NML), DIMENSION(jpmaxtrc) ::   sn_tri_tracer 
    7977      !! 
    8078      NAMELIST/namtrc_ice/ nn_ice_tr, sn_tri_tracer 
     
    8987      REWIND( numnat_ref )              ! Namelist namtrc_ice in reference namelist : Passive tracer input data 
    9088      READ  ( numnat_ref, namtrc_ice, IOSTAT = ios, ERR = 901) 
    91  901  IF( ios /= 0 ) CALL ctl_nam ( ios , ' namtrc_ice in reference namelist ', lwp ) 
    92  
     89 901  IF( ios /= 0 )   CALL ctl_nam ( ios , ' namtrc_ice in reference namelist ', lwp ) 
    9390      REWIND( numnat_cfg )              ! Namelist namtrc_ice in configuration namelist : Pisces external sources of nutrients 
    9491      READ  ( numnat_cfg, namtrc_ice, IOSTAT = ios, ERR = 902 ) 
    95  902  IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_ice in configuration namelist', lwp ) 
     92 902  IF( ios >  0 )  CALL ctl_nam ( ios , 'namtrc_ice in configuration namelist', lwp ) 
    9693 
    9794      IF( lwp ) THEN 
    9895         WRITE(numout,*) ' ' 
    99          WRITE(numout,*) ' Sea ice tracers option (nn_ice_tr) : ', nn_ice_tr 
    100          WRITE(numout,*) ' ' 
     96         WRITE(numout,*) '   Namelist : namtrc_ice' 
     97         WRITE(numout,*) '      Sea ice tracers option (nn_ice_tr) : ', nn_ice_tr 
    10198      ENDIF 
    10299      ! 
Note: See TracChangeset for help on using the changeset viewer.