Lines Matching refs:bounds
19 PetscCall(PetscFree(vdraw->bounds)); in PetscViewerDestroy_Draw()
304 PetscReal bounds[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 …scErrorCode PetscViewerDrawSetBounds(PetscViewer viewer, PetscInt nbounds, const PetscReal *bounds) in PetscViewerDrawSetBounds() argument
620 PetscCall(PetscFree(vdraw->bounds)); in PetscViewerDrawSetBounds()
621 PetscCall(PetscMalloc1(2 * nbounds, &vdraw->bounds)); in PetscViewerDrawSetBounds()
622 PetscCall(PetscArraycpy(vdraw->bounds, bounds, 2 * nbounds)); in PetscViewerDrawSetBounds()
642 …rrorCode PetscViewerDrawGetBounds(PetscViewer viewer, PetscInt *nbounds, const PetscReal *bounds[]) in PetscViewerDrawGetBounds() argument
652 if (bounds) *bounds = NULL; in PetscViewerDrawGetBounds()
658 if (bounds) *bounds = vdraw->bounds; in PetscViewerDrawGetBounds()