1 #ifndef _ALBERTA_DEMO_GRAPHICS_H_ 2 #define _ALBERTA_DEMO_GRAPHICS_H_ 3 4 #include <alberta/alberta.h> 5 6 #ifdef __cplusplus 7 extern "C" { 8 #elif 0 9 } /* otherwise some editors attempt automatic indentation based on above '{' */ 10 #endif 11 12 /* function for displaying mesh, discrete solution, and/or estimate 13 * defined in graphics.c 14 */ 15 extern void graphics(MESH *mesh, DOF_REAL_VEC *u_h, REAL (*get_est)(EL *el), 16 REAL (*u)(const REAL_D x), REAL time); 17 18 extern void graphics_d(MESH *mesh, DOF_REAL_VEC_D *u_h, DOF_REAL_VEC *p_h, 19 REAL (*get_est)(EL *el), 20 const REAL *(*u)(const REAL_D val, REAL_D x), REAL time); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif 27