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 2423 for trunk/NEMO/TOP_SRC/CFC – NEMO

Ignore:
Timestamp:
2010-11-24T16:37:34+01:00 (14 years ago)
Author:
cetlod
Message:

v3.2:use of standard print control in TOP

Location:
trunk/NEMO/TOP_SRC/CFC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/CFC/trcctl_cfc.F90

    r2047 r2423  
    4242      ! Check number of tracers 
    4343      ! -----------------------    
    44       IF( jp_cfc > 2) THEN  
    45           IF(lwp) THEN  
    46               WRITE (numout,*) ' ===>>>> : w a r n i n g <<<<===' 
    47               WRITE (numout,*)                             & 
    48               &   ' STOP, change jp_cfc to 1 or 2 in par_CFC module '   
    49           END IF  
    50           STOP 'TRC_CTL' 
    51       END IF  
     44      IF( jp_cfc > 2 ) CALL ctl_stop( ' change jp_cfc to 1 or 2 in par_cfc.F90.' ) 
    5245 
    5346      ! Check tracer names 
     
    6255 
    6356      IF(lwp) THEN 
    64          WRITE (numout,*) ' ===>>>> : w a r n i n g ' 
    65          WRITE (numout,*) ' =======   ============= ' 
    66          WRITE (numout,*) ' we force tracer names' 
     57         CALL ctl_warn( ' We force tracer names ' ) 
    6758         DO jl = 1, jp_cfc 
    6859            jn = jp_cfc0 + jl - 1 
     
    8071            ctrcun(jn) = 'mole/m3' 
    8172            IF(lwp) THEN 
    82                WRITE (numout,*) ' ===>>>> : w a r n i n g <<<<===' 
    83                WRITE (numout,*) ' we force tracer unit' 
     73               CALL ctl_warn( ' We force tracer units ' ) 
    8474               WRITE(numout,*) ' tracer  ',ctrcnm(jn), 'UNIT= ',ctrcun(jn) 
    8575               WRITE(numout,*) ' ' 
  • trunk/NEMO/TOP_SRC/CFC/trcsms_cfc.F90

    r2047 r2423  
    3434   INTEGER , PUBLIC    ::   npyear         ! Number of years read in CFC1112 file 
    3535    
    36    REAL(wp), PUBLIC, DIMENSION(jpyear,jphem, jp_cfc) ::   p_cfc    ! partial hemispheric pressure for CFC           
    37    REAL(wp), PUBLIC, DIMENSION(jpi,jpj)              ::   xphem    ! spatial interpolation factor for patm 
     36   REAL(wp), PUBLIC, DIMENSION(jpyear,jphem,2     ) ::   p_cfc    ! partial hemispheric pressure for CFC           
     37   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)             ::   xphem    ! spatial interpolation factor for patm 
    3838   REAL(wp), PUBLIC, DIMENSION(jpi,jpj     ,jp_cfc) ::   qtr_cfc  ! flux at surface 
    3939   REAL(wp), PUBLIC, DIMENSION(jpi,jpj     ,jp_cfc) ::   qint_cfc ! cumulative flux  
    4040 
    41    REAL(wp), DIMENSION(4,jp_cfc) ::   soa   ! coefficient for solubility of CFC [mol/l/atm] 
    42    REAL(wp), DIMENSION(3,jp_cfc) ::   sob   !    "               " 
    43    REAL(wp), DIMENSION(4,jp_cfc) ::   sca   ! coefficients for schmidt number in degre Celcius 
     41   REAL(wp), DIMENSION(4,2) ::   soa   ! coefficient for solubility of CFC [mol/l/atm] 
     42   REAL(wp), DIMENSION(3,2) ::   sob   !    "               " 
     43   REAL(wp), DIMENSION(4,2) ::   sca   ! coefficients for schmidt number in degre Celcius 
    4444       
    4545   !                          ! coefficients for conversion 
Note: See TracChangeset for help on using the changeset viewer.