Actual source code: petscdrawtypes.h
petsc-3.6.2 2015-10-02
Report Typos and Errors

      1: #ifndef _PETSCDRAWTYPES_H
      2: #define _PETSCDRAWTYPES_H

      4: /*J
      5:     PetscDrawType - String with the name of a PetscDraw

      7:    Level: beginner

      9: .seealso: PetscDrawSetType(), PetscDraw, PetscViewer, PetscDrawCreate()
     10: J*/
     11: typedef const char* PetscDrawType;
     12: #define PETSC_DRAW_X          "x"
     13: #define PETSC_DRAW_GLUT       "glut"
     14: #define PETSC_DRAW_OPENGLES   "opengles"
     15: #define PETSC_DRAW_NULL       "null"
     16: #define PETSC_DRAW_WIN32      "win32"
     17: #define PETSC_DRAW_TIKZ       "tikz"

     19: /*S
     20:      PetscDraw - Abstract PETSc object for graphics

     22:    Level: beginner

     24:   Concepts: graphics

     26: .seealso:  PetscDrawCreate(), PetscDrawSetType(), PetscDrawType
     27: S*/
     28: typedef struct _p_PetscDraw* PetscDraw;

     30: /*S
     31:      PetscDrawAxis - Manages X-Y axis

     33:    Level: advanced

     35:   Concepts: graphics, axis

     37: .seealso:  PetscDrawAxisCreate(), PetscDrawAxisSetLimits(), PetscDrawAxisSetColors(), PetscDrawAxisSetLabels()
     38: S*/
     39: typedef struct _p_PetscDrawAxis* PetscDrawAxis;

     41: /*S
     42:      PetscDrawLG - Manages drawing x-y plots

     44:    Level: advanced

     46:   Concepts: graphics, axis

     48: .seealso:  PetscDrawAxisCreate(), PetscDrawLGCreate(), PetscDrawLGAddPoint()
     49: S*/
     50: typedef struct _p_PetscDrawLG*   PetscDrawLG;

     52: /*S
     53:      PetscDrawSP - Manages drawing scatter plots

     55:    Level: advanced

     57:   Concepts: graphics, scatter plots

     59: .seealso:  PetscDrawSPCreate()
     60: S*/
     61: typedef struct _p_PetscDrawSP*   PetscDrawSP;

     63: /*S
     64:      PetscDrawHG - Manages drawing histograms

     66:    Level: advanced

     68:   Concepts: graphics, histograms

     70: .seealso:  PetscDrawHGCreate()
     71: S*/
     72: typedef struct _p_PetscDrawHG*   PetscDrawHG;

     74: /*S
     75:      PetscDrawBar - Manages drawing bar graphs

     77:    Level: advanced

     79:   Concepts: graphics, histograms

     81: .seealso:  PetscDrawBarCreate()
     82: S*/
     83: typedef struct _p_PetscDrawBar*   PetscDrawBar;

     85: #endif