Searched refs:boxCells (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/dm/tutorials/ |
| H A D | swarm_ex3.c | 65 const PetscInt *boxCells; in DMLocatePoints_DMDARegular() local 74 PetscCall(ISGetIndices(iscell, &boxCells)); in DMLocatePoints_DMDARegular() 79 cells[p].index = boxCells[p]; in DMLocatePoints_DMDARegular() 81 PetscCall(ISRestoreIndices(iscell, &boxCells)); in DMLocatePoints_DMDARegular()
|
| /petsc/src/dm/impls/da/ |
| H A D | dageometry.c | 271 const PetscInt *boxCells; in DMLocatePoints_DA_Regular() local 293 PetscCall(ISGetIndices(iscell, &boxCells)); in DMLocatePoints_DA_Regular() 297 cells[p].index = boxCells[p]; in DMLocatePoints_DA_Regular() 299 PetscCall(ISRestoreIndices(iscell, &boxCells)); in DMLocatePoints_DA_Regular()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 1254 const PetscInt *boxCells; in DMLocatePoints_Plex() local 1310 PetscCall(ISGetIndices(mesh->lbox->cells, &boxCells)); in DMLocatePoints_Plex() 1365 …ntf(PETSC_COMM_SELF, "[%d] Checking for point in cell %" PetscInt_FMT "\n", rank, boxCells[c])); in DMLocatePoints_Plex() 1366 PetscCall(DMPlexLocatePoint_Internal(dm, cdim, point, boxCells[c], &cell)); in DMLocatePoints_Plex() 1397 if (hash) PetscCall(ISRestoreIndices(mesh->lbox->cells, &boxCells)); in DMLocatePoints_Plex() 1409 PetscCall(DMPlexClosestPoint_Internal(dm, cdim, point, boxCells[c], cpoint)); in DMLocatePoints_Plex() 1414 bestc = boxCells[c]; in DMLocatePoints_Plex()
|