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 846 for branches/dev_001_GM – NEMO

Changeset 846 for branches/dev_001_GM


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

change the starting/ending LOBSTER do loop indices and change jptra to jp_lobster, see ticket:84

Location:
branches/dev_001_GM/NEMO/TOP_SRC/LOBSTER
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_GM/NEMO/TOP_SRC/LOBSTER/sms_lobster1.h90

    r764 r846  
    6565   REAL(wp) ::   fdbod    !: zooplankton mortality fraction that goes to detritus 
    6666 
    67    REAL(wp), DIMENSION(jpk,jptra) ::   remdmp   !: depth dependant damping coefficient of passive tracers  
     67   REAL(wp), DIMENSION(jpk,jp_lobster) ::   remdmp   !: depth dependant damping coefficient of passive tracers  
    6868    
    6969 
  • branches/dev_001_GM/NEMO/TOP_SRC/LOBSTER/trcctl.lobster1.h90

    r764 r846  
    1717      ! Check number of tracers 
    1818      ! ----------------------- 
    19       IF (jptra /= 6) THEN  
     19      IF (jp_lobster /= 6) THEN  
    2020          IF (lwp) THEN  
    2121              WRITE (numout,*) ' ===>>>> : w a r n i n g ' 
    2222              WRITE (numout,*) ' =======   ============= ' 
    2323              WRITE (numout,*)                             & 
    24               &   ' STOP, change jptra to 6 in '           & 
     24              &   ' STOP, change jp_lobster to 6 in '           & 
    2525              &   ,'parameter.passivetrc.lobster1.h '   
    2626          END IF  
     
    5555            WRITE (numout,*) ' =======   ============= ' 
    5656            WRITE (numout,*) ' we force tracer names' 
    57             DO jn = 1, jptra 
     57            DO jn = jp_lob0, jp_lob1 
    5858               WRITE(numout,*) ' tracer nb: ',jn,' name = ',ctrcnm(jn), ctrcnl(jn) 
    5959            END DO 
     
    6363 
    6464      ! Check tracer units 
    65       DO jn = 1, jptra 
     65      DO jn = jp_lob0, jp_lob1 
    6666         IF( ctrcun(jn) /= 'mmole-N/m3') THEN 
    6767            ctrcun(jn)='mmole-N/m3' 
  • branches/dev_001_GM/NEMO/TOP_SRC/LOBSTER/trcini_lobster.F90

    r776 r846  
    6060      ! ----------------------------------------------------------------- 
    6161 
    62       DO jn = 1, jptra 
     62      DO jn = jp_lob0, jp_lob1 
    6363         remdmp(:,jn) = tminr 
    6464      END DO 
Note: See TracChangeset for help on using the changeset viewer.