Lines Matching refs:min
49 PetscErrorCode PetscDrawScalePopup(PetscDraw popup, PetscReal min, PetscReal max) in PetscDrawScalePopup() argument
76 PetscReal value = min + ((PetscReal)i) * (max - min) / 9; in PetscDrawScalePopup()
78 if (PetscAbsReal(value) < 1.e-10 && max - min > 1.e-6) value = 0.0; in PetscDrawScalePopup()
91 PetscReal *x, *y, min, max, *v; member
101 …PetscCall(PetscDrawTensorContourPatch(win, ctx->m, ctx->n, ctx->x, ctx->y, ctx->min, ctx->max, ctx… in PetscDrawTensorContour_Zoom()
151 ctx.max = ctx.min = v[0]; in PetscDrawTensorContour()
154 if (ctx.min > ctx.v[i]) ctx.min = ctx.v[i]; in PetscDrawTensorContour()
156 if (ctx.max - ctx.min < 1.e-7) { in PetscDrawTensorContour()
157 ctx.min -= 5.e-8; in PetscDrawTensorContour()
163 PetscCall(PetscDrawScalePopup(popup, ctx.min, ctx.max)); in PetscDrawTensorContour()
219 …rPatch(PetscDraw draw, int m, int n, PetscReal *x, PetscReal *y, PetscReal min, PetscReal max, Pet… in PetscDrawTensorContourPatch() argument
231 c1 = PetscDrawRealToColor(v[i + j * m], min, max); in PetscDrawTensorContourPatch()
234 c2 = PetscDrawRealToColor(v[i + j * m + 1], min, max); in PetscDrawTensorContourPatch()
237 c3 = PetscDrawRealToColor(v[i + j * m + 1 + m], min, max); in PetscDrawTensorContourPatch()
240 c4 = PetscDrawRealToColor(v[i + j * m + m], min, max); in PetscDrawTensorContourPatch()