xref: /petsc/src/sys/classes/viewer/impls/draw/vdraw.h (revision 245f004be2b2fca55a62739415aedaade1b4b42e)
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   PetscReal     pause;
23 } PetscViewer_Draw;
24 
25 #endif
26