DUNE-FEM (unstable)

grcommon.hh
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;
18struct datainfo
19{
20 const char * name;
21 const char * base_name;
22 DATAINFO *next;
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;
34 DATAINFO * datinf;
35 void *tsc;
36};
37#endif
38
39#endif
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)