Date: 2013-07-02T14:38:08+00:00

Actual source code: vdraw.h
petsc-3.4.2 2013-07-02

      1: /*
      2:      Data structure for the PetscDraw version of the viewer
      3: */

      8: #include <petscdraw.h>
      9: #include <petsc-private/viewerimpl.h>
     10: typedef struct {
     11:   PetscInt      draw_max;
     12:   PetscInt      draw_base;
     13:   PetscInt      nbounds;                    /* number of bounds supplied with PetscViewerDrawSetBounds() */
     14:   PetscReal     *bounds;                    /* lower and upper bounds for each component to be used in plotting */
     15:   PetscDraw     *draw;
     16:   PetscDrawLG   *drawlg;
     17:   PetscDrawAxis *drawaxis;
     18:   int           w,h;                        /* These are saved in case additional windows are opened */
     19:   char          *display;
     20:   char          *title;
     21:   PetscBool     singleton_made;
     22:   PetscBool     hold;                       /* Keep previous image when adding new */
     23:   PetscReal     pause;
     24: } PetscViewer_Draw;

     26: #endif