par_c14b.F90 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. MODULE par_c14b
  2. !!======================================================================
  3. !! *** par_c14b ***
  4. !! TOP : set the C14 bomb parameters
  5. !!======================================================================
  6. !! History : 2.0 ! 2008-12 (C. Ethe, G. Madec) revised architecture
  7. !!----------------------------------------------------------------------
  8. USE par_pisces , ONLY : jp_pisces !: number of tracers in PISCES
  9. USE par_pisces , ONLY : jp_pisces_2d !: number of 2D diag in PISCES
  10. USE par_pisces , ONLY : jp_pisces_3d !: number of 3D diag in PISCES
  11. USE par_pisces , ONLY : jp_pisces_trd !: number of biological diag in PISCES
  12. USE par_my_trc , ONLY : jp_my_trc !: number of tracers in MY_TRC
  13. USE par_my_trc , ONLY : jp_my_trc_2d !: number of 2D diag in MY_TRC
  14. USE par_my_trc , ONLY : jp_my_trc_3d !: number of 3D diag in MY_TRC
  15. USE par_my_trc , ONLY : jp_my_trc_trd !: number of biological diag in MY_TRC
  16. USE par_cfc , ONLY : jp_cfc !: number of tracers in CFC
  17. USE par_cfc , ONLY : jp_cfc_2d !: number of 2D diag in CFC
  18. USE par_cfc , ONLY : jp_cfc_3d !: number of 3D diag in CFC
  19. USE par_cfc , ONLY : jp_cfc_trd !: number of biological diag in CFC
  20. IMPLICIT NONE
  21. INTEGER, PARAMETER :: jp_lb = jp_pisces + jp_my_trc + jp_cfc !: cum. number of pass. tracers
  22. INTEGER, PARAMETER :: jp_lb_2d = jp_pisces_2d + jp_my_trc_2d + jp_cfc_2d !:
  23. INTEGER, PARAMETER :: jp_lb_3d = jp_pisces_3d + jp_my_trc_3d + jp_cfc_3d !:
  24. INTEGER, PARAMETER :: jp_lb_trd = jp_pisces_trd + jp_my_trc_trd + jp_cfc_trd !:
  25. #if defined key_c14b
  26. !!---------------------------------------------------------------------
  27. !! 'key_c14b' : C14 bomb tracer
  28. !!---------------------------------------------------------------------
  29. LOGICAL, PUBLIC, PARAMETER :: lk_c14b = .TRUE. !: C14 bomb flag
  30. INTEGER, PUBLIC, PARAMETER :: jp_c14b = 1 !: number of passive tracers
  31. INTEGER, PUBLIC, PARAMETER :: jp_c14b_2d = 2 !: additional 2d output arrays ('key_trc_diaadd')
  32. INTEGER, PUBLIC, PARAMETER :: jp_c14b_3d = 1 !: additional 3d output arrays ('key_trc_diaadd')
  33. INTEGER, PUBLIC, PARAMETER :: jp_c14b_trd = 0 !: number of sms trends for C14
  34. INTEGER, PUBLIC, PARAMETER :: jpc14 = jp_lb + 1 !: assign an index in trc arrays for C14 bomb
  35. #else
  36. !!---------------------------------------------------------------------
  37. !! Default : No C14 tracer
  38. !!---------------------------------------------------------------------
  39. LOGICAL, PUBLIC, PARAMETER :: lk_c14b = .FALSE. !: C14 bomb flag
  40. INTEGER, PUBLIC, PARAMETER :: jp_c14b = 0 !: No C14 tracers
  41. INTEGER, PUBLIC, PARAMETER :: jp_c14b_2d = 0 !: No C14 additional 2d output arrays
  42. INTEGER, PUBLIC, PARAMETER :: jp_c14b_3d = 0 !: No C14 additional 3d output arrays
  43. INTEGER, PUBLIC, PARAMETER :: jp_c14b_trd = 0 !: number of sms trends for C14
  44. #endif
  45. ! Starting/ending C14 do-loop indices (N.B. no C14 : jp_c14b0 > jp_c14b1 the do-loop are never done)
  46. INTEGER, PUBLIC, PARAMETER :: jp_c14b0 = jp_lb + 1 !: First index of C14 tracer
  47. INTEGER, PUBLIC, PARAMETER :: jp_c14b1 = jp_lb + jp_c14b !: Last index of C14 tracer
  48. INTEGER, PUBLIC, PARAMETER :: jp_c14b0_2d = jp_lb_2d + 1 !: First index of C14 tracer
  49. INTEGER, PUBLIC, PARAMETER :: jp_c14b1_2d = jp_lb_2d + jp_c14b_2d !: Last index of C14 tracer
  50. INTEGER, PUBLIC, PARAMETER :: jp_c14b0_3d = jp_lb_3d + 1 !: First index of C14 tracer
  51. INTEGER, PUBLIC, PARAMETER :: jp_c14b1_3d = jp_lb_3d + jp_c14b_3d !: Last index of C14 tracer
  52. INTEGER, PUBLIC, PARAMETER :: jp_c14b0_trd = jp_lb_trd + 1 !: First index of C14 tracer
  53. INTEGER, PUBLIC, PARAMETER :: jp_c14b1_trd = jp_lb_trd + jp_c14b_trd !: Last index of C14 tracer
  54. !!----------------------------------------------------------------------
  55. !! NEMO/TOP 3.3 , NEMO Consortium (2010)
  56. !! $Id: par_c14b.F90 3680 2012-11-27 14:42:24Z rblod $
  57. !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
  58. !!======================================================================
  59. END MODULE par_c14b