dims_levels__ml60.F90 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #include "tm5.inc"
  2. !
  3. ! Levels.
  4. !
  5. module dims_levels
  6. use const_ec_v, only : lme, a_ec, b_ec
  7. use dims_grid, only : nregions_all
  8. implicit none
  9. ! --- in/out ------------------------------
  10. public
  11. ! --- const -------------------------------
  12. integer, parameter :: lm(0:nregions_all) = 60
  13. ! Only lowest layers are used for convec calculations (sub files)
  14. ! to avoid memory problems.
  15. #ifdef without_lmax_conv
  16. ! don't bother about computation time and storage ...
  17. integer,parameter :: lmax_conv = 60
  18. #else
  19. ! Quote Michiel van Weele:
  20. ! "..., convectie kan wel tot ~70 hPa (19km) gaan in de tropen."
  21. integer,parameter :: lmax_conv = 40
  22. #endif
  23. ! select ECMWF half levels;
  24. ! TM levels are number bottom-up:
  25. integer, parameter :: echlevs(0:60) = (/ &
  26. 60, 59, 58, 57, &
  27. 56, 55, 54, 53, &
  28. 52, 51, 50, 49, &
  29. 48, 47, 46, 45, &
  30. 44, 43, 42, 41, &
  31. 40, 39, 38, 37, &
  32. 36, 35, 34, 33, &
  33. 32, 31, 30, 29, &
  34. 28, 27, 26, 25, &
  35. 24, 23, 22, 21, &
  36. 20, 19, 18, 17, &
  37. 16, 15, 14, 13, &
  38. 12, 11, 10, 9, &
  39. 8, 7, 6, 5, &
  40. 4, 3, 2, 1, 0 /)
  41. ! values filled in module geometry ...
  42. real :: at(1:60+1)
  43. real :: bt(1:60+1)
  44. end module dims_levels