vis5d.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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 filename of Tcl startup commands: */
  39. #define TCL_STARTUP_FILE "vis5d.tcl"
  40. /* Default directory to search for user functions: */
  41. #define FUNCTION_PATH "userfuncs"
  42. /* Default animation rate in milliseconds: */
  43. #define ANIMRATE 100
  44. /* Default scale and exponent values for logrithmic vertical coordinate system: */
  45. #define DEFAULT_LOG_SCALE 1012.5
  46. #define DEFAULT_LOG_EXP -7.2
  47. /**********************************************************************/
  48. /**********************************************************************/
  49. /*** USERS: DON'T CHANGE ANYTHING BEYOND THIS POINT ***/
  50. /**********************************************************************/
  51. /**********************************************************************/
  52. /*
  53. * Define BIG_GFX to allow larger isosurfaces, contour slices, etc. if
  54. * there's enough memory.
  55. #if MBS==0 || MBS>=128
  56. # define BIG_GFX
  57. #endif
  58. */
  59. #define BIG_GFX
  60. /*
  61. * Shared by code above and below API:
  62. */
  63. #define MAX_LABEL 1000
  64. #define MAX_FUNCS 100
  65. #endif