xref: /petsc/src/sys/classes/viewer/impls/draw/vdraw.h (revision 2205254efee3a00a594e5e2a3a70f74dcb40bc03)
1 /*
2      Data structure for the PetscDraw version of the viewer
3 */
4 
5 #if !defined(__VDRAW_H)
6 #define __VDRAWL_H
7 
8 #include <petsc-private/viewerimpl.h>
9 typedef struct {
10   PetscInt      draw_max;
11   PetscInt      draw_base;
12   PetscInt      nbounds;                    /* number of bounds supplied with PetscViewerDrawSetBounds() */
13   PetscReal     *bounds;                    /* lower and upper bounds for each component to be used in plotting */
14   PetscDraw     *draw;
15   PetscDrawLG   *drawlg;
16   PetscDrawAxis *drawaxis;
17   int           w,h;                        /* These are saved in case additional windows are opened */
18   char          *display;
19   char          *title;
20   PetscBool     singleton_made;
21   PetscBool     hold;                       /* Keep previous image when adding new */
22 } PetscViewer_Draw;
23 
24 #endif
25