Lines Matching refs:perms

2667   const PetscInt    ***perms;  member
2682 if (sl->perms[i]) PetscCall(PetscFree(sl->perms[i][j])); in PetscSectionSymLabelReset()
2685 if (sl->perms[i]) { in PetscSectionSymLabelReset()
2686 const PetscInt **perms = &sl->perms[i][sl->minMaxOrients[i][0]]; in PetscSectionSymLabelReset() local
2688 PetscCall(PetscFree(perms)); in PetscSectionSymLabelReset()
2697 PetscCall(PetscFree5(sl->modes, sl->sizes, sl->perms, sl->rots, sl->minMaxOrients)); in PetscSectionSymLabelReset()
2742 if (!(sl->perms[i] || sl->rots[i])) { in PetscSectionSymView_Label()
2751 if (!((sl->perms[i] && sl->perms[i][j]) || (sl->rots[i] && sl->rots[i][j]))) { in PetscSectionSymView_Label()
2759 if (sl->perms[i] && sl->perms[i][j]) { in PetscSectionSymView_Label()
2762 …l->sizes[i]; k++) PetscCall(PetscViewerASCIIPrintf(viewer, " %" PetscInt_FMT, sl->perms[i][j][k])); in PetscSectionSymView_Label()
2815 …a + 1, &sl->modes, sl->numStrata + 1, &sl->sizes, sl->numStrata + 1, &sl->perms, sl->numStrata + 1… in PetscSectionSymLabelSetLabel()
2818 PetscCall(PetscMemzero((void *)sl->perms, (sl->numStrata + 1) * sizeof(const PetscInt **))); in PetscSectionSymLabelSetLabel()
2845 …tscInt *size, PetscInt *minOrient, PetscInt *maxOrient, const PetscInt ***perms, const PetscScalar… in PetscSectionSymLabelGetStratum() argument
2874 if (perms) { in PetscSectionSymLabelGetStratum()
2875 PetscAssertPointer(perms, 6); in PetscSectionSymLabelGetStratum()
2876 *perms = PetscSafePointerPlusOffset(sl->perms[i], sl->minMaxOrients[i][0]); in PetscSectionSymLabelGetStratum()
2904 …scInt minOrient, PetscInt maxOrient, PetscCopyMode mode, const PetscInt **perms, const PetscScalar… in PetscSectionSymLabelSetStratum() argument
2926 if (perms) { in PetscSectionSymLabelSetStratum()
2931 if (perms[j]) { in PetscSectionSymLabelSetStratum()
2933 for (k = 0; k < size; k++) ownPerms[j][k] = perms[j][k]; in PetscSectionSymLabelSetStratum()
2936 sl->perms[i] = (const PetscInt **)&ownPerms[-minOrient]; in PetscSectionSymLabelSetStratum()
2951 sl->perms[i] = PetscSafePointerPlusOffset(perms, -minOrient); in PetscSectionSymLabelSetStratum()
2957 …ion section, PetscInt numPoints, const PetscInt *points, const PetscInt **perms, const PetscScalar… in PetscSectionSymGetPoints_Label() argument
2986 if (perms) perms[i] = sl->perms[j] ? sl->perms[j][ornt] : NULL; in PetscSectionSymGetPoints_Label()
3006 const PetscInt **perms; in PetscSectionSymCopy_Label() local
3009 … PetscCall(PetscSectionSymLabelGetStratum(sym, val, &size, &minOrient, &maxOrient, &perms, &rots)); in PetscSectionSymCopy_Label()
3010 …cSectionSymLabelSetStratum(nsym, val, size, minOrient, maxOrient, PETSC_COPY_VALUES, perms, rots)); in PetscSectionSymCopy_Label()