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 2528 for trunk/NEMOGCM/NEMO/TOP_SRC/C14b/trcini_c14b.F90 – NEMO

Ignore:
Timestamp:
2010-12-27T18:33:53+01:00 (14 years ago)
Author:
rblod
Message:

Update NEMOGCM from branch nemo_v3_3_beta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMOGCM/NEMO/TOP_SRC/C14b/trcini_c14b.F90

    • Property svn:keywords set to Id
    r1581 r2528  
    4141 
    4242   !!--------------------------------------------------------------------- 
    43    !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007)  
    44    !! $Id: trcini_cfc.F90 1146 2008-06-25 11:42:56Z rblod $  
    45    !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     43   !! NEMO/TOP 3.3 , NEMO Consortium (2010) 
     44   !! $Id$  
     45   !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    4646   !!---------------------------------------------------------------------- 
    4747 
     
    5959      !!---------------------------------------------------------------------- 
    6060 
    61       IF(lwp) WRITE(numout,*) 
    62       IF(lwp) WRITE(numout,*) ' trc_ini_cfc: initialisation of CFC chemical model' 
     61      !  Control consitency 
     62      CALL trc_ctl_c14b 
     63 
     64      IF(lwp) WRITE(numout,*) '' 
     65      IF(lwp) WRITE(numout,*) ' trc_ini_c14b: initialisation of Bomb C14 chemical model' 
    6366      IF(lwp) WRITE(numout,*) ' ~~~~~~~~~~~' 
    6467 
     
    162165   END SUBROUTINE trc_ini_c14b 
    163166    
     167   SUBROUTINE trc_ctl_c14b 
     168      !!---------------------------------------------------------------------- 
     169      !!                     ***  ROUTINE trc_ctl_c14b  *** 
     170      !! 
     171      !! ** Purpose :   control the cpp options, namelist and files  
     172      !!---------------------------------------------------------------------- 
     173 
     174      IF(lwp) THEN 
     175          WRITE(numout,*) ' C14 bomb Model ' 
     176          WRITE(numout,*) ' ' 
     177      ENDIF 
     178 
     179      ! Check number of tracers 
     180      ! -----------------------    
     181      IF( jp_c14b > 1) CALL ctl_stop( ' Change jp_c14b to be equal 1 in par_c14b.F90' ) 
     182 
     183      ! Check tracer names 
     184      ! ------------------ 
     185      IF ( ctrcnm(jpc14) /= 'C14B' ) THEN 
     186           ctrcnm(jpc14)  = 'C14B' 
     187           ctrcnl(jpc14)  = 'Bomb C14 concentration' 
     188      ENDIF 
     189 
     190      IF(lwp) THEN 
     191         CALL ctl_warn( ' we force tracer names' ) 
     192         WRITE(numout,*) ' tracer nb: ',jpc14,' name = ',ctrcnm(jpc14), ctrcnl(jpc14) 
     193         WRITE(numout,*) ' ' 
     194      ENDIF 
     195 
     196      ! Check tracer units 
     197      ! ------------------ 
     198      IF( ctrcun(jpc14) /= 'ration' ) THEN 
     199          ctrcun(jpc14) = 'ration' 
     200          IF(lwp) THEN 
     201             CALL ctl_warn( ' we force tracer unit' ) 
     202             WRITE(numout,*) ' tracer  ',ctrcnm(jpc14), 'UNIT= ',ctrcun(jpc14) 
     203             WRITE(numout,*) ' ' 
     204          ENDIF 
     205       ENDIF 
     206      ! 
     207   END SUBROUTINE trc_ctl_c14b 
    164208#else 
    165209   !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.