#include "petscsys.h" PetscErrorCode PetscDrawOpenGLUT(MPI_Comm comm,const char display[],const char title[],int x,int y,int w,int h,PetscDraw *draw)Collective on MPI_Comm
comm | - the communicator that will share X-window | |
display | - the X display on which to open,or null for the local machine | |
title | - the title to put in the title bar,or null for no title | |
x,y | - the screen coordinates of the upper left corner of window may use PETSC_DECIDE for these two arguments, then PETSc places the window | |
w, h | - the screen width and height in pixels, or PETSC_DRAW_HALF_SIZE, PETSC_DRAW_FULL_SIZE, or PETSC_DRAW_THIRD_SIZE or PETSC_DRAW_QUARTER_SIZE |
-nox | - Disables all x-windows output | |
-draw_pause <pause> | - Sets time (in seconds) that the program pauses after PetscDrawPause() has been called (0 is default, -1 implies until user input). | |
-draw_cmap <name> | - Sets the colormap to use. | |
-draw_cmap_reverse | - Reverses the colormap. | |
-draw_cmap_brighten | - Brighten (0 < beta < 1) or darken (-1 < beta < 0) the colormap. |