| /petsc/src/sys/classes/draw/impls/image/ |
| H A D | drawimage.h | 9 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 D | tsadapt.c | 265 … 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 D | adaptglee.c | 92 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 D | adaptbasic.c | 65 h_lte = h * PetscClipInterval(hfac_lte, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_Basic()
|
| /petsc/src/ts/tests/output/ |
| H A D | ex8_1.out | 21 clip fastest increase 10. 22 clip fastest decrease 0.1
|
| H A D | ex8_2.out | 21 clip fastest increase 10. 22 clip fastest decrease 0.1
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/output/ |
| H A D | ex2_1_alt_2.out | 20 clip fastest increase 10. 21 clip fastest decrease 0.1
|
| H A D | ex2_1_alt_4.out | 20 clip fastest increase 10. 21 clip fastest decrease 0.1
|
| H A D | ex2_1.out | 20 clip fastest increase 10. 21 clip fastest decrease 0.1
|
| H A D | ex2_1_alt.out | 20 clip fastest increase 10. 21 clip fastest decrease 0.1
|
| H A D | ex2_1_alt_3.out | 20 clip fastest increase 10. 21 clip fastest decrease 0.1
|
| H A D | ex1_1.out | 22 clip fastest increase 10. 23 clip fastest decrease 0.1
|
| H A D | ex1_3.out | 22 clip fastest increase 10. 23 clip fastest decrease 0.1
|
| H A D | ex5_1.out | 49 clip fastest increase 10. 50 clip fastest decrease 0.1
|
| H A D | ex4_1.out | 73 clip fastest increase 10. 74 clip fastest decrease 0.1
|
| H A D | ex3_1_alt_3.out | 56 clip fastest increase 10. 57 clip fastest decrease 0.1
|
| H A D | ex3_1_alt_2.out | 57 clip fastest increase 10. 58 clip fastest decrease 0.1
|
| H A D | ex3_1.out | 58 clip fastest increase 10. 59 clip fastest decrease 0.1
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex40_n_ts_max_step_rejections-0.out | 21 clip fastest increase 10. 22 clip fastest decrease 0.1
|
| H A D | ex40_n_ts_max_step_rejections-1.out | 22 clip fastest increase 10. 23 clip fastest decrease 0.1
|
| H A D | ex40_n_ts_max_step_rejections-2.out | 23 clip fastest increase 10. 24 clip fastest decrease 0.1
|
| H A D | ex19_pi42.out | 25 clip fastest increase 2. 26 clip fastest decrease 0.1
|
| H A D | ex3_3.out | 39 clip fastest increase 10. 40 clip fastest decrease 0.1
|
| /petsc/src/ts/adapt/impls/dsp/ |
| H A D | adaptdsp.c | 164 hnew = h * PetscClipInterval(hfac, adapt->clip[0], adapt->clip[1]); in TSAdaptChoose_DSP()
|
| /petsc/share/petsc/bin/ |
| H A D | dmnetwork_view.py | 81 def __call__(self, value, clip=None): argument 82 value = super(BiasNorm, self).__call__(value, clip)
|