par_trc.F90 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. MODULE par_trc
  2. !!======================================================================
  3. !! *** par_trc ***
  4. !! TOP : set the passive tracers parameters
  5. !!======================================================================
  6. !! History : - ! 1996-01 (M. Levy) original code
  7. !! - ! 2000-04 (O. Aumont, M.A. Foujols) HAMOCC3 and P3ZD
  8. !! 1.0 ! 2004-03 (C. Ethe) Free form and module
  9. !! 2.0 ! 2007-12 (C. Ethe, G. Madec) revised architecture
  10. !!----------------------------------------------------------------------
  11. USE par_kind ! kind parameters
  12. !
  13. USE par_pisces ! PISCES model
  14. USE par_c14b ! C14 bomb tracer
  15. USE par_cfc ! CFC 11 and 12 tracers
  16. USE par_age ! AGE tracer
  17. USE par_my_trc ! user defined passive tracers
  18. IMPLICIT NONE
  19. ! Passive tracers : Maximum number of tracers. Needed to define data structures
  20. ! ---------------
  21. INTEGER, PUBLIC, PARAMETER :: jpmaxtrc = 100
  22. ! Passive tracers : Total size
  23. ! --------------- ! total number of passive tracers, of 2d and 3d output and trend arrays
  24. INTEGER, PUBLIC, PARAMETER :: jptra = jp_pisces + jp_cfc + jp_c14b + jp_age + jp_my_trc
  25. INTEGER, PUBLIC, PARAMETER :: jpdia2d = jp_pisces_2d + jp_cfc_2d + jp_c14b_2d + jp_age_2d + jp_my_trc_2d
  26. INTEGER, PUBLIC, PARAMETER :: jpdia3d = jp_pisces_3d + jp_cfc_3d + jp_c14b_3d + jp_age_3d + jp_my_trc_3d
  27. ! ! total number of sms diagnostic arrays
  28. INTEGER, PUBLIC, PARAMETER :: jpdiabio = jp_pisces_trd + jp_cfc_trd + jp_c14b_trd + jp_age_trd + jp_my_trc_trd
  29. ! 1D configuration ("key_c1d")
  30. ! -----------------
  31. # if defined key_c1d
  32. LOGICAL, PUBLIC, PARAMETER :: lk_trc_c1d = .TRUE. !: 1D pass. tracer configuration flag
  33. # else
  34. LOGICAL, PUBLIC, PARAMETER :: lk_trc_c1d = .FALSE. !: 1D pass. tracer configuration flag
  35. # endif
  36. REAL(wp), PUBLIC :: rtrn = 0.5 * EPSILON( 1.e0 ) !: truncation value
  37. !!----------------------------------------------------------------------
  38. !! NEMO/TOP 3.3 , NEMO Consortium (2010)
  39. !! $Id$
  40. !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
  41. !!======================================================================
  42. END MODULE par_trc