dims_levels__ml91_tropo34.F90 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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) = 34
  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 = 34
  18. #else
  19. ! Quote Michiel van Weele:
  20. ! "..., convectie kan wel tot ~70 hPa (19km) gaan in de tropen."
  21. integer,parameter :: lmax_conv = 23
  22. #endif
  23. ! select ECMWF half levels;
  24. ! TM levels are number bottom-up:
  25. integer, parameter :: echlevs(0:34) = (/ &
  26. 91, &
  27. 89, 86, 83, 80, &
  28. 77, 74, 71, &
  29. 68, 65, 62, &
  30. 59, 56, 54, 52, 50, &
  31. 48, 46, 44, 42, 40, &
  32. 38, 36, 34, 32, &
  33. 29, 26, 23, 20, &
  34. 17, 14, 11, &
  35. 8, 5, 0 /)
  36. ! values filled in module geometry ...
  37. real :: at(1:34+1)
  38. real :: bt(1:34+1)
  39. end module dims_levels