Lines Matching refs:clPerm

3226 …on section, PetscObject obj, PetscInt depth, PetscInt clSize, PetscCopyMode mode, PetscInt *clPerm)  in PetscSectionSetClosurePermutation_Internal()  argument
3249 PetscCall(PetscArraycpy(val->perm, clPerm, clSize)); in PetscSectionSetClosurePermutation_Internal()
3251 val->perm = clPerm; in PetscSectionSetClosurePermutation_Internal()
3254 for (i = 0; i < clSize; ++i) val->invPerm[clPerm[i]] = i; in PetscSectionSetClosurePermutation_Internal()
3283 const PetscInt *clPerm = NULL; in PetscSectionSetClosurePermutation() local
3289 PetscCall(ISGetIndices(perm, &clPerm)); in PetscSectionSetClosurePermutation()
3291 …etClosurePermutation_Internal(section, obj, depth, clSize, PETSC_COPY_VALUES, (PetscInt *)clPerm)); in PetscSectionSetClosurePermutation()
3292 if (perm) PetscCall(ISRestoreIndices(perm, &clPerm)); in PetscSectionSetClosurePermutation()
3334 const PetscInt *clPerm = NULL; in PetscSectionGetClosurePermutation() local
3337 PetscCall(PetscSectionGetClosurePermutation_Private(section, obj, depth, clSize, &clPerm)); in PetscSectionGetClosurePermutation()
3338 …PetscCheck(clPerm, PetscObjectComm(obj), PETSC_ERR_ARG_WRONG, "There is no closure permutation ass… in PetscSectionGetClosurePermutation()
3339 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, clSize, clPerm, PETSC_USE_POINTER, perm)); in PetscSectionGetClosurePermutation()
3380 const PetscInt *clPerm = NULL; in PetscSectionGetClosureInversePermutation() local
3383 …PetscCall(PetscSectionGetClosureInversePermutation_Internal(section, obj, depth, clSize, &clPerm)); in PetscSectionGetClosureInversePermutation()
3384 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, clSize, clPerm, PETSC_USE_POINTER, perm)); in PetscSectionGetClosureInversePermutation()