bdy_par.F90 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. MODULE bdy_par
  2. !!======================================================================
  3. !! *** MODULE bdy_par ***
  4. !! Unstructured Open Boundary Cond. : define related parameters
  5. !!======================================================================
  6. !! History : 1.0 ! 2005-01 (J. Chanut, A. Sellar) Original code
  7. !! 3.0 ! 2008-04 (NEMO team) add in the reference version
  8. !! 3.3 ! 2010-09 (D. Storkey and E. O'Dea) update for Shelf configurations
  9. !! 3.4 ! 2011 (D. Storkey) rewrite in preparation for OBC-BDY merge
  10. !!----------------------------------------------------------------------
  11. #if defined key_bdy
  12. !!----------------------------------------------------------------------
  13. !! 'key_bdy' : Unstructured Open Boundary Condition
  14. !!----------------------------------------------------------------------
  15. IMPLICIT NONE
  16. PUBLIC
  17. # if ! defined key_agrif
  18. LOGICAL, PUBLIC, PARAMETER :: lk_bdy = .TRUE. !: Unstructured Ocean Boundary Condition flag
  19. # else
  20. LOGICAL, PUBLIC :: lk_bdy = .TRUE. !: Unstructured Ocean Boundary Condition flag
  21. # endif
  22. INTEGER, PUBLIC, PARAMETER :: jp_bdy = 10 !: Maximum number of bdy sets
  23. INTEGER, PUBLIC, PARAMETER :: jpbgrd = 3 !: Number of horizontal grid types used (T, U, V)
  24. #else
  25. !!----------------------------------------------------------------------
  26. !! Default option : NO Unstructured open boundary condition
  27. !!----------------------------------------------------------------------
  28. # if ! defined key_agrif
  29. LOGICAL, PUBLIC, PARAMETER :: lk_bdy = .FALSE. !: Unstructured Ocean Boundary Condition flag
  30. # else
  31. LOGICAL, PUBLIC :: lk_bdy = .FALSE. !: Unstructured Ocean Boundary Condition flag
  32. # endif
  33. #endif
  34. !!----------------------------------------------------------------------
  35. !! NEMO/OPA 3.3 , NEMO Consortium (2010)
  36. !! $Id: bdy_par.F90 4292 2013-11-20 16:28:04Z cetlod $
  37. !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)
  38. !!======================================================================
  39. END MODULE bdy_par