Home
last modified time | relevance | path

Searched refs:nbounds (Results 1 – 4 of 4) sorted by relevance

/petsc/src/sys/classes/viewer/impls/draw/
H A Ddrawv.c305 PetscInt nbounds = 16; in PetscViewerSetFromOptions_Draw() local
310 …-draw_bounds", "Bounds to put on plots axis", "PetscViewerDrawSetBounds", bounds, &nbounds, &flg)); in PetscViewerSetFromOptions_Draw()
311 if (flg) PetscCall(PetscViewerDrawSetBounds(v, nbounds / 2, bounds)); in PetscViewerSetFromOptions_Draw()
608 PetscErrorCode PetscViewerDrawSetBounds(PetscViewer viewer, PetscInt nbounds, const PetscReal *boun… in PetscViewerDrawSetBounds() argument
619 vdraw->nbounds = nbounds; in PetscViewerDrawSetBounds()
621 PetscCall(PetscMalloc1(2 * nbounds, &vdraw->bounds)); in PetscViewerDrawSetBounds()
622 PetscCall(PetscArraycpy(vdraw->bounds, bounds, 2 * nbounds)); in PetscViewerDrawSetBounds()
642 PetscErrorCode PetscViewerDrawGetBounds(PetscViewer viewer, PetscInt *nbounds, const PetscReal *bou… in PetscViewerDrawGetBounds() argument
651 if (nbounds) *nbounds = 0; in PetscViewerDrawGetBounds()
657 if (nbounds) *nbounds = vdraw->nbounds; in PetscViewerDrawGetBounds()
H A Dvdraw.h10 PetscInt nbounds; /* number of bounds supplied with PetscViewerDrawSetBounds() */ member
/petsc/src/dm/impls/da/
H A Dgr1.c148 PetscInt i, n, N, dof, istart, isize, j, nbounds; in VecView_MPI_Draw_DA1d() local
170 PetscCall(PetscViewerDrawGetBounds(v, &nbounds, &bounds)); in VecView_MPI_Draw_DA1d()
220 if (j < nbounds) { in VecView_MPI_Draw_DA1d()
H A Dgr2.c132 PetscInt ndisplayfields, i, nbounds; in VecView_MPI_Draw_DA2d() local
143 PetscCall(PetscViewerDrawGetBounds(viewer, &nbounds, &bounds)); in VecView_MPI_Draw_DA2d()
279 if (zctx.k < nbounds) { in VecView_MPI_Draw_DA2d()