Lines Matching refs:rots
2668 const PetscScalar ***rots; member
2683 if (sl->rots[i]) PetscCall(PetscFree(sl->rots[i][j])); in PetscSectionSymLabelReset()
2690 if (sl->rots[i]) { in PetscSectionSymLabelReset()
2691 const PetscScalar **rots = &sl->rots[i][sl->minMaxOrients[i][0]]; in PetscSectionSymLabelReset() local
2693 PetscCall(PetscFree(rots)); 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()
2766 if (sl->rots[i] && sl->rots[i][j]) { in PetscSectionSymView_Label()
2770 …tf(viewer, " %+g+i*%+g", (double)PetscRealPart(sl->rots[i][j][k]), (double)PetscImaginaryPart(sl->… in PetscSectionSymView_Label()
2772 … < sl->sizes[i]; k++) PetscCall(PetscViewerASCIIPrintf(viewer, " %+g", (double)sl->rots[i][j][k])); in PetscSectionSymView_Label()
2815 …a + 1, &sl->sizes, sl->numStrata + 1, &sl->perms, sl->numStrata + 1, &sl->rots, sl->numStrata + 1,… in PetscSectionSymLabelSetLabel()
2819 PetscCall(PetscMemzero((void *)sl->rots, (sl->numStrata + 1) * sizeof(const PetscScalar **))); in PetscSectionSymLabelSetLabel()
2845 …size, PetscInt *minOrient, PetscInt *maxOrient, const PetscInt ***perms, const PetscScalar ***rots) in PetscSectionSymLabelGetStratum() argument
2878 if (rots) { in PetscSectionSymLabelGetStratum()
2879 PetscAssertPointer(rots, 7); in PetscSectionSymLabelGetStratum()
2880 *rots = PetscSafePointerPlusOffset(sl->rots[i], sl->minMaxOrients[i][0]); in PetscSectionSymLabelGetStratum()
2904 …inOrient, PetscInt maxOrient, PetscCopyMode mode, const PetscInt **perms, const PetscScalar **rots) in PetscSectionSymLabelSetStratum() argument
2938 if (rots) { in PetscSectionSymLabelSetStratum()
2943 if (rots[j]) { in PetscSectionSymLabelSetStratum()
2945 for (k = 0; k < size; k++) ownRots[j][k] = rots[j][k]; in PetscSectionSymLabelSetStratum()
2948 sl->rots[i] = (const PetscScalar **)&ownRots[-minOrient]; in PetscSectionSymLabelSetStratum()
2952 sl->rots[i] = PetscSafePointerPlusOffset(rots, -minOrient); in PetscSectionSymLabelSetStratum()
2957 …tion, PetscInt numPoints, const PetscInt *points, const PetscInt **perms, const PetscScalar **rots) in PetscSectionSymGetPoints_Label() argument
2987 if (rots) rots[i] = sl->rots[j] ? sl->rots[j][ornt] : NULL; in PetscSectionSymGetPoints_Label()
3007 const PetscScalar **rots; 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()