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 5325 for branches/2015/dev_r5171_CNRS_LIM3_seaicebgc/NEMOGCM/NEMO/TOP_SRC/trcice.F90 – NEMO

Ignore:
Timestamp:
2015-06-01T12:00:26+02:00 (9 years ago)
Author:
aumont
Message:

various bugfixes and code changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2015/dev_r5171_CNRS_LIM3_seaicebgc/NEMOGCM/NEMO/TOP_SRC/trcice.F90

    r5193 r5325  
    1616   USE trc             ! passive tracers common variables 
    1717!  USE trcrst          ! passive tracers restart 
    18    USE trcnam          ! Namelist read 
    1918!  USE trcice_cfc      ! CFC      initialisation 
    2019   USE trcice_pisces   ! PISCES   initialisation 
     
    3130   PRIVATE 
    3231    
    33    PUBLIC   trc_ice_ini ! called by trc_init 
     32   PUBLIC   trc_ice_ini ! called by trc_nam 
    3433 
    3534CONTAINS 
     
    3938      !!                     ***  ROUTINE trc_ice_ini *** 
    4039      !! 
    41       !! ** Purpose :   Communication between TOP and sea ice 
     40      !! ** Purpose :   Initialization of the ice module for tracers 
    4241      !! 
    4342      !! ** Method  : -  
    4443      !!             
    4544      !!--------------------------------------------------------------------- 
    46       INTEGER ::   jk, jn, jl    ! dummy loop indices 
    47       INTEGER :: ios                              ! Local integer output status for namelist read 
     45      ! --- Variable declarations --- ! 
    4846 
    49       NAMELIST/namtrc_ice/ nn_ice_tr 
    50       ! 
    5147      IF(lwp) THEN 
    5248         WRITE(numout,*) 
     
    5854 
    5955      ! 
    60       REWIND( numnat_ref )              ! Namelist namtrc_dta in reference namelist : Passive tracer input data 
    61       READ  ( numnat_ref, namtrc_ice, IOSTAT = ios, ERR = 901) 
    62  901  IF( ios /= 0 ) CALL ctl_nam ( ios , ' namtrc_ice in reference namelist ', lwp ) 
    63  
    64       REWIND( numnat_cfg )              ! Namelist nampissbc in configuration namelist : Pisces external sources of nutrients 
    65       READ  ( numnat_cfg, namtrc_ice, IOSTAT = ios, ERR = 902 ) 
    66  902  IF( ios /= 0 ) CALL ctl_nam ( ios , 'namtrc_ice in configuration namelist', lwp ) 
    67  
    68       WRITE(numout,*) ' ' 
    69       WRITE(numout,*) ' Sea ice tracers option (nn_ice_tr) : ', nn_ice_tr 
    70       WRITE(numout,*) ' ' 
    71  
    7256      trc_i(:,:,:) = 0.0d0 ! by default 
    7357      trc_o(:,:,:) = 0.0d0 ! by default 
Note: See TracChangeset for help on using the changeset viewer.