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 763 for branches/dev_001_GM/NEMO/TOP_SRC/par_trc_trp.F90 – NEMO

Ignore:
Timestamp:
2007-12-13T14:52:50+01:00 (16 years ago)
Author:
gm
Message:

dev_001_GM - Style only addition in TOP F90 h90 routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_GM/NEMO/TOP_SRC/par_trc_trp.F90

    r719 r763  
    22   !!====================================================================== 
    33   !!                        ***  par_trc_trp  *** 
    4    !! passive tracers :   set the number of passive tracers 
     4   !! TOP :   set the number of passive tracers 
    55   !!====================================================================== 
    6    !! History : 
    7    !!   9.0  !  04-03  (C. Ethe)  Orignal 
     6   !! History :   1.0  !  2004-03  (C. Ethe)  Original cade 
     7   !!             2.0  !  04-03  (C. Ethe, G. Madec)  rewriting 
    88   !!---------------------------------------------------------------------- 
    9    !!  TOP 1.0,  LOCEAN-IPSL (2005)  
    10    !! $Header$  
    11    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
     9   !! NEMO/TOP 1.0,  LOCEAN-IPSL (2005) 
     10   !! $Id$ 
     11   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    1212   !!---------------------------------------------------------------------- 
    1313#if defined key_passivetrc 
    14    !!--------------------------------------------------------------------- 
    15    !!   'key_passivetrc'   :                               Passive tracer 
    16    !!--------------------------------------------------------------------- 
     14   !!---------------------------------------------------------------------- 
     15   !!   'key_passivetrc'                                    Passive tracers 
     16   !!---------------------------------------------------------------------- 
    1717 
    1818   IMPLICIT NONE 
    1919   PUBLIC 
    2020    
    21    !! jptra   : number of passive tracers 
    22    !! jpdia2d : additional 2d output 
    23    !! jpdia3d : additional 3d output 
    24  
    25 #if defined key_trc_lobster1 
     21# if defined key_trc_lobster1 
    2622   !!--------------------------------------------------------------------- 
    27    !!   'key_trc_lobster1'   :            LOBSTER1 Source Minus Sink model 
     23   !!   'key_trc_lobster1'   :                    LOBSTER biological model 
    2824   !!--------------------------------------------------------------------- 
    29    INTEGER, PUBLIC, PARAMETER :: jptra   = 6 
    30 #if defined key_trc_diaadd 
    31    INTEGER, PUBLIC, PARAMETER :: jpdia2d = 19 
    32    INTEGER, PUBLIC, PARAMETER :: jpdia3d = 3 
    33 #endif 
    34 #elif defined key_cfc 
     25   INTEGER, PUBLIC, PARAMETER ::   jptra   =  6   !: number of passive tracers 
     26#  if defined key_trc_diaadd 
     27   INTEGER, PUBLIC, PARAMETER ::   jpdia2d = 19   !: additional 2d output 
     28   INTEGER, PUBLIC, PARAMETER ::   jpdia3d =  3   !: additional 3d output 
     29#  endif 
     30# elif defined key_cfc 
    3531   !!--------------------------------------------------------------------- 
    3632   !!   'key_cfc'   :                      CFC Source Minus Sink model 
    3733   !!--------------------------------------------------------------------- 
    38    INTEGER, PUBLIC, PARAMETER :: jptra   = 2 
    39 #if defined key_trc_diaadd 
    40    INTEGER, PUBLIC, PARAMETER :: jpdia2d = 1 
    41    INTEGER, PUBLIC, PARAMETER :: jpdia3d = 1 
    42 #endif 
    43 #elif defined key_trc_pisces 
     34   INTEGER, PUBLIC, PARAMETER ::   jptra   = 2   !: number of passive tracers 
     35#  if defined key_trc_diaadd 
     36   INTEGER, PUBLIC, PARAMETER ::   jpdia2d = 1   !: additional 2d output 
     37   INTEGER, PUBLIC, PARAMETER ::   jpdia3d = 1   !: additional 3d output 
     38#  endif 
     39# elif defined key_trc_pisces 
    4440   !!--------------------------------------------------------------------- 
    4541   !!   'key_trc_pisces'   :                  PISCES Source Minus Sink model 
    4642   !!--------------------------------------------------------------------- 
    47 #if ! defined key_trc_kriest 
    48    INTEGER, PUBLIC, PARAMETER :: jptra   = 24 
    49 #if defined key_trc_diaadd 
    50    INTEGER, PUBLIC, PARAMETER :: jpdia2d = 13 
    51    INTEGER, PUBLIC, PARAMETER :: jpdia3d = 11 
     43#  if ! defined key_trc_kriest 
     44   INTEGER, PUBLIC, PARAMETER ::   jptra   = 24   !: number of passive tracers 
     45#   if defined key_trc_diaadd 
     46   INTEGER, PUBLIC, PARAMETER ::   jpdia2d = 13   !: additional 2d output 
     47   INTEGER, PUBLIC, PARAMETER ::   jpdia3d = 11   !: additional 3d output 
     48#   endif 
     49#  else 
     50   INTEGER, PUBLIC, PARAMETER ::   jptra   = 23   !: number of passive tracers 
     51#   if defined key_trc_diaadd 
     52   INTEGER, PUBLIC, PARAMETER ::   jpdia2d = 13   !: additional 2d output 
     53   INTEGER, PUBLIC, PARAMETER ::   jpdia3d = 18   !: additional 3d output 
     54#   endif 
    5255#  endif 
    53 #else 
    54    INTEGER, PUBLIC, PARAMETER :: jptra   = 23 
    55 #if defined key_trc_diaadd 
    56    INTEGER, PUBLIC, PARAMETER :: jpdia2d = 13 
    57    INTEGER, PUBLIC, PARAMETER :: jpdia3d = 18 
    58 #  endif 
    59 #endif 
    60 #else 
     56# else 
    6157   !!--------------------------------------------------------------------- 
    6258   !!   'default'   :          temperature and salinity as passive tracers 
    6359   !!--------------------------------------------------------------------- 
    64    INTEGER, PUBLIC, PARAMETER :: jptra   = 2 
    65 #if defined key_trc_diaadd 
    66    INTEGER, PUBLIC, PARAMETER :: jpdia2d = 1 
    67    INTEGER, PUBLIC, PARAMETER :: jpdia3d = 1 
    68 #endif 
     60   INTEGER, PUBLIC, PARAMETER ::   jptra   = 2   !: number of passive tracers 
     61#  if defined key_trc_diaadd 
     62   INTEGER, PUBLIC, PARAMETER ::   jpdia2d = 1   !: additional 2d output 
     63   INTEGER, PUBLIC, PARAMETER ::   jpdia3d = 1   !: additional 3d output 
     64#  endif 
     65# endif 
     66 
     67#else 
     68   !!---------------------------------------------------------------------- 
     69   !!  Empty module :                                     No passive tracer 
     70   !!---------------------------------------------------------------------- 
    6971#endif 
    7072 
    71 #else 
    7273   !!====================================================================== 
    73    !!  Empty module : No passive tracer  
    74    !!====================================================================== 
    75 #endif 
    76  
    7774END MODULE par_trc_trp 
Note: See TracChangeset for help on using the changeset viewer.