Searched refs:isect (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/vec/vec/utils/tagger/impls/ |
| H A D | and.c | 73 VecTaggerBox *isect; in VecTaggerComputeBoxes_And() local 89 PetscCall(PetscMalloc1(n * nboxes * bs, &isect)); in VecTaggerComputeBoxes_And() 97 PetscCall(VecTaggerAndOrIntersect_Private(bs, prevBox, subBox, &isect[l * bs], &isEmpty)); in VecTaggerComputeBoxes_And() 102 PetscCall(VecTaggerAndOrIsSubBox_Private(bs, &isect[m * bs], &isect[l * bs], &isSub)); in VecTaggerComputeBoxes_And() 104 PetscCall(VecTaggerAndOrIsSubBox_Private(bs, &isect[l * bs], &isect[m * bs], &isSub)); in VecTaggerComputeBoxes_And() 108 for (r = 0; r < bs; r++) isect[m * bs + r] = isect[l * bs + r]; in VecTaggerComputeBoxes_And() 116 bxs = isect; in VecTaggerComputeBoxes_And()
|
| /petsc/src/vec/is/is/utils/ |
| H A D | isdiff.c | 443 PetscErrorCode ISIntersect_Caching_Internal(IS is1, IS is2, IS *isect) in ISIntersect_Caching_Internal() argument 446 *isect = NULL; in ISIntersect_Caching_Internal() 453 PetscCall(PetscObjectQuery((PetscObject)is1, composeStr, (PetscObject *)isect)); in ISIntersect_Caching_Internal() 454 if (*isect == NULL) { in ISIntersect_Caching_Internal() 455 PetscCall(ISIntersect(is1, is2, isect)); in ISIntersect_Caching_Internal() 456 PetscCall(PetscObjectCompose((PetscObject)is1, composeStr, (PetscObject)*isect)); in ISIntersect_Caching_Internal() 458 PetscCall(PetscObjectReference((PetscObject)*isect)); in ISIntersect_Caching_Internal()
|