Home
last modified time | relevance | path

Searched refs:clip (Results 1 – 25 of 28) sorted by relevance

12

/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.h9 int clip[4]; /* clip ranges */ member
15 img->clip[0] = PetscClipInterval(x, 0, img->w - 1); /* xmin */ in PetscImageSetClip()
16 img->clip[1] = PetscClipInterval(y, 0, img->h - 1); /* ymin */ in PetscImageSetClip()
17 img->clip[2] = PetscClipInterval(x + w, 0, img->w); /* xmax+1 */ in PetscImageSetClip()
18 img->clip[3] = PetscClipInterval(y + h, 0, img->h); /* ymax+1 */ in PetscImageSetClip()
23 int x, xs = img->clip[0], xe = img->clip[2]; in PetscImageClear()
24 int y, ys = img->clip[1], ye = img->clip[3]; in PetscImageClear()
31 if (x < img->clip[0] || x >= img->clip[2]) return; in PetscImageDrawPixel()
32 if (y < img->clip[1] || y >= img->clip[3]) return; in PetscImageDrawPixel()
77 int xs = PetscMax(x, img->clip[0]), xe = PetscMin(x + w, img->clip[2]); in PetscImageDrawRectangle()
[all …]
/petsc/src/ts/adapt/interface/
H A Dtsadapt.c265 … PetscCall(PetscViewerASCIIPrintf(viewer, " clip fastest increase %g\n", (double)adapt->clip[1])); in TSAdaptView()
266 … PetscCall(PetscViewerASCIIPrintf(viewer, " clip fastest decrease %g\n", (double)adapt->clip[0])); in TSAdaptView()
561 if (low != (PetscReal)PETSC_CURRENT) adapt->clip[0] = low; in TSAdaptSetClip()
562 if (high != (PetscReal)PETSC_CURRENT) adapt->clip[1] = high; in TSAdaptSetClip()
588 if (low) *low = adapt->clip[0]; in TSAdaptGetClip()
589 if (high) *high = adapt->clip[1]; in TSAdaptGetClip()
743 PetscReal safety, reject_safety, clip[2], scale, hmin, hmax; in TSAdaptSetFromOptions() local
765 clip[0] = adapt->clip[0]; in TSAdaptSetFromOptions()
766 clip[1] = adapt->clip[1]; in TSAdaptSetFromOptions()
767 …pt_clip", "Admissible decrease/increase factor in step size", "TSAdaptSetClip", clip, &two, &set)); in TSAdaptSetFromOptions()
[all …]
/petsc/src/ts/adapt/impls/glee/
H A Dadaptglee.c92 h_lte = h * PetscClipInterval(hfac_lte, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_GLEE()
106 h_lte = h * PetscClipInterval(hfac_lte, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_GLEE()
/petsc/src/ts/adapt/impls/basic/
H A Dadaptbasic.c65 h_lte = h * PetscClipInterval(hfac_lte, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_Basic()
/petsc/src/ts/tests/output/
H A Dex8_1.out21 clip fastest increase 10.
22 clip fastest decrease 0.1
H A Dex8_2.out21 clip fastest increase 10.
22 clip fastest decrease 0.1
/petsc/src/ts/tutorials/advection-diffusion-reaction/output/
H A Dex2_1_alt_2.out20 clip fastest increase 10.
21 clip fastest decrease 0.1
H A Dex2_1_alt_4.out20 clip fastest increase 10.
21 clip fastest decrease 0.1
H A Dex2_1.out20 clip fastest increase 10.
21 clip fastest decrease 0.1
H A Dex2_1_alt.out20 clip fastest increase 10.
21 clip fastest decrease 0.1
H A Dex2_1_alt_3.out20 clip fastest increase 10.
21 clip fastest decrease 0.1
H A Dex1_1.out22 clip fastest increase 10.
23 clip fastest decrease 0.1
H A Dex1_3.out22 clip fastest increase 10.
23 clip fastest decrease 0.1
H A Dex5_1.out49 clip fastest increase 10.
50 clip fastest decrease 0.1
H A Dex4_1.out73 clip fastest increase 10.
74 clip fastest decrease 0.1
H A Dex3_1_alt_3.out56 clip fastest increase 10.
57 clip fastest decrease 0.1
H A Dex3_1_alt_2.out57 clip fastest increase 10.
58 clip fastest decrease 0.1
H A Dex3_1.out58 clip fastest increase 10.
59 clip fastest decrease 0.1
/petsc/src/ts/tutorials/output/
H A Dex40_n_ts_max_step_rejections-0.out21 clip fastest increase 10.
22 clip fastest decrease 0.1
H A Dex40_n_ts_max_step_rejections-1.out22 clip fastest increase 10.
23 clip fastest decrease 0.1
H A Dex40_n_ts_max_step_rejections-2.out23 clip fastest increase 10.
24 clip fastest decrease 0.1
H A Dex19_pi42.out25 clip fastest increase 2.
26 clip fastest decrease 0.1
H A Dex3_3.out39 clip fastest increase 10.
40 clip fastest decrease 0.1
/petsc/src/ts/adapt/impls/dsp/
H A Dadaptdsp.c164 hnew = h * PetscClipInterval(hfac, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_DSP()
/petsc/share/petsc/bin/
H A Ddmnetwork_view.py81 def __call__(self, value, clip=None): argument
82 value = super(BiasNorm, self).__call__(value, clip)

12