Home
last modified time | relevance | path

Searched refs:bottom (Results 1 – 25 of 41) sorted by relevance

12

/petsc/src/sys/classes/draw/interface/
H A Ddtext.c121 PetscReal top, left, right, bottom, tw, th; in PetscDrawStringBoxed() local
146 bottom = syl - (1.0 + (PetscReal)cnt) * th; in PetscDrawStringBoxed()
148 if (h) *h = top - bottom; in PetscDrawStringBoxed()
153 draw->boundbox_yl = PetscMin(draw->boundbox_yl, bottom); in PetscDrawStringBoxed()
158 PetscCall(PetscDrawLine(draw, left, bottom, left, top, bc)); in PetscDrawStringBoxed()
159 PetscCall(PetscDrawLine(draw, right, bottom, right, top, bc)); in PetscDrawStringBoxed()
160 PetscCall(PetscDrawLine(draw, left, bottom, right, bottom, bc)); in PetscDrawStringBoxed()
H A Ddrawreg.c62 PetscReal x, y, bottom, h; in PetscDrawView() local
69 bottom = y - h; in PetscDrawView()
70 PetscCall(PetscDrawPushCurrentPoint(draw, x, bottom)); in PetscDrawView()
/petsc/src/dm/impls/da/
H A Ddaltol.c18 PetscInt *idx, left, j, count, up, down, i, bottom, top, k, dim = da->dim; in DMLocalToLocalCreate_DA() local
46 bottom = dd->ys - dd->Ys; in DMLocalToLocalCreate_DA()
47 top = bottom + dd->ye - dd->ys; in DMLocalToLocalCreate_DA()
50 count = (dd->xe - dd->xs) * (top - bottom) * (up - down); in DMLocalToLocalCreate_DA()
54 for (j = bottom; j < top; j++) { in DMLocalToLocalCreate_DA()
H A Dda3.c210 PetscInt left, right, up, down, bottom, top, i, j, k, *idx, nn; in DMSetUp_DA_3D() local
482 bottom = IYs - Ys; in DMSetUp_DA_3D()
483 top = bottom + (IYe - IYs); in DMSetUp_DA_3D()
488 for (j = bottom; j < top; j++) { in DMSetUp_DA_3D()
497 bottom = ys - Ys; in DMSetUp_DA_3D()
498 top = bottom + y; in DMSetUp_DA_3D()
504 for (j = bottom; j < top; j++) { in DMSetUp_DA_3D()
511 for (j = (IYs - Ys); j < bottom; j++) { in DMSetUp_DA_3D()
515 for (j = bottom; j < top; j++) { in DMSetUp_DA_3D()
525 for (j = bottom; j < top; j++) { in DMSetUp_DA_3D()
/petsc/lib/petsc/bin/maint/abi-compliance-checker/modules/Internals/Styles/
H A DReport.css13 margin-bottom:0px;
14 padding-bottom:0px;
18 margin-bottom:0px;
19 padding-bottom:0px;
101 padding-bottom:10px;
115 margin-bottom:3px;
H A DCmpSystems.css13 margin-bottom:0px;
14 padding-bottom:0px;
38 padding-bottom:20px;
H A DSymbolsList.css13 margin-bottom:0px;
14 padding-bottom:0px;
H A DHeadersDiff.css13 margin-bottom:0px;
14 padding-bottom:0px;
H A DTabs.css26 border-bottom-color:White;
/petsc/src/tao/unconstrained/tutorials/
H A Dminsurf1.c23 PetscReal *bottom, *top, *left, *right; /* boundary values */ member
102 PetscCall(PetscFree(user.bottom)); in main()
157 xb = user->bottom[i + 1]; in FormFunctionGradient()
158 xrb = user->bottom[i + 2]; in FormFunctionGradient()
232 d2 = (user->bottom[i + 1] - user->bottom[i + 2]) * rhx; in FormFunctionGradient()
233 d3 = (user->bottom[i + 1] - x[i]) * rhy; in FormFunctionGradient()
251 d2 = (user->bottom[0] - user->bottom[1]) * rhx; in FormFunctionGradient()
342 xb = user->bottom[i + 1]; in QuadraticH()
343 xrb = user->bottom[i + 2]; in QuadraticH()
488 PetscCall(PetscMalloc1(bsize, &user->bottom)); in MSA_BoundaryConditions()
[all …]
H A Dminsurf2.c28 PetscReal *bottom, *top, *left, *right; /* boundary values */ member
140 PetscCall(PetscFree(user.bottom)); in main()
199 xb = user->bottom[i - xs + 1]; in FormFunction()
243 d2 = (user->bottom[i + 1 - xs] - user->bottom[i - xs + 2]) * rhx; in FormFunction()
244 d3 = (user->bottom[i - xs + 1] - x[0][i]) * rhy; in FormFunction()
264 d2 = (user->bottom[0] - user->bottom[1]) * rhx; in FormFunction()
337 xb = user->bottom[i - xs + 1]; in FormFunctionGradient()
338 xrb = user->bottom[i - xs + 2]; in FormFunctionGradient()
415 d2 = (user->bottom[i + 1 - xs] - user->bottom[i - xs + 2]) * rhx; in FormFunctionGradient()
416 d3 = (user->bottom[i - xs + 1] - x[0][i]) * rhy; in FormFunctionGradient()
[all …]
/petsc/src/snes/tutorials/
H A Dex4.c28 PetscScalar *bottom, *top, *left, *right; member
137 xb = user->bottom[i + 1]; in FormObjectiveLocal()
175 d2 = (user->bottom[i + 1] - user->bottom[i + 2]) / hx; in FormObjectiveLocal()
176 d3 = (user->bottom[i + 1] - x[0][i]) / hy; in FormObjectiveLocal()
196 d2 = (user->bottom[0] - user->bottom[1]) / hx; in FormObjectiveLocal()
238 xb = user->bottom[i + 1]; in FormFunctionLocal()
239 xrb = user->bottom[i + 2]; in FormFunctionLocal()
333 xb = user->bottom[i + 1]; in FormJacobianLocal()
334 xrb = user->bottom[i + 2]; in FormJacobianLocal()
480 PetscCall(PetscMalloc1(bsize, &user->bottom)); in FormBoundaryConditions_Enneper()
[all …]
H A Dex58.c42 PetscScalar *bottom, *top, *left, *right; member
189 xb = ctx->bottom[i + 1]; in FormGradient()
190 xrb = ctx->bottom[i + 2]; in FormGradient()
322 xb = ctx->bottom[i + 1]; in FormJacobian()
323 xrb = ctx->bottom[i + 2]; in FormJacobian()
490 PetscCall(PetscMalloc1(bsize, &ctx->bottom)); in FormBoundaryConditions()
503 boundary = ctx->bottom; in FormBoundaryConditions()
551 PetscCall(PetscFree(ctx->bottom)); in DestroyBoundaryConditions()
589 …for (i = xs; i < xs + xm; i++) x[j][i] = (((j + 1.0) * ctx->bottom[i + 1] + (my - j + 1.0) * ctx->… in ComputeInitialGuess()
H A Dex23.c56 DMLabel top, bottom; in DivideDomain() local
64 PetscCall(DMGetLabel(dm, "bottom", &bottom)); in DivideDomain()
74 else PetscCall(DMLabelSetValue(bottom, c, 1)); in DivideDomain()
/petsc/src/tao/bound/tutorials/
H A Dplate2.c209 PetscReal *g, *x, *left, *right, *bottom, *top; in FormFunctionGradient() local
228 PetscCall(VecGetArray(user->Bottom, &bottom)); in FormFunctionGradient()
248 xb = bottom[i - xs + 1]; in FormFunctionGradient()
249 xrb = bottom[i - xs + 2]; in FormFunctionGradient()
326 d2 = (bottom[i + 1 - xs] - bottom[i - xs + 2]) * rhx; in FormFunctionGradient()
327 d3 = (bottom[i - xs + 1] - x[i - gxs]) * rhy; in FormFunctionGradient()
349 d2 = (bottom[0] - bottom[1]) * rhx; in FormFunctionGradient()
366 PetscCall(VecRestoreArray(user->Bottom, &bottom)); in FormFunctionGradient()
425 PetscReal *x, *left, *right, *bottom, *top; in FormHessian() local
449 PetscCall(VecGetArray(user->Bottom, &bottom)); in FormHessian()
[all …]
/petsc/src/tao/complementarity/tutorials/
H A Dminsurf1.c26 PetscReal *bottom, *top, *left, *right; member
115 PetscCall(PetscFree(user.bottom)); in main()
171 xb = user->bottom[i + 1]; in FormConstraints()
172 xrb = user->bottom[i + 2]; in FormConstraints()
296 xb = user->bottom[i + 1]; in FormJacobian()
297 xrb = user->bottom[i + 2]; in FormJacobian()
440 PetscCall(PetscMalloc1(bsize, &user->bottom)); in MSA_BoundaryConditions()
453 boundary = user->bottom; in MSA_BoundaryConditions()
533 …x[row] = (((j + 1) * user->bottom[i + 1] + (my - j + 1) * user->top[i + 1]) / (my + 2) + ((i + 1) … in MSA_InitialPoint()
/petsc/share/petsc/datafiles/meshes/
H A Dsquare_quad.msh6 1 2 "bottom"
H A Dgmsh-hex-20node.msh6 2 1 "bottom"
/petsc/doc/manual/anl_tech_report/
H A Dlast.inc2 \newgeometry{top=0mm, left=0mm, right=0mm, bottom=0mm}
H A Dfirst.inc25 \newgeometry{top=0mm, left=0mm, right=0mm, bottom=0mm}
/petsc/src/ksp/ksp/interface/
H A Ditcreate.c176 PetscReal x, y, bottom, h; in KSPView() local
186 bottom = y - h; in KSPView()
188 bottom = y; in KSPView()
190 PetscCall(PetscDrawPushCurrentPoint(draw, x, bottom)); in KSPView()
/petsc/src/snes/impls/fas/
H A Dfas.c317 PetscReal x, w, y, bottom, th, wth; in SNESView_FAS() local
322 bottom = y - th; in SNESView_FAS()
325 PetscCall(PetscDrawPushCurrentPoint(draw, x, bottom)); in SNESView_FAS()
330 PetscCall(PetscDrawPushCurrentPoint(draw, x - w, bottom)); in SNESView_FAS()
333 PetscCall(PetscDrawPushCurrentPoint(draw, x + w, bottom)); in SNESView_FAS()
338 bottom -= 5 * th; in SNESView_FAS()
/petsc/share/petsc/saws/
H A Ddocumentation5 …time, the user can retrieve the appropriate command line options from the bottom right hand corner.
24 Towards the bottom of the page, we provide another way for the user to customize the solver: a hier…
/petsc/src/benchmarks/
H A DbenchmarkExample.py409 bottom = np.zeros(N)
413 bars[arch].append(plt.bar(ind, times, width, color=color, bottom=bottom))
414 bottom += times
/petsc/src/dm/impls/plex/
H A Dplexfluent.c503 PetscInt newCone[16], newOrnt[16], cS, bottom = 0; in ReorderWedge() local
513 bottom = c; in ReorderWedge()
517 used[bottom] = 1; in ReorderWedge()
518 newCone[0] = cone[bottom]; in ReorderWedge()
519 newOrnt[0] = ornt[bottom]; in ReorderWedge()
534 if (c == bottom) continue; in ReorderWedge()

12