Home
last modified time | relevance | path

Searched refs:lpoints (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexorient.c342 const PetscInt *lpoints; in DMPlexOrient() local
362 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &lpoints, &rpoints)); in DMPlexOrient()
463 if (lpoints) PetscCall(PetscFindInt(support[s], numLeaves, lpoints, &l)); in DMPlexOrient()
504 const PetscInt face = lpoints ? lpoints[l] : l; in DMPlexOrient()
512 …if ((rrank == rpoints[neighbors[comp][n]].rank) && (rcomp == lorntComp[lpoints[neighbors[comp][n]]… in DMPlexOrient()
535 const PetscInt face = lpoints ? lpoints[neighbors[comp][n]] : neighbors[comp][n]; in DMPlexOrient()
542 …nrankComp[off].index = lorntComp[lpoints ? lpoints[neighbors[comp][n]] : neighbors[comp][n]].index; in DMPlexOrient()
744 const PetscInt *lpoints; in DMPlexOrientCells_Internal() local
769 PetscCall(PetscSFGetGraph(sf, &numRoots, &numLeaves, &lpoints, &rpoints)); in DMPlexOrientCells_Internal()
838 PetscCall(PetscFindInt(supp[s], numLeaves, lpoints, &l)); in DMPlexOrientCells_Internal()
[all …]
H A Dplexcreate.c5044 const PetscInt *lpoints; in DMPlexCreateFromOptions_Internal() local
5052 PetscCall(ISGetIndices(pointIS, &lpoints)); in DMPlexCreateFromOptions_Internal()
5053 PetscCall(DMPlexGetPointDepth(dm, lpoints[0], &pdep)); in DMPlexCreateFromOptions_Internal()
5057 if (!pdep) PetscCall(ProcessCohesiveLabel_Vertices(dm, label, inlabel, inval, ln, lpoints)); in DMPlexCreateFromOptions_Internal()
5058 else PetscCall(ProcessCohesiveLabel_Faces(dm, label, ln, lpoints)); in DMPlexCreateFromOptions_Internal()
5059 PetscCall(ISRestoreIndices(pointIS, &lpoints)); in DMPlexCreateFromOptions_Internal()
/petsc/src/dm/dt/space/impls/tensor/
H A Dspacetensor.c305 PetscReal *lpoints, *sB = NULL, *sD = NULL, *sH = NULL; in PetscSpaceEvaluate_Tensor() local
316 PetscCall(DMGetWorkArray(dm, npoints * Nv, MPIU_REAL, &lpoints)); in PetscSpaceEvaluate_Tensor()
341 for (PetscInt i = 0; i < sNv; i++) lpoints[p * sNv + i] = points[p * Nv + d + i]; in PetscSpaceEvaluate_Tensor()
343 PetscCall(PetscSpaceEvaluate(tens->tensspaces[s], npoints, lpoints, sB, sD, sH)); in PetscSpaceEvaluate_Tensor()
426 PetscCall(DMRestoreWorkArray(dm, npoints * Nv, MPIU_REAL, &lpoints)); in PetscSpaceEvaluate_Tensor()