1 #ifndef DUNE_COMBINEDGRAPEDISPLAY_HH
2 #define DUNE_COMBINEDGRAPEDISPLAY_HH
27 template<
class DisplayType>
34 typedef typename DisplayType :: MyGridType GridType;
35 enum { dim = GridType :: dimension };
36 enum { dimworld = GridType :: dimensionworld };
39 typedef typename GrapeInterface<dim,dimworld>::DUNE_ELEM DUNE_ELEM;
40 typedef typename GrapeInterface<dim,dimworld>::DUNE_FDATA DUNE_FDATA;
41 typedef typename GrapeInterface<dim,dimworld>::DUNE_DAT DUNE_DAT;
42 typedef typename GrapeInterface<dim,dimworld>::F_DATA F_DATA;
46 typedef typename std::list< DisplayType * > DisplayListType;
47 DisplayListType dispList_;
49 typedef typename DisplayListType :: iterator DisplayListIteratorType;
50 DisplayListIteratorType grditer_;
51 DisplayListIteratorType enditer_;
53 typedef typename std::list< void * > GridPartListType;
54 GridPartListType gridPartList_;
55 typedef typename GridPartListType :: iterator GridPartListIteratorType;
56 GridPartListIteratorType partEnd_;
57 GridPartListIteratorType partIter_;
93 inline void * getHmesh();
95 inline void addMyMeshToGlobalTimeScene(
double time,
int proc);
101 typedef typename DisplayType :: StackEntryType StackEntryType;
102 StackEntryType stackEntry_;
105 std::vector < DUNE_FDATA * > vecFdata_;
111 inline int callFirstMacro(DUNE_ELEM * he) ;
113 inline int first_leaf (DUNE_ELEM * he) ;
114 inline int next_leaf (DUNE_ELEM * he) ;
124 inline static void * copy_iterator (
const void * i) ;
127 inline void local_to_world (DUNE_ELEM * he,
const double * c,
double * w);
130 inline int world_to_local (DUNE_ELEM * he,
const double * w,
double * c);
133 inline int checkInside (DUNE_ELEM * he,
const double * w);
136 inline static void ctow (DUNE_ELEM * he,
const double * c,
double * w);
139 inline static int wtoc (DUNE_ELEM * he,
const double * w,
double * c);
142 inline static int check_inside (DUNE_ELEM * he,
const double * w);
145 inline static int first_mac (DUNE_ELEM * he);
146 inline static int next_mac (DUNE_ELEM * he);
149 inline static int fst_leaf (DUNE_ELEM * he);
150 inline static int nxt_leaf (DUNE_ELEM * he);
153 inline static int fst_child (DUNE_ELEM * he);
154 inline static int nxt_child (DUNE_ELEM * he);
157 inline void evalCoord (DUNE_ELEM *he, DUNE_FDATA *df,
158 const double *coord,
double * val);
160 inline void evalDof (DUNE_ELEM *he, DUNE_FDATA *df,
int localNum,
double * val);
164 inline static void evalCoordWrap (DUNE_ELEM *he, DUNE_FDATA *df,
165 const double *coord,
double * val);
168 inline static void evalDofWrap (DUNE_ELEM *he, DUNE_FDATA *df,
int localNum,
double * val);
171 inline static void func_real (DUNE_ELEM *he , DUNE_FDATA * fe,
int ind,
172 const double *coord,
double *val);
174 inline void setIterationMethods(DUNE_DAT *, DUNE_FDATA *);
175 static inline void setIterationModus(DUNE_DAT *, DUNE_FDATA *);
177 static void * getStackEn(DUNE_DAT *);
178 static void freeStackEn(DUNE_DAT *,
void *);