| /petsc/src/sys/classes/draw/tests/ |
| H A D | ex7.c | 31 PetscCall(PetscDrawLine(draw, 0, 0, 0, 0, r)); in main() 32 PetscCall(PetscDrawLine(draw, w, 0, w, 0, r)); in main() 33 PetscCall(PetscDrawLine(draw, 0, h, 0, h, r)); in main() 34 PetscCall(PetscDrawLine(draw, w, h, w, h, r)); in main() 36 PetscCall(PetscDrawLine(draw, 0 + 2, 0, w - 2, 0, k)); in main() 37 PetscCall(PetscDrawLine(draw, 0 + 2, h, w - 2, h, k)); in main() 38 PetscCall(PetscDrawLine(draw, 0, 0 + 2, 0, h - 2, k)); in main() 39 PetscCall(PetscDrawLine(draw, w, 0 + 2, w, h - 2, k)); in main() 41 PetscCall(PetscDrawLine(draw, 0 + 2, h / 2, w - 2, h - 2, b)); in main() 42 PetscCall(PetscDrawLine(draw, 0 + 1, h - 1, w - 1, 0 + 1, b)); in main()
|
| H A D | ex10.c | 24 PetscCall(PetscDrawLine(draw, 0.0, 0.0, 1.0, 1.0, PETSC_DRAW_BLACK)); in main() 33 PetscCall(PetscDrawLine(draw, 0.0, 1.0, 1.0, 0.0, PETSC_DRAW_BLUE)); in main()
|
| H A D | ex2.c | 20 PetscCall(PetscDrawLine(draw, 0.0, y, 1.0, y, i % 256)); in main()
|
| H A D | ex4f.F90 | 27 PetscCall(PetscDrawLine(draw, zero, value, one, value, i, ierr))
|
| H A D | ex4.c | 23 PetscCall(PetscDrawLine(draw, 0.0, y, 1.0, y, i)); in zoomfunction()
|
| H A D | ex1.c | 19 PetscCall(PetscDrawLine(draw, 0.0, 0.0, 1.0, 1.0, PETSC_DRAW_BLACK)); in main()
|
| /petsc/src/sys/classes/draw/interface/ |
| H A D | dviewp.c | 114 PetscCall(PetscDrawLine(draw, xl, yl, xl, yr, PETSC_DRAW_BLACK)); in PetscDrawSplitViewPort() 115 PetscCall(PetscDrawLine(draw, xl, yr, xr, yr, PETSC_DRAW_BLACK)); in PetscDrawSplitViewPort() 116 PetscCall(PetscDrawLine(draw, xr, yr, xr, yl, PETSC_DRAW_BLACK)); in PetscDrawSplitViewPort() 117 PetscCall(PetscDrawLine(draw, xr, yl, xl, yl, PETSC_DRAW_BLACK)); in PetscDrawSplitViewPort() 198 PetscCall(PetscDrawLine(draw, xl[i], yl[i], xl[i], yr[i], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreate() 199 PetscCall(PetscDrawLine(draw, xl[i], yr[i], xr[i], yr[i], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreate() 200 PetscCall(PetscDrawLine(draw, xr[i], yr[i], xr[i], yl[i], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreate() 201 PetscCall(PetscDrawLine(draw, xr[i], yl[i], xl[i], yl[i], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreate() 284 PetscCall(PetscDrawLine(draw, xl[k], yl[k], xl[k], yr[k], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreateRect() 285 PetscCall(PetscDrawLine(draw, xl[k], yr[k], xr[k], yr[k], PETSC_DRAW_BLACK)); in PetscDrawViewPortsCreateRect() [all …]
|
| H A D | dtext.c | 157 PetscCall(PetscDrawLine(draw, left, top, right, top, bc)); in PetscDrawStringBoxed() 158 PetscCall(PetscDrawLine(draw, left, bottom, left, top, bc)); in PetscDrawStringBoxed() 159 PetscCall(PetscDrawLine(draw, right, bottom, right, top, bc)); in PetscDrawStringBoxed() 160 PetscCall(PetscDrawLine(draw, left, bottom, right, bottom, bc)); in PetscDrawStringBoxed()
|
| H A D | dtri.c | 103 …for (i = 0; i < ctx->m; i++) PetscCall(PetscDrawLine(win, ctx->x[i], ctx->y[0], ctx->x[i], ctx->y[… in PetscDrawTensorContour_Zoom() 104 …for (i = 0; i < ctx->n; i++) PetscCall(PetscDrawLine(win, ctx->x[0], ctx->y[i], ctx->x[ctx->m - 1]… in PetscDrawTensorContour_Zoom()
|
| H A D | dline.c | 151 PetscErrorCode PetscDrawLine(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr… in PetscDrawLine() function
|
| /petsc/src/sys/classes/draw/utils/ |
| H A D | axisc.c | 309 PetscCall(PetscDrawLine(draw, axis->xlow, axis->ylow, axis->xhigh, axis->ylow, ac)); in PetscDrawAxisDraw() 310 PetscCall(PetscDrawLine(draw, axis->xlow, axis->ylow, axis->xlow, axis->yhigh, ac)); in PetscDrawAxisDraw() 311 PetscCall(PetscDrawLine(draw, axis->xlow, axis->yhigh, axis->xhigh, axis->yhigh, ac)); in PetscDrawAxisDraw() 312 PetscCall(PetscDrawLine(draw, axis->xhigh, axis->ylow, axis->xhigh, axis->yhigh, ac)); in PetscDrawAxisDraw() 328 PetscCall(PetscDrawLine(draw, tickloc[i], axis->ylow, tickloc[i], axis->ylow + .5 * th, tc)); in PetscDrawAxisDraw() 329 … PetscCall(PetscDrawLine(draw, tickloc[i], axis->yhigh, tickloc[i], axis->yhigh - .5 * th, tc)); in PetscDrawAxisDraw() 356 PetscCall(PetscDrawLine(draw, axis->xlow, tickloc[i], axis->xlow + .5 * tw, tickloc[i], tc)); in PetscDrawAxisDraw() 357 … PetscCall(PetscDrawLine(draw, axis->xhigh, tickloc[i], axis->xhigh - .5 * tw, tickloc[i], tc)); in PetscDrawAxisDraw()
|
| H A D | lgc.c | 105 …PetscCall(PetscDrawLine(draw, lg->x[(j - 1) * dim + i], lg->y[(j - 1) * dim + i], lg->x[j * dim + … in PetscDrawLGSPDraw() 502 …PetscCall(PetscDrawLine(draw, lg->x[(j - 1) * dim + i], lg->y[(j - 1) * dim + i], lg->x[j * dim + … in PetscDrawLGDraw() 528 PetscCall(PetscDrawLine(draw, xl, yl, xr, yl, PETSC_DRAW_BLACK)); in PetscDrawLGDraw() 529 PetscCall(PetscDrawLine(draw, xr, yl, xr, yr, PETSC_DRAW_BLACK)); in PetscDrawLGDraw() 530 PetscCall(PetscDrawLine(draw, xr, yr, xl, yr, PETSC_DRAW_BLACK)); in PetscDrawLGDraw() 531 PetscCall(PetscDrawLine(draw, xl, yr, xl, yl, PETSC_DRAW_BLACK)); in PetscDrawLGDraw() 534 …PetscCall(PetscDrawLine(draw, xl + 1 * tw, yr - (i + 1) * th, xl + 5 * tw, yr - (i + 1) * th, cl)); in PetscDrawLGDraw()
|
| H A D | bars.c | 201 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, values[idx], PETSC_DRAW_BLACK)); in PetscDrawBarDraw() 202 PetscCall(PetscDrawLine(draw, binRight, ymin, binRight, values[idx], PETSC_DRAW_BLACK)); in PetscDrawBarDraw() 203 PetscCall(PetscDrawLine(draw, binLeft, values[idx], binRight, values[idx], PETSC_DRAW_BLACK)); in PetscDrawBarDraw()
|
| H A D | hists.c | 379 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 380 PetscCall(PetscDrawLine(draw, binRight, ymin, binRight, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 381 PetscCall(PetscDrawLine(draw, binLeft, bins[0], binRight, bins[0], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 443 PetscCall(PetscDrawLine(draw, binLeft, ymin, binLeft, bins[i], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 444 PetscCall(PetscDrawLine(draw, binRight, ymin, binRight, bins[i], PETSC_DRAW_BLACK)); in PetscDrawHGDraw() 445 PetscCall(PetscDrawLine(draw, binLeft, bins[i], binRight, bins[i], PETSC_DRAW_BLACK)); in PetscDrawHGDraw()
|
| /petsc/src/dm/impls/da/ |
| H A D | da1.c | 81 …for (xmin_tmp = 0; xmin_tmp < dd->M; xmin_tmp++) PetscCall(PetscDrawLine(draw, (double)xmin_tmp, y… in DMView_DA_1d() 84 PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ymin, PETSC_DRAW_BLACK)); in DMView_DA_1d() 85 PetscCall(PetscDrawLine(draw, xmin, ymax, xmax, ymax, PETSC_DRAW_BLACK)); in DMView_DA_1d() 97 PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ymin, PETSC_DRAW_RED)); in DMView_DA_1d() 98 PetscCall(PetscDrawLine(draw, xmin, ymin, xmin, ymax, PETSC_DRAW_RED)); in DMView_DA_1d() 99 PetscCall(PetscDrawLine(draw, xmin, ymax, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_1d() 100 PetscCall(PetscDrawLine(draw, xmax, ymin, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_1d()
|
| H A D | da2.c | 78 …for (xmin = 0; xmin < dd->M; xmin++) PetscCall(PetscDrawLine(draw, xmin, ymin, xmin, ymax, PETSC_D… in DMView_DA_2d() 81 …for (ymin = 0; ymin < dd->N; ymin++) PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ymin, PETSC_D… in DMView_DA_2d() 93 PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ymin, PETSC_DRAW_RED)); in DMView_DA_2d() 94 PetscCall(PetscDrawLine(draw, xmin, ymin, xmin, ymax, PETSC_DRAW_RED)); in DMView_DA_2d() 95 PetscCall(PetscDrawLine(draw, xmin, ymax, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_2d() 96 PetscCall(PetscDrawLine(draw, xmax, ymin, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_2d()
|
| H A D | gr1.c | 258 …PetscCall(PetscDrawLine(draw, xgtmp, tmp, PetscRealPart(xg[0]), PetscRealPart(array[j]), PETSC_DRA… in VecView_MPI_Draw_DA1d() 262 …PetscCall(PetscDrawLine(draw, PetscRealPart(xg[i - 1]), PetscRealPart(array[j + dof * (i - 1)]), P… in VecView_MPI_Draw_DA1d()
|
| H A D | gr2.c | 72 PetscCall(PetscDrawLine(draw, x1, y_1, x2, y2, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom() 73 PetscCall(PetscDrawLine(draw, x2, y2, x3, y3, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom() 74 PetscCall(PetscDrawLine(draw, x3, y3, x4, y4, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom() 75 PetscCall(PetscDrawLine(draw, x4, y4, x1, y_1, PETSC_DRAW_BLACK)); in VecView_MPI_Draw_DA2d_Zoom()
|
| H A D | da3.c | 97 …1)); xmin < (PetscReal)(dd->M + (k * (dd->M + 1))); xmin++) PetscCall(PetscDrawLine(draw, xmin, ym… in DMView_DA_3d() 100 …for (ymin = 0; ymin < (PetscReal)dd->N; ymin++) PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ym… in DMView_DA_3d() 117 PetscCall(PetscDrawLine(draw, xmin, ymin, xmax, ymin, PETSC_DRAW_RED)); in DMView_DA_3d() 118 PetscCall(PetscDrawLine(draw, xmin, ymin, xmin, ymax, PETSC_DRAW_RED)); in DMView_DA_3d() 119 PetscCall(PetscDrawLine(draw, xmin, ymax, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_3d() 120 PetscCall(PetscDrawLine(draw, xmax, ymin, xmax, ymax, PETSC_DRAW_RED)); in DMView_DA_3d()
|
| /petsc/include/ |
| H A D | petscdraw.h | 127 PETSC_EXTERN PetscErrorCode PetscDrawLine(PetscDraw, PetscReal, PetscReal, PetscReal, PetscReal, in…
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 540 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), PetscRealPart(coords[1]), PetscRealPart(co… in VecView_Plex_Local_Draw_2D() 1842 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), y, PetscRealPart(coords[1]), y, lineColor)… in DMPlexDrawCell() 1843 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), y + dy, PetscRealPart(coords[0]), y - dy, … in DMPlexDrawCell() 1844 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[1]), y + dy, PetscRealPart(coords[1]), y - dy, … in DMPlexDrawCell() 1851 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), PetscRealPart(coords[1]), PetscRealPart(co… in DMPlexDrawCell() 1852 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]) + l * dx, PetscRealPart(coords[1]) + l * dy… in DMPlexDrawCell() 1853 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[2]) + l * dx, PetscRealPart(coords[3]) + l * dy… in DMPlexDrawCell() 1861 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), PetscRealPart(coords[1]), PetscRealPart(co… in DMPlexDrawCell() 1862 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[2]), PetscRealPart(coords[3]), PetscRealPart(co… in DMPlexDrawCell() 1863 …PetscCall(PetscDrawLine(draw, PetscRealPart(coords[4]), PetscRealPart(coords[5]), PetscRealPart(co… in DMPlexDrawCell() [all …]
|
| /petsc/src/vec/vec/impls/mpi/ |
| H A D | pdvec.c | 369 …if (rank) PetscCall(PetscDrawLine(draw, (PetscReal)start - 1, tmp, (PetscReal)start, PetscRealPart… in VecView_MPI_Draw() 370 …for (i = 1; i < xin->map->n; i++) PetscCall(PetscDrawLine(draw, (PetscReal)(i - 1 + start), PetscR… in VecView_MPI_Draw()
|
| /petsc/doc/manual/ |
| H A D | other.md | 713 PetscDrawLine(PetscDraw win, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int cl);
|