Actual source code: petscdraw.h

      1: !
      2: !  Used by petscsysmod.F90 to create Fortran module file
      3: !
      4: #include "petsc/finclude/petscdraw.h"
      5: !
      6:       type, extends(tPetscObject) :: tPetscDraw
      7:       end type tPetscDraw
      8:       PetscDraw, parameter :: PETSC_NULL_DRAW = tPetscDraw(0)
      9: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     10: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW
     11: #endif

     13:       type, extends(tPetscObject) :: tPetscDrawLG
     14:       end type tPetscDrawLG
     15:       PetscDrawLG, parameter :: PETSC_NULL_DRAW_LG = tPetscDrawLG(0)
     16: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     17: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_LG
     18: #endif

     20:       type, extends(tPetscObject) :: tPetscDrawBar
     21:       end type tPetscDrawBar
     22:       PetscDrawBar, parameter :: PETSC_NULL_DRAW_BAR = tPetscDrawBar(0)
     23: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     24: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_BAR
     25: #endif

     27:       type, extends(tPetscObject) :: tPetscDrawAxis
     28:       end type tPetscDrawAxis
     29:       PetscDrawAxis, parameter :: PETSC_NULL_DRAW_AXIS = tPetscDrawAxis(0)
     30: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     31: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_AXIS
     32: #endif

     34:       type, extends(tPetscObject) :: tPetscDrawHG
     35:       end type tPetscDrawHG
     36:       PetscDrawHG, parameter :: PETSC_NULL_DRAW_HG = tPetscDrawHG(0)
     37: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     38: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_HG
     39: #endif

     41:       type, extends(tPetscObject) :: tPetscDrawSP
     42:       end type tPetscDrawSP
     43:       PetscDrawSP, parameter :: PETSC_NULL_DRAW_SP = tPetscDrawSP(0)
     44: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     45: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_SP
     46: #endif

     48:       type, extends(tPetscObject) :: tPetscDrawMesh
     49:       end type tPetscDrawMesh
     50:       PetscDrawMesh, parameter :: PETSC_NULL_DRAW_MESH = tPetscDrawMesh(0)
     51: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
     52: !DEC$ ATTRIBUTES DLLEXPORT::PETSC_NULL_SNES_DRAW_MESH
     53: #endif

     55: !  Flags for draw
     56: !
     57:       PetscEnum, parameter :: PETSC_DRAW_BASIC_COLORS = 33
     58:       PetscEnum, parameter :: PETSC_DRAW_ROTATE = -1
     59: !
     60: !  Colors for drawing
     61: !
     62:       PetscEnum, parameter :: PETSC_DRAW_WHITE = 0
     63:       PetscEnum, parameter :: PETSC_DRAW_BLACK = 1
     64:       PetscEnum, parameter :: PETSC_DRAW_RED = 2
     65:       PetscEnum, parameter :: PETSC_DRAW_GREEN = 3
     66:       PetscEnum, parameter :: PETSC_DRAW_CYAN = 4
     67:       PetscEnum, parameter :: PETSC_DRAW_BLUE = 5
     68:       PetscEnum, parameter :: PETSC_DRAW_MAGENTA = 6
     69:       PetscEnum, parameter :: PETSC_DRAW_AQUAMARINE = 7
     70:       PetscEnum, parameter :: PETSC_DRAW_FORESTGREEN = 8
     71:       PetscEnum, parameter :: PETSC_DRAW_ORANGE = 9
     72:       PetscEnum, parameter :: PETSC_DRAW_VIOLET = 10
     73:       PetscEnum, parameter :: PETSC_DRAW_BROWN = 11
     74:       PetscEnum, parameter :: PETSC_DRAW_PINK = 12
     75:       PetscEnum, parameter :: PETSC_DRAW_CORAL = 13
     76:       PetscEnum, parameter :: PETSC_DRAW_GRAY = 14
     77:       PetscEnum, parameter :: PETSC_DRAW_YELLOW = 15
     78:       PetscEnum, parameter :: PETSC_DRAW_GOLD = 16
     79:       PetscEnum, parameter :: PETSC_DRAW_LIGHTPINK = 17
     80:       PetscEnum, parameter :: PETSC_DRAW_MEDIUMTURQUOISE = 18
     81:       PetscEnum, parameter :: PETSC_DRAW_KHAKI = 19
     82:       PetscEnum, parameter :: PETSC_DRAW_DIMGRAY = 20
     83:       PetscEnum, parameter :: PETSC_DRAW_YELLOWGREEN = 21
     84:       PetscEnum, parameter :: PETSC_DRAW_SKYBLUE = 22
     85:       PetscEnum, parameter :: PETSC_DRAW_DARKGREEN = 23
     86:       PetscEnum, parameter :: PETSC_DRAW_NAVYBLUE = 24
     87:       PetscEnum, parameter :: PETSC_DRAW_SANDYBROWN = 25
     88:       PetscEnum, parameter :: PETSC_DRAW_CADETBLUE = 26
     89:       PetscEnum, parameter :: PETSC_DRAW_POWDERBLUE = 27
     90:       PetscEnum, parameter :: PETSC_DRAW_DEEPPINK = 28
     91:       PetscEnum, parameter :: PETSC_DRAW_THISTLE = 29
     92:       PetscEnum, parameter :: PETSC_DRAW_LIMEGREEN = 30
     93:       PetscEnum, parameter :: PETSC_DRAW_LAVENDERBLUSH =31
     94:       PetscEnum, parameter :: PETSC_DRAW_PLUM = 32

     96:       PetscEnum, parameter :: PETSC_BUTTON_NONE = 0
     97:       PetscEnum, parameter :: PETSC_BUTTON_LEFT = 1
     98:       PetscEnum, parameter :: PETSC_BUTTON_CENTER = 2
     99:       PetscEnum, parameter :: PETSC_BUTTON_RIGHT = 3
    100:       PetscEnum, parameter :: PETSC_BUTTON_WHEEL_UP = 4
    101:       PetscEnum, parameter :: PETSC_BUTTON_WHEEL_DOWN = 5
    102:       PetscEnum, parameter :: PETSC_BUTTON_LEFT_SHIFT = 6
    103:       PetscEnum, parameter :: PETSC_BUTTON_CENTER_SHIFT = 7
    104:       PetscEnum, parameter :: PETSC_BUTTON_RIGHT_SHIFT = 8