Lines Matching refs:iperm
1546 …PetscInt numFields, maxFields, f, pRefStart, pRefEnd, p, maxDof, maxAnDof, *perm, *iperm, p… in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1576 PetscCall(PetscMalloc2(pEnd - pStart, &perm, pEnd - pStart, &iperm)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1579 iperm[p - pStart] = p - pStart; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1594 if (iperm[q - pStart] > iperm[point - pStart]) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
1597 perm[iperm[q - pStart]] = point; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1598 iperm[point - pStart] = iperm[q - pStart]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1599 iperm[q - pStart] = p; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1753 PetscCall(PetscFree2(perm, iperm)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1770 PetscInt numPointsWithParents, *parents, *childIDs, *perm, *iperm, *preOrient, pOffset; in DMPlexTreeRefineCell() local
1821 …Malloc4(kEnd - kStart, &Kembedding, kEnd - kStart, &perm, kEnd - kStart, &iperm, kEnd - kStart, &p… in DMPlexTreeRefineCell()
1825 iperm[k - kStart] = k - kStart; in DMPlexTreeRefineCell()
1857 iperm[k - kStart] = kPerm - kStart; in DMPlexTreeRefineCell()
1938 q = iperm[cone[m]]; in DMPlexTreeRefineCell()
2033 PetscCall(PetscFree4(Kembedding, perm, iperm, preOrient)); in DMPlexTreeRefineCell()