dune-fem 2.8.0
Loading...
Searching...
No Matches
grcommon.hh
Go to the documentation of this file.
1#ifndef DUNE_GRCOMMON_HH
2#define DUNE_GRCOMMON_HH
3
4#if HAVE_GRAPE
5#include <dune/grid/io/visual/grape/grapewrapper.hh>
6// now include the necessary file
7#include <dune/grid/io/visual/grape/grapecommon.hh>
8#else
9
10// if grape is not available do some dummy typedefing
11typedef int BUTTON;
12typedef int COMBOBUTTON;
13typedef int TIMESCENE;
14typedef int MANAGER;
15
16/* info about data on one mesh */
17typedef struct datainfo DATAINFO;
19{
20 const char * name;
21 const char * base_name;
23
24 int dimVal; /* length of vector (dimVal = 1 --> scalar, otherwise vector */
25 int * comp; /* number of each component */
26};
27
28/* info about one mesh */
29typedef struct info INFO;
30struct info
31{
32 int fix_mesh; /* if no dynamic grid 1 : else 0 */
33 const char *name;
35 void *tsc;
36};
37#endif
38
39#endif
int MANAGER
Definition: grcommon.hh:14
int BUTTON
Definition: grcommon.hh:11
int COMBOBUTTON
Definition: grcommon.hh:12
int TIMESCENE
Definition: grcommon.hh:13
Definition: grcommon.hh:19
DATAINFO * next
Definition: grcommon.hh:22
const char * name
Definition: grcommon.hh:20
int dimVal
Definition: grcommon.hh:24
const char * base_name
Definition: grcommon.hh:21
int * comp
Definition: grcommon.hh:25
Definition: grcommon.hh:31
int fix_mesh
Definition: grcommon.hh:32
const char * name
Definition: grcommon.hh:33
void * tsc
Definition: grcommon.hh:35
DATAINFO * datinf
Definition: grcommon.hh:34