Lines Matching refs:pperm
5 …lexCreateOrderingClosure_Static(DM dm, PetscInt numPoints, const PetscInt pperm[], PetscInt **clpe… in DMPlexCreateOrderingClosure_Static() argument
25 perm[p] = pperm[p]; in DMPlexCreateOrderingClosure_Static()
26 iperm[pperm[p]] = p; in DMPlexCreateOrderingClosure_Static()
201 const PetscInt *pperm; in DMPlexRemapCoordinates_Private() local
213 PetscCall(ISGetIndices(perm, &pperm)); in DMPlexRemapCoordinates_Private()
219 PetscCall(PetscSectionGetOffset(*csNew, pperm[p], &offNew)); in DMPlexRemapCoordinates_Private()
222 PetscCall(ISRestoreIndices(perm, &pperm)); in DMPlexRemapCoordinates_Private()
299 const PetscInt *pperm; in DMPlexPermute() local
307 PetscCall(ISGetIndices(perm, &pperm)); in DMPlexPermute()
312 PetscCall(PetscSectionGetDof(plexNew->coneSection, pperm[p], &dof)); in DMPlexPermute()
314 PetscCall(PetscSectionGetOffset(plexNew->coneSection, pperm[p], &offNew)); in DMPlexPermute()
316 plexNew->cones[offNew + d] = pperm[plex->cones[off + d]]; in DMPlexPermute()
328 PetscCall(PetscSectionGetDof(plexNew->supportSection, pperm[p], &dof)); in DMPlexPermute()
330 PetscCall(PetscSectionGetOffset(plexNew->supportSection, pperm[p], &offNew)); in DMPlexPermute()
331 for (d = 0; d < dof; ++d) plexNew->supports[offNew + d] = pperm[plex->supports[off + d]]; in DMPlexPermute()
333 PetscCall(ISRestoreIndices(perm, &pperm)); in DMPlexPermute()