Searched refs:allCells (Results 1 – 2 of 2) sorted by relevance
| /petsc/include/petsc/private/ |
| H A D | pcpatchimpl.h | 78 IS allCells; /* Unique cells in union of all patches */ member
|
| /petsc/src/ksp/pc/impls/patch/ |
| H A D | pcpatch.c | 2228 if (!patch->allCells) { in PCPatchPrecomputePatchTensors_Private() 2232 PetscInt *allCells = NULL; in PCPatchPrecomputePatchTensors_Private() local 2244 PetscCall(PetscMalloc1(ncell, &allCells)); in PCPatchPrecomputePatchTensors_Private() 2250 PetscHashIterGetKey(cells, hi, allCells[i]); in PCPatchPrecomputePatchTensors_Private() 2251 patch->precomputedTensorLocations[allCells[i]] = i; in PCPatchPrecomputePatchTensors_Private() 2256 … PetscCall(ISCreateGeneral(PETSC_COMM_SELF, ncell, allCells, PETSC_OWN_POINTER, &patch->allCells)); in PCPatchPrecomputePatchTensors_Private() 2258 PetscCall(ISGetSize(patch->allCells, &ncell)); in PCPatchPrecomputePatchTensors_Private() 2267 PetscCall(ISGetSize(patch->allCells, &ncell)); in PCPatchPrecomputePatchTensors_Private() 2270 PetscCall(ISGetIndices(patch->allCells, &cellsArray)); in PCPatchPrecomputePatchTensors_Private() 2276 PetscCall(ISRestoreIndices(patch->allCells, &cellsArray)); in PCPatchPrecomputePatchTensors_Private() [all …]
|