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 768 for branches/dev_001_GM/NEMO/TOP_SRC/MY_TRC/par_MY_TRC.F90 – NEMO

Ignore:
Timestamp:
2007-12-16T15:46:18+01:00 (16 years ago)
Author:
gm
Message:

dev_001_GM - create 1 trclsm_ module by trc model (CFC, LOBSTER, PISCES..) + some bug corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_GM/NEMO/TOP_SRC/MY_TRC/par_MY_TRC.F90

    r767 r768  
    1717   PUBLIC 
    1818 
     19   INTEGER, PUBLIC, PARAMETER ::   jp_lpc  = jp_lobster + jp_pisces + jp_cfc   !: cumulative number of TRC 
     20 
    1921#if defined key_trc_my_trc 
    2022   !!--------------------------------------------------------------------- 
     
    2830 
    2931   ! assign an index in trc arrays for each PTS prognostic variables 
    30    INTEGER, PUBLIC, PARAMETER ::   jp_lpc  = jp_lobster + jp_pisces + jp_cfc   !: cumulative number of TRC 
    31    INTEGER, PUBLIC, PARAMETER ::   jp_myt1 = jp_lpc + 1                        !: 1st MY_TRC tracer 
    32    INTEGER, PUBLIC, PARAMETER ::   jp_myt2 = jp_lpc + 1                        !: 2nd MY_TRC tracer 
    33    INTEGER, PUBLIC, PARAMETER ::   jp_myt3 = jp_lpc + 1                        !: 3rd MY_TRC tracer 
     32   INTEGER, PUBLIC, PARAMETER ::   jp_myt1 = jp_lpc + 1     !: 1st MY_TRC tracer 
     33   INTEGER, PUBLIC, PARAMETER ::   jp_myt2 = jp_lpc + 1     !: 2nd MY_TRC tracer 
     34   INTEGER, PUBLIC, PARAMETER ::   jp_myt3 = jp_lpc + 1     !: 3rd MY_TRC tracer 
    3435 
    3536#else 
     
    4546 
    4647   ! Starting/ending PISCES do-loop indices (N.B. no PISCES : jpl_pcs < jpf_pcs the do-loop are never done) 
    47    INTEGER, PUBLIC, PARAMETER ::   jpf_myt = jp_l + 1           !: First index of CFC passive tracers 
    48    INTEGER, PUBLIC, PARAMETER ::   jpl_myt = jp_l + jp_my_trc   !: Last  index of CFC passive tracers 
     48   INTEGER, PUBLIC, PARAMETER ::   jpf_myt = jp_lpc + 1           !: First index of CFC passive tracers 
     49   INTEGER, PUBLIC, PARAMETER ::   jpl_myt = jp_lpc + jp_my_trc   !: Last  index of CFC passive tracers 
    4950 
    5051   !!====================================================================== 
Note: See TracChangeset for help on using the changeset viewer.