Home
last modified time | relevance | path

Searched refs:PetscDraw (Results 1 – 25 of 134) sorted by relevance

123456

/petsc/include/petsc/private/
H A Ddrawimpl.h14 PetscErrorCode (*setdoublebuffer)(PetscDraw);
15 PetscErrorCode (*flush)(PetscDraw);
16 PetscErrorCode (*line)(PetscDraw, PetscReal, PetscReal, PetscReal, PetscReal, int);
17 PetscErrorCode (*linesetwidth)(PetscDraw, PetscReal);
18 PetscErrorCode (*linegetwidth)(PetscDraw, PetscReal *);
19 PetscErrorCode (*point)(PetscDraw, PetscReal, PetscReal, int);
20 PetscErrorCode (*pointsetsize)(PetscDraw, PetscReal);
21 PetscErrorCode (*string)(PetscDraw, PetscReal, PetscReal, int, const char[]);
22 PetscErrorCode (*stringvertical)(PetscDraw, PetscReal, PetscReal, int, const char[]);
23 PetscErrorCode (*stringsetsize)(PetscDraw, PetscReal, PetscReal);
[all …]
/petsc/include/
H A Dpetscdraw.h16 PETSC_EXTERN PetscErrorCode PetscDrawRegister(const char[], PetscErrorCode (*)(PetscDraw));
18 PETSC_EXTERN PetscErrorCode PetscDrawGetType(PetscDraw, PetscDrawType *);
19 PETSC_EXTERN PetscErrorCode PetscDrawSetType(PetscDraw, PetscDrawType);
20 …scErrorCode PetscDrawCreate(MPI_Comm, const char[], const char[], int, int, int, int, PetscDraw *);
21 PETSC_EXTERN PetscErrorCode PetscDrawSetOptionsPrefix(PetscDraw, const char[]);
22 PETSC_EXTERN PetscErrorCode PetscDrawSetFromOptions(PetscDraw);
23 PETSC_EXTERN PetscErrorCode PetscDrawSetSave(PetscDraw, const char[]);
24 PETSC_EXTERN PetscErrorCode PetscDrawSetSaveMovie(PetscDraw, const char[]);
25 PETSC_EXTERN PetscErrorCode PetscDrawSetSaveFinalImage(PetscDraw, const char[]);
26 PETSC_EXTERN PetscErrorCode PetscDrawView(PetscDraw, PetscViewer);
[all …]
/petsc/src/sys/classes/draw/impls/null/
H A Ddrawnull.c3 static PetscErrorCode PetscDrawCoordinateToPixel_Null(PetscDraw draw, PetscReal x, PetscReal y, int… in PetscDrawCoordinateToPixel_Null()
10 static PetscErrorCode PetscDrawPixelToCoordinate_Null(PetscDraw draw, int i, int j, PetscReal *x, P… in PetscDrawPixelToCoordinate_Null()
17 static PetscErrorCode PetscDrawPoint_Null(PetscDraw draw, PetscReal x, PetscReal y, int c) in PetscDrawPoint_Null()
23 static PetscErrorCode PetscDrawPointPixel_Null(PetscDraw draw, int x, int y, int c) in PetscDrawPointPixel_Null()
29 static PetscErrorCode PetscDrawLineGetWidth_Null(PetscDraw draw, PetscReal *width) in PetscDrawLineGetWidth_Null()
36 static PetscErrorCode PetscDrawLine_Null(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, … in PetscDrawLine_Null()
42 static PetscErrorCode PetscDrawArrow_Null(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr,… in PetscDrawArrow_Null()
48 static PetscErrorCode PetscDrawRectangle_Null(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal… in PetscDrawRectangle_Null()
54 static PetscErrorCode PetscDrawEllipse_Null(PetscDraw Win, PetscReal x, PetscReal y, PetscReal a, P… in PetscDrawEllipse_Null()
60 static PetscErrorCode PetscDrawTriangle_Null(PetscDraw draw, PetscReal X1, PetscReal Y_1, PetscReal… in PetscDrawTriangle_Null()
[all …]
/petsc/src/sys/classes/draw/interface/
H A Ddraw.c94 PetscErrorCode PetscDrawResizeWindow(PetscDraw draw, int w, int h) in PetscDrawResizeWindow()
120 PetscErrorCode PetscDrawGetWindowSize(PetscDraw draw, int *w, int *h) in PetscDrawGetWindowSize()
143 PetscErrorCode PetscDrawCheckResizedWindow(PetscDraw draw) in PetscDrawCheckResizedWindow()
166 PetscErrorCode PetscDrawGetTitle(PetscDraw draw, const char *title[]) in PetscDrawGetTitle()
197 PetscErrorCode PetscDrawSetTitle(PetscDraw draw, const char title[]) in PetscDrawSetTitle()
225 PetscErrorCode PetscDrawAppendTitle(PetscDraw draw, const char title[]) in PetscDrawAppendTitle()
246 static PetscErrorCode PetscDrawDestroy_Private(PetscDraw draw) in PetscDrawDestroy_Private()
272 PetscErrorCode PetscDrawDestroy(PetscDraw *draw) in PetscDrawDestroy()
316 PetscErrorCode PetscDrawGetPopup(PetscDraw draw, PetscDraw *popup) in PetscDrawGetPopup()
345 PetscErrorCode PetscDrawSetDisplay(PetscDraw draw, const char display[]) in PetscDrawSetDisplay()
[all …]
H A Ddline.c24 PetscErrorCode PetscDrawGetBoundingBox(PetscDraw draw, PetscReal *xl, PetscReal *yl, PetscReal *xr,… in PetscDrawGetBoundingBox()
55 PetscErrorCode PetscDrawGetCurrentPoint(PetscDraw draw, PetscReal *x, PetscReal *y) in PetscDrawGetCurrentPoint()
80 PetscErrorCode PetscDrawSetCurrentPoint(PetscDraw draw, PetscReal x, PetscReal y) in PetscDrawSetCurrentPoint()
103 PetscErrorCode PetscDrawPushCurrentPoint(PetscDraw draw, PetscReal x, PetscReal y) in PetscDrawPushCurrentPoint()
125 PetscErrorCode PetscDrawPopCurrentPoint(PetscDraw draw) in PetscDrawPopCurrentPoint()
151 PetscErrorCode PetscDrawLine(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr… in PetscDrawLine()
177 PetscErrorCode PetscDrawArrow(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal y… in PetscDrawArrow()
200 PetscErrorCode PetscDrawLineSetWidth(PetscDraw draw, PetscReal width) in PetscDrawLineSetWidth()
228 PetscErrorCode PetscDrawLineGetWidth(PetscDraw draw, PetscReal *width) in PetscDrawLineGetWidth()
H A Ddrawregall.c3 PETSC_EXTERN PetscErrorCode PetscDrawCreate_Image(PetscDraw);
4 PETSC_EXTERN PetscErrorCode PetscDrawCreate_TikZ(PetscDraw);
6 PETSC_EXTERN PetscErrorCode PetscDrawCreate_X(PetscDraw);
8 PETSC_EXTERN PetscErrorCode PetscDrawCreate_Null(PetscDraw);
10 PETSC_EXTERN PetscErrorCode PetscDrawCreate_Win32(PetscDraw);
H A Ddrawreg.c41 PetscErrorCode PetscDrawView(PetscDraw indraw, PetscViewer viewer) in PetscDrawView()
60 PetscDraw draw; in PetscDrawView()
97 PetscErrorCode PetscDrawViewFromOptions(PetscDraw A, PetscObject obj, const char name[]) in PetscDrawViewFromOptions()
135 …Comm comm, const char display[], const char title[], int x, int y, int w, int h, PetscDraw *indraw) in PetscDrawCreate()
137 PetscDraw draw; in PetscDrawCreate()
207 PetscErrorCode PetscDrawSetType(PetscDraw draw, PetscDrawType type) in PetscDrawSetType()
211 PetscErrorCode (*r)(PetscDraw); in PetscDrawSetType()
277 PetscErrorCode PetscDrawGetType(PetscDraw draw, PetscDrawType *type) in PetscDrawGetType()
316 PetscErrorCode PetscDrawRegister(const char *sname, PetscErrorCode (*function)(PetscDraw)) in PetscDrawRegister() argument
338 PetscErrorCode PetscDrawSetOptionsPrefix(PetscDraw draw, const char prefix[]) in PetscDrawSetOptionsPrefix()
[all …]
H A Ddclear.c19 PetscErrorCode PetscDrawClear(PetscDraw draw) in PetscDrawClear()
40 PetscErrorCode PetscDrawBOP(PetscDraw draw) in PetscDrawBOP()
59 PetscErrorCode PetscDrawEOP(PetscDraw draw) in PetscDrawEOP()
H A Ddpause.c16 PetscErrorCode PetscDrawPause(PetscDraw draw) in PetscDrawPause()
45 PetscErrorCode PetscDrawSetPause(PetscDraw draw, PetscReal lpause) in PetscDrawSetPause()
71 PetscErrorCode PetscDrawGetPause(PetscDraw draw, PetscReal *lpause) in PetscDrawGetPause()
H A Ddpoint.c19 PetscErrorCode PetscDrawPoint(PetscDraw draw, PetscReal xl, PetscReal yl, int cl) in PetscDrawPoint()
42 PetscErrorCode PetscDrawPointPixel(PetscDraw draw, int x, int y, int c) in PetscDrawPointPixel()
68 PetscErrorCode PetscDrawPointSetSize(PetscDraw draw, PetscReal width) in PetscDrawPointSetSize()
H A Ddtext.c21 PetscErrorCode PetscDrawString(PetscDraw draw, PetscReal xl, PetscReal yl, int cl, const char text[… in PetscDrawString()
47 PetscErrorCode PetscDrawStringVertical(PetscDraw draw, PetscReal xl, PetscReal yl, int cl, const ch… in PetscDrawStringVertical()
81 PetscErrorCode PetscDrawStringCentered(PetscDraw draw, PetscReal xc, PetscReal yl, int cl, const ch… in PetscDrawStringCentered()
119 PetscErrorCode PetscDrawStringBoxed(PetscDraw draw, PetscReal sxl, PetscReal syl, int sc, int bc, c… in PetscDrawStringBoxed()
185 PetscErrorCode PetscDrawStringSetSize(PetscDraw draw, PetscReal width, PetscReal height) in PetscDrawStringSetSize()
209 PetscErrorCode PetscDrawStringGetSize(PetscDraw draw, PetscReal *width, PetscReal *height) in PetscDrawStringGetSize()
H A Ddrect.c22 PetscErrorCode PetscDrawIndicatorFunction(PetscDraw draw, PetscReal xmin, PetscReal xmax, PetscReal… in PetscDrawIndicatorFunction()
69 PetscErrorCode PetscDrawCoordinateToPixel(PetscDraw draw, PetscReal x, PetscReal y, int *i, int *j) in PetscDrawCoordinateToPixel()
95 PetscErrorCode PetscDrawPixelToCoordinate(PetscDraw draw, int i, int j, PetscReal *x, PetscReal *y) in PetscDrawPixelToCoordinate()
124 PetscErrorCode PetscDrawRectangle(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscRe… in PetscDrawRectangle()
H A Ddsave.c9 static PetscErrorCode PetscDrawSave_SAWs(PetscDraw);
38 PetscErrorCode PetscDrawSetSave(PetscDraw draw, const char filename[]) in PetscDrawSetSave()
99 PetscErrorCode PetscDrawSetSaveMovie(PetscDraw draw, const char movieext[]) in PetscDrawSetSaveMovie()
141 PetscErrorCode PetscDrawSetSaveFinalImage(PetscDraw draw, const char filename[]) in PetscDrawSetSaveFinalImage()
175 PetscErrorCode PetscDrawSave(PetscDraw draw) in PetscDrawSave()
255 PetscErrorCode PetscDrawSaveMovie(PetscDraw draw) in PetscDrawSaveMovie()
338 static PetscErrorCode PetscDrawSave_SAWs(PetscDraw draw) in PetscDrawSave_SAWs()
H A Ddtri.c24 PetscErrorCode PetscDrawTriangle(PetscDraw draw, PetscReal x1, PetscReal y_1, PetscReal x2, PetscRe… in PetscDrawTriangle()
49 PetscErrorCode PetscDrawScalePopup(PetscDraw popup, PetscReal min, PetscReal max) in PetscDrawScalePopup()
95 static PetscErrorCode PetscDrawTensorContour_Zoom(PetscDraw win, void *dctx) in PetscDrawTensorContour_Zoom()
130 PetscErrorCode PetscDrawTensorContour(PetscDraw draw, int m, int n, const PetscReal xi[], const Pet… in PetscDrawTensorContour()
134 PetscDraw popup; in PetscDrawTensorContour()
219 PetscErrorCode PetscDrawTensorContourPatch(PetscDraw draw, int m, int n, PetscReal *x, PetscReal *y… in PetscDrawTensorContourPatch()
H A Ddmarker.c22 PetscErrorCode PetscDrawMarker(PetscDraw draw, PetscReal xl, PetscReal yl, int cl) in PetscDrawMarker()
75 PetscErrorCode PetscDrawSetMarkerType(PetscDraw draw, PetscDrawMarkerType mtype) in PetscDrawSetMarkerType()
96 PetscErrorCode PetscDrawGetMarkerType(PetscDraw draw, PetscDrawMarkerType *mtype) in PetscDrawGetMarkerType()
H A Ddcoor.c23 PetscErrorCode PetscDrawSetCoordinates(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, Pe… in PetscDrawSetCoordinates()
54 PetscErrorCode PetscDrawGetCoordinates(PetscDraw draw, PetscReal *xl, PetscReal *yl, PetscReal *xr,… in PetscDrawGetCoordinates()
/petsc/src/sys/classes/draw/utils/ftn-custom/
H A Dzzoomf.c10 typedef void (*FCN)(PetscDraw *, void *, PetscErrorCode *); /* force argument to next function to n…
12 static PetscErrorCode ourdrawzoom(PetscDraw draw, PetscCtx ctx) in ourdrawzoom()
16 …(*(void (*)(PetscDraw *, void *, PetscErrorCode *))(((PetscObject)draw)->fortran_func_pointers[0])… in ourdrawzoom()
20 PETSC_EXTERN void petscdrawzoom_(PetscDraw *draw, FCN f, PetscCtx ctx, PetscErrorCode *ierr) in petscdrawzoom_()
/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.c19 static PetscErrorCode PetscDrawSetViewport_Image(PetscDraw draw, PetscReal xl, PetscReal yl, PetscR… in PetscDrawSetViewport_Image()
41 static PetscErrorCode PetscDrawCoordinateToPixel_Image(PetscDraw draw, PetscReal x, PetscReal y, in… in PetscDrawCoordinateToPixel_Image()
51 static PetscErrorCode PetscDrawPixelToCoordinate_Image(PetscDraw draw, int i, int j, PetscReal *x, … in PetscDrawPixelToCoordinate_Image()
69 static PetscErrorCode PetscDrawPoint_Image(PetscDraw draw, PetscReal x, PetscReal y, int c) in PetscDrawPoint_Image()
84 static PetscErrorCode PetscDrawPointPixel_Image(PetscDraw draw, int x, int y, int c) in PetscDrawPointPixel_Image()
104 static PetscErrorCode PetscDrawLineGetWidth_Image(PetscDraw draw, PetscReal *width) in PetscDrawLineGetWidth_Image()
116 static PetscErrorCode PetscDrawLine_Image(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr,… in PetscDrawLine_Image()
129 static PetscErrorCode PetscDrawArrow_Image(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr… in PetscDrawArrow_Image()
162 static PetscErrorCode PetscDrawRectangle_Image(PetscDraw draw, PetscReal xl, PetscReal yl, PetscRea… in PetscDrawRectangle_Image()
180 static PetscErrorCode PetscDrawEllipse_Image(PetscDraw draw, PetscReal x, PetscReal y, PetscReal a,… in PetscDrawEllipse_Image()
[all …]
/petsc/src/sys/classes/draw/impls/win32/
H A Dwin32draw.c38 static PetscErrorCode TranslateColor_Win32(PetscDraw, int);
39 static PetscErrorCode AverageColorRectangle_Win32(PetscDraw, int, int, int, int);
40 static PetscErrorCode AverageColorTriangle_Win32(PetscDraw, int, int, int);
45 static PetscErrorCode PetscDrawGetPopup_Win32(PetscDraw, PetscDraw *);
47 static PetscErrorCode PetscDrawSetDoubleBuffer_Win32(PetscDraw draw) in PetscDrawSetDoubleBuffer_Win32()
66 static PetscErrorCode PetscDrawFlush_Win32(PetscDraw draw) in PetscDrawFlush_Win32()
97 static PetscErrorCode PetscDrawGetMouseButton_Win32(PetscDraw draw, PetscDrawButton *button, PetscR… in PetscDrawGetMouseButton_Win32()
142 static PetscErrorCode PetscDrawPause_Win32(PetscDraw draw) in PetscDrawPause_Win32()
149 static PetscErrorCode TranslateColor_Win32(PetscDraw draw, int color) in TranslateColor_Win32()
157 static PetscErrorCode AverageColorRectangle_Win32(PetscDraw draw, int c1, int c2, int c3, int c4) in AverageColorRectangle_Win32()
[all …]
/petsc/src/sys/classes/draw/impls/tikz/
H A Dtikz.c45 static PetscErrorCode PetscDrawDestroy_TikZ(PetscDraw draw) in PetscDrawDestroy_TikZ()
71 static PetscErrorCode PetscDrawClear_TikZ(PetscDraw draw) in PetscDrawClear_TikZ()
86 static PetscErrorCode PetscDrawLine_TikZ(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, … in PetscDrawLine_TikZ()
96 static PetscErrorCode PetscDrawRectangle_TikZ(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal… in PetscDrawRectangle_TikZ()
106 static PetscErrorCode PetscDrawTriangle_TikZ(PetscDraw draw, PetscReal x1, PetscReal y1, PetscReal … in PetscDrawTriangle_TikZ()
116 static PetscErrorCode PetscDrawEllipse_TikZ(PetscDraw draw, PetscReal x, PetscReal y, PetscReal a, … in PetscDrawEllipse_TikZ()
129 static PetscErrorCode PetscDrawString_TikZ(PetscDraw draw, PetscReal xl, PetscReal yl, int cl, cons… in PetscDrawString_TikZ()
139 static PetscErrorCode PetscDrawStringVertical_TikZ(PetscDraw draw, PetscReal xl, PetscReal yl, int … in PetscDrawStringVertical_TikZ()
157 static PetscErrorCode PetscDrawStringBoxed_TikZ(PetscDraw draw, PetscReal xl, PetscReal yl, int cl,… in PetscDrawStringBoxed_TikZ()
173 static PetscErrorCode PetscDrawStringGetSize_TikZ(PetscDraw draw, PetscReal *x, PetscReal *y) in PetscDrawStringGetSize_TikZ()
[all …]
/petsc/src/sys/classes/draw/impls/x/
H A Dxops.c16 static PetscErrorCode PetscDrawSetViewport_X(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal … in PetscDrawSetViewport_X()
37 static PetscErrorCode PetscDrawCoordinateToPixel_X(PetscDraw draw, PetscReal x, PetscReal y, int *i… in PetscDrawCoordinateToPixel_X()
47 static PetscErrorCode PetscDrawPixelToCoordinate_X(PetscDraw draw, int i, int j, PetscReal *x, Pets… in PetscDrawPixelToCoordinate_X()
57 static PetscErrorCode PetscDrawPoint_X(PetscDraw draw, PetscReal x, PetscReal y, int c) in PetscDrawPoint_X()
72 static PetscErrorCode PetscDrawPointPixel_X(PetscDraw draw, int x, int y, int c) in PetscDrawPointPixel_X()
82 static PetscErrorCode PetscDrawLine_X(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, Pet… in PetscDrawLine_X()
97 static PetscErrorCode PetscDrawArrow_X(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, Pe… in PetscDrawArrow_X()
131 static PetscErrorCode PetscDrawRectangle_X(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr… in PetscDrawRectangle_X()
148 static PetscErrorCode PetscDrawEllipse_X(PetscDraw draw, PetscReal x, PetscReal y, PetscReal a, Pet… in PetscDrawEllipse_X()
167 static PetscErrorCode PetscDrawTriangle_X(PetscDraw draw, PetscReal X1, PetscReal Y_1, PetscReal X2… in PetscDrawTriangle_X()
[all …]
/petsc/src/sys/classes/draw/tests/
H A Dex6.c19 static PetscErrorCode DrawFunction(PetscDraw draw, PetscCtx ctx) in DrawFunction()
26 PetscDraw popup; in DrawFunction()
56 PetscDraw draw; in main()
H A Dex4f.F9016 PetscDraw draw
36 PetscDraw draw
H A Dex4.c12 PetscErrorCode zoomfunction(PetscDraw draw, void *dummy) in zoomfunction()
31 PetscDraw draw; in main()
/petsc/src/sys/classes/draw/utils/
H A Dzoom.c17 PetscErrorCode PetscDrawZoom(PetscDraw draw, PetscErrorCode (*func)(PetscDraw, void *), PetscCtx ct… in PetscDrawZoom() argument

123456