1 /******************************************************************************
2  *
3  * ALBERTA:  an Adaptive multi Level finite element toolbox  using
4  *           Bisectioning refinement and Error control by Residual
5  *           Techniques
6  *
7  * www.alberta-fem.de
8  *
9  ******************************************************************************
10  *
11  * File:     geomview-graphics.c
12  *
13  * Description: very simplistic online-graphics with Geomview, we use
14  *              togeomview to actually pipe data to geomview.
15  *
16  ******************************************************************************
17  *
18  *  author:     Claus-Justus Heine
19  *              Abteilung fuer Angewandte Mathematik
20  *              Albert-Ludwigs-Universitaet Freiburg
21  *              Hermann-Herder-Str. 10
22  *              79104 Freiburg
23  *              Germany
24  *              Claus.Heine@Mathematik.Uni-Freiburg.DE
25  *
26  *  (c) by C.-J. Heine (2006-2007)
27  *
28  ******************************************************************************/
29 
30 #ifndef _ALBERTA_GEOMVIEW_GRAPHICS_H_
31 #define _ALBERTA_GEOMVIEW_GRAPHICS_H_
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #elif 0
36 }
37 #endif
38 
39 extern void togeomview(MESH *mesh,
40 		       const DOF_REAL_VEC *u_h,
41 		       REAL uh_min, REAL uh_max,
42 		       REAL (*get_est)(EL *el),
43 		       REAL est_min, REAL est_max,
44 		       REAL (*u_loc)(const EL_INFO *el_info,
45 				     const REAL_B lambda,
46 				     void *ud),
47 		       void *ud, FLAGS fill_flags,
48 		       REAL u_min, REAL u_max);
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
54 #endif
55