dims_levels__tropo25.F90 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. !#################################################################
  2. !
  3. ! Levels.
  4. !
  5. !### macro's #####################################################
  6. !
  7. #define TRACEBACK write (gol,'("in ",a," (",a,", line",i5,")")') rname, __FILE__, __LINE__; call goErr
  8. #define IF_NOTOK_RETURN(action) if (status/=0) then; TRACEBACK; action; return; end if
  9. #define IF_ERROR_RETURN(action) if (status> 0) then; TRACEBACK; action; return; end if
  10. !
  11. #include "tm5.inc"
  12. !
  13. !#################################################################
  14. module dims_levels
  15. use GO, only : gol, goPr, goErr
  16. use const_ec_v, only : lme, a_ec, b_ec
  17. use dims_grid, only : nregions_all
  18. implicit none
  19. ! --- in/out ------------------------------
  20. public
  21. ! --- const -------------------------------
  22. integer, parameter :: lm(0:nregions_all) = 25
  23. ! lmax_conv determines to what level the clouds and convection
  24. ! are stored in the meteo files...
  25. integer,parameter :: lmax_conv = 19 ! can be lowered to tropopause...
  26. integer,parameter :: echlevs(0:25) = (/ &
  27. 60, 58, &
  28. 56, 54, &
  29. 52, 50, &
  30. 48, 46, &
  31. 44, 42, &
  32. 40, 38, &
  33. 36, 34, &
  34. 32, 30, &
  35. 28, 26, &
  36. 24, 22, &
  37. 20, &
  38. 16, &
  39. 12, &
  40. 8, &
  41. 4, &
  42. 0 /)
  43. ! values filled in module geometry ...
  44. real :: bt(1:25+1)
  45. real :: at(1:25+1)
  46. end module dims_levels