grapecommon.hh

00001 #ifndef DUNE_GRAPECOMMON_HH
00002 #define DUNE_GRAPECOMMON_HH
00003 
00004 /* global variables for maxlevel use */
00005 static BUTTON * maxlevelButton=0;
00006 
00007 /* on click set min and max value of function to colorbar */
00008 static BUTTON * minMaxColorbar=0;
00009 
00010 /* global variables for iterator choice */
00011 static COMBOBUTTON  * iteratorButton = 0;
00012 static int defaultIteratorValue = 0 ;
00013 
00014 /* global variables for partition type choice */
00015 static COMBOBUTTON * partitionTypeButton = 0;
00016 
00017 static TIMESCENE * globalTsc = 0;
00018 
00019 /* info about data on one mesh */
00020 typedef struct datainfo DATAINFO;
00021 struct datainfo
00022 {
00023   const char * name;
00024   const char * base_name;
00025   DATAINFO *next;
00026 
00027   int dimVal; /* length of vector (dimVal = 1 --> scalar, otherwise vector  */
00028   int * comp; /* number of each component */
00029 };
00030 
00031 /* info about one mesh */
00032 typedef struct info INFO;
00033 struct info
00034 {
00035   int fix_mesh; /* if no dynamic grid 1 : else 0 */
00036   const char  *name;
00037   DATAINFO * datinf;
00038   void  *tsc;
00039 };
00040 
00041 void setupLeafButton(MANAGER *mgr, void *sc, int yesTimeScene);
00042 void removeLeafButton(MANAGER *mgr, void *sc);
00043 void setDefaultIteratorValue(int val);
00044   
00045 #endif

Generated on Tue Jul 28 22:28:17 2009 for dune-grid by  doxygen 1.5.6