Changeset 945 for trunk/NEMO/TOP_SRC/par_trc.F90
- Timestamp:
- 2008-05-14T18:14:53+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/par_trc.F90
r724 r945 2 2 !!====================================================================== 3 3 !! *** par_trc *** 4 !! passive tracers: set the passive tracers parameters4 !! TOP : set the passive tracers parameters 5 5 !!====================================================================== 6 !! History : 7 !! 8.2 ! 96-01 (M. Levy) Original code8 !! ! 99-07 (M. Levy) for LOBSTER1 or NPZD model9 !! ! 00-04 (O. Aumont, M.A. Foujols) HAMOCC3 and P3ZD10 !! 9.0 ! 04-03 (C. Ethe) Free form and module6 !! History : - ! 1996-01 (M. Levy) original code 7 !! - ! 1999-07 (M. Levy) for LOBSTER1 or NPZD model 8 !! - ! 2000-04 (O. Aumont, M.A. Foujols) HAMOCC3 and P3ZD 9 !! 1.0 ! 2004-03 (C. Ethe) Free form and module 10 !! 2.0 ! 2007-12 (C. Ethe, G. Madec) revised architecture 11 11 !!---------------------------------------------------------------------- 12 !! TOP 1.0, LOCEAN-IPSL (2005)13 !! $ Header: /home/opalod/NEMOCVSROOT/NEMO/TOP_SRC/par_trc.F90,v 1.6 2007/10/12 09:22:19 opalod Exp $14 !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt12 !! NEMO/TOP 2.0 , LOCEAN-IPSL (2007) 13 !! $Id$ 14 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 15 15 !!---------------------------------------------------------------------- 16 !! * Modules used 17 #if defined key_passivetrc 18 19 USE par_trc_trp 16 USE par_kind ! kind parameters 17 ! 18 USE par_lobster ! LOBSTER model 19 USE par_pisces ! PISCES model 20 USE par_cfc ! CFC 11 and 12 tracers 21 USE par_my_trc ! user defined passive tracers 20 22 21 23 IMPLICIT NONE 22 24 PUBLIC 23 25 24 25 #if defined key_trc_diatrd 26 27 !! number of dynamical trends 28 # if defined key_trcldf_eiv 29 !! we keep 3 more trends for eddy induced flux (gent velocity) 30 # if defined key_trcdmp 31 INTEGER , PARAMETER :: jpdiatrc = 11 32 # else 33 INTEGER , PARAMETER :: jpdiatrc = 10 34 # endif 35 # else 36 # if defined key_trcdmp 37 INTEGER , PARAMETER :: jpdiatrc = 8 38 # else 39 INTEGER , PARAMETER :: jpdiatrc = 7 40 # endif 41 # endif 26 ! Passive tracers : Total size 27 ! --------------- ! total number of passive tracers, of 2d and 3d output and trend arrays 28 INTEGER, PUBLIC, PARAMETER :: jptra = jp_lobster + jp_pisces + jp_cfc + jp_my_trc 29 INTEGER, PUBLIC, PARAMETER :: jpdia2d = jp_lobster_2d + jp_pisces_2d + jp_cfc_2d + jp_my_trc_2d 30 INTEGER, PUBLIC, PARAMETER :: jpdia3d = jp_lobster_3d + jp_pisces_3d + jp_cfc_3d + jp_my_trc_3d 31 ! ! total number of sms diagnostic arrays 32 INTEGER, PUBLIC, PARAMETER :: jpdiabio = jp_lobster_trd + jp_pisces_trd + jp_cfc_trd + jp_my_trc_trd 33 34 ! 1D configuration ("key_c1d") 35 ! ----------------- 36 # if defined key_c1d 37 LOGICAL, PUBLIC, PARAMETER :: lk_trc_c1d = .TRUE. !: 1D pass. tracer configuration flag 38 # else 39 LOGICAL, PUBLIC, PARAMETER :: lk_trc_c1d = .FALSE. !: 1D pass. tracer configuration flag 42 40 # endif 43 41 42 ! Passive tracers : size for TRP trends diagnotics (used if 'key_trc_diatrd' defined) 43 #if defined key_trcldf_eiv 44 # if defined key_trcdmp 45 INTEGER, PARAMETER :: jpdiatrc = 11 !: trends: 3*(advection + diffusion + eiv ) + damping + sms 46 # else 47 INTEGER, PARAMETER :: jpdiatrc = 10 !: trends: 3*(advection + diffusion + eiv ) + sms 48 # endif 44 49 #else 45 !!====================================================================== 46 !! Empty module : No passive tracer 47 !!====================================================================== 50 # if defined key_trcdmp 51 INTEGER, PARAMETER :: jpdiatrc = 8 !: trends: 3*(advection + diffusion ) + damping + sms 52 # else 53 INTEGER, PARAMETER :: jpdiatrc = 7 !: trends: 3*(advection + diffusion ) + damping + sms 54 # endif 48 55 #endif 49 56 57 !!====================================================================== 50 58 END MODULE par_trc
Note: See TracChangeset
for help on using the changeset viewer.