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 845 – NEMO

Changeset 845


Ignore:
Timestamp:
2008-03-13T14:09:49+01:00 (16 years ago)
Author:
cetlod
Message:

change the starting/ending FCF do loop indices and change jptra to jp_cfc, see ticket:83

Location:
branches/dev_001_GM/NEMO/TOP_SRC/CFC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_GM/NEMO/TOP_SRC/CFC/trccfc.F90

    r776 r845  
    3636   REAL(wp), PUBLIC, DIMENSION(jpi,jpj      ,jp_cfc0:jp_cfc1) ::   qint     ! flux function 
    3737 
    38    REAL(wp), DIMENSION(jptra) ::   soa1, soa2, soa3, soa4   ! coefficient for solubility of CFC [mol/l/atm] 
    39    REAL(wp), DIMENSION(jptra) ::   sob1, sob2, sob3         !    "               " 
    40    REAL(wp), DIMENSION(jptra) ::   sca1, sca2, sca3, sca4   ! coefficients for schmidt number in degre Celcius 
     38   REAL(wp), DIMENSION(jp_cfc) ::   soa1, soa2, soa3, soa4   ! coefficient for solubility of CFC [mol/l/atm] 
     39   REAL(wp), DIMENSION(jp_cfc) ::   sob1, sob2, sob3         !    "               " 
     40   REAL(wp), DIMENSION(jp_cfc) ::   sca1, sca2, sca3, sca4   ! coefficients for schmidt number in degre Celcius 
    4141       
    4242   !                          ! coefficients for conversion 
     
    8686      REAL(wp) ::   zak_cfc   ! transfert coefficients 
    8787       
    88       REAL(wp), DIMENSION(jphem,jptra)   ::   zpatm       ! atmospheric function 
     88      REAL(wp), DIMENSION(jphem,jp_cfc)   ::   zpatm       ! atmospheric function 
    8989      !!---------------------------------------------------------------------- 
    9090 
  • branches/dev_001_GM/NEMO/TOP_SRC/CFC/trcctl.cfc.h90

    r765 r845  
    2020      ! Check number of tracers 
    2121      ! -----------------------    
    22       IF( jptra > 2) THEN  
     22      IF( jp_cfc > 2) THEN  
    2323          IF(lwp) THEN  
    2424              WRITE (numout,*) ' ===>>>> : w a r n i n g ' 
    2525              WRITE (numout,*) ' =======   ============= ' 
    2626              WRITE (numout,*)                             & 
    27               &   ' STOP, change jptra to 1 or 2 in par_CFC module '   
     27              &   ' STOP, change jp_cfc to 1 or 2 in par_CFC module '   
    2828          END IF  
    2929          STOP 'TRC_CTL' 
     
    3232      ! Check tracer names 
    3333      ! ------------------ 
    34       IF( jptra == 1 ) THEN 
     34      IF( jp_cfc == 1 ) THEN 
    3535         IF ( jp11 == 1 ) THEN 
    3636            IF ( ctrcnm(jp11) /= 'CFC11') THEN 
     
    4747      ENDIF 
    4848 
    49       IF( jptra == 2 ) THEN 
     49      IF( jp_cfc == 2 ) THEN 
    5050         IF ( ctrcnm(jp11) /= 'CFC11' .OR. ctrcnm(jp12) /= 'CFC12' ) THEN  
    5151            ctrcnm(jp11) = 'CFC11' 
     
    6060         WRITE (numout,*) ' =======   ============= ' 
    6161         WRITE (numout,*) ' we force tracer names' 
    62          DO jn = 1, jptra 
     62         DO jn = jp_cfc0, jp_cfc1 
    6363            WRITE(numout,*) ' tracer nb: ',jn,' name = ',ctrcnm(jn), ctrcnl(jn) 
    6464         END DO 
     
    6969      ! Check tracer units 
    7070      ! ------------------ 
    71       DO jn = 1, jptra 
     71      DO jn = jp_cfc0, jp_cfc1 
    7272        IF( ctrcun(jn) /= 'mole/m3' ) THEN 
    7373            ctrcun(jn) = 'mole/m3' 
Note: See TracChangeset for help on using the changeset viewer.