Searched refs:lp (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 348 PetscInt i, lp = -1, lw = -1; in VecMin_Nest() local 360 lp = tp; in VecMin_Nest() 369 if (lp >= st && lp < en) { in VecMin_Nest() 371 *p = idxs[lp - st]; in VecMin_Nest() 381 PetscInt i, lp = -1, lw = -1; in VecMax_Nest() local 393 lp = tp; in VecMax_Nest() 402 if (lp >= st && lp < en) { in VecMax_Nest() 404 *p = idxs[lp - st]; in VecMax_Nest()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 1023 PetscReal lp[3], up[3], *tmp; in DMPlexComputeGridHash_Internal() local 1046 lp[d] = lbox->lower[d] + dlim[d * 2 + 0] * h[d]; in DMPlexComputeGridHash_Internal() 1047 up[d] = lp[d] + h[d]; in DMPlexComputeGridHash_Internal() 1050 …PetscCall(DMPlexGetPlaneCellIntersection_Internal(dm, c, lp, &normal[d * 3], &lower[d], &lowerInt[… in DMPlexComputeGridHash_Internal() 1053 …" (%g, %g, %g) does not intersect %s\n", c, d, (double)lp[0], (double)lp[1], cdim > 2 ? (double)lp… in DMPlexComputeGridHash_Internal() 1054 …) intersects %" PetscInt_FMT " times\n", c, d, (double)lp[0], (double)lp[1], cdim > 2 ? (double)lp… in DMPlexComputeGridHash_Internal() 1058 for (PetscInt k = dlim[2 * 2 + 0]; k <= dlim[2 * 2 + 1]; ++k, lp[2] = up[2], up[2] += h[2]) { in DMPlexComputeGridHash_Internal() 1064 for (PetscInt j = dlim[1 * 2 + 0]; j <= dlim[1 * 2 + 1]; ++j, lp[1] = up[1], up[1] += h[1]) { in DMPlexComputeGridHash_Internal() 1071 … for (PetscInt i = dlim[0 * 2 + 0]; i <= dlim[0 * 2 + 1]; ++i, lp[0] = up[0], up[0] += h[0]) { in DMPlexComputeGridHash_Internal() 1127 …if ((lowerIntPoints[plane][ip * cdim + d] < (lp[d] - PETSC_SMALL)) || (lowerIntPoints[plane][ip * … in DMPlexComputeGridHash_Internal() [all …]
|
| H A D | plexsubmesh.c | 2181 const PetscInt *lp; in DMPlexLabelCohesiveComplete() 2186 PetscCall(PetscSFGetGraph(dm->sf, NULL, &Nlp, &lp, NULL)); in DMPlexLabelCohesiveComplete() 2187 PetscCall(PetscFindInt(points[p], Nlp, lp, &pind)); in DMPlexLabelCohesiveComplete()
|
| /petsc/src/dm/impls/patch/ |
| H A D | patch.c | 121 const PetscInt lp = l + dof * (((k - szb) * rN + (j - syb)) * rM + i - sxb); in DMPatchZoom() local 126 localPoints[q] = lp; in DMPatchZoom()
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 2102 PetscInt *lp, *idx, *ltmp, i; in DMPlexTransformCreateSF() local 2105 PetscCall(PetscMalloc1(numLeavesNew, &lp)); in DMPlexTransformCreateSF() 2113 lp[i] = localPointsNew[idx[i]]; in DMPlexTransformCreateSF() 2117 localPointsNew = lp; in DMPlexTransformCreateSF()
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | testcase3D.cas | 7749 (adapt/optim/lp 4.) 8447 (recon/hessian/lp 4.)
|