Searched refs:invPerm (Results 1 – 2 of 2) sorted by relevance
12 PetscInt *perm, *invPerm; member
2757 PetscCall(PetscFree(clVal.invPerm)); in PetscSectionResetClosurePermutation()3245 PetscCall(PetscFree(val->invPerm)); in PetscSectionSetClosurePermutation_Internal()3253 PetscCall(PetscMalloc1(clSize, &val->invPerm)); in PetscSectionSetClosurePermutation_Internal()3254 for (i = 0; i < clSize; ++i) val->invPerm[clPerm[i]] = i; in PetscSectionSetClosurePermutation_Internal()3350 if (perm) *perm = v.invPerm; in PetscSectionGetClosureInversePermutation_Internal()