vis5d.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /* Vis5D version 5.0 */
  2. /*
  3. Vis5D system for visualizing five dimensional gridded data sets
  4. Copyright (C) 1990-1997 Bill Hibbard, Brian Paul, Dave Santek,
  5. and Andre Battaiola.
  6. This program is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 1, or (at your option)
  9. any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program; if not, write to the Free Software
  16. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. /*
  19. * This configuration file contains options which can be safely
  20. * changed by the user.
  21. */
  22. #ifndef VIS5D_H
  23. #define VIS5D_H
  24. /*
  25. * Amount of physical RAM in megabytes:
  26. * vis5d normally uses a bounded amount of memory to avoid swapping.
  27. * When the limit is reached, the least-recently-viewed graphics will
  28. * be deallocated. If MBS is set to 0, however, vis5d will use ordinary
  29. * malloc/free and not deallocate graphics (ok for systems with a lot
  30. * of memory (>=128MB)).
  31. */
  32. #define MBS 32
  33. /* Default topography file: */
  34. #define TOPOFILE "EARTH.TOPO"
  35. /* Default map lines files: */
  36. #define WORLDFILE "OUTLSUPW"
  37. #define USAFILE "OUTLUSAM"
  38. /* Default directory to search for user functions: */
  39. #define FUNCTION_PATH "userfuncs"
  40. /* Default animation rate in milliseconds: */
  41. #define ANIMRATE 100
  42. /* Default scale and exponent values for logrithmic vertical coordinate system: */
  43. #define DEFAULT_LOG_SCALE 1012.5
  44. #define DEFAULT_LOG_EXP -7.2
  45. /**********************************************************************/
  46. /**********************************************************************/
  47. /*** USERS: DON'T CHANGE ANYTHING BEYOND THIS POINT ***/
  48. /**********************************************************************/
  49. /**********************************************************************/
  50. /*
  51. * Define BIG_GFX to allow larger isosurfaces, contour slices, etc. if
  52. * there's enough memory.
  53. #if MBS==0 || MBS>=128
  54. # define BIG_GFX
  55. #endif
  56. */
  57. #define BIG_GFX
  58. /*
  59. * Shared by code above and below API:
  60. */
  61. #define MAX_LABEL 1000
  62. #define MAX_FUNCS 100
  63. #endif