Lines Matching refs:perms
3550 PetscInt **perms = (PetscInt **)link->perms; in PetscSectionSymDestroy() local
3552 PetscCall(PetscFree2(perms, rots)); in PetscSectionSymDestroy()
3755 …on section, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar… in PetscSectionGetPointSyms() argument
3762 if (perms) *perms = NULL; in PetscSectionGetPointSyms()
3765 if (sym && (perms || rots)) { in PetscSectionGetPointSyms()
3775 PetscInt **perms = (PetscInt **)link->perms; in PetscSectionGetPointSyms() local
3777 PetscCall(PetscFree2(perms, rots)); in PetscSectionGetPointSyms()
3778 …PetscCall(PetscMalloc2(numPoints, (PetscInt ***)&link->perms, numPoints, (PetscScalar ***)&link->r… in PetscSectionGetPointSyms()
3783 PetscCall(PetscArrayzero((PetscInt **)link->perms, numPoints)); in PetscSectionGetPointSyms()
3785 PetscUseTypeMethod(sym, getpoints, section, numPoints, points, link->perms, link->rots); in PetscSectionGetPointSyms()
3786 if (perms) *perms = link->perms; in PetscSectionGetPointSyms()
3810 …on section, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar… in PetscSectionRestorePointSyms() argument
3817 if (sym && (perms || rots)) { in PetscSectionRestorePointSyms()
3821 if ((perms && link->perms == *perms) || (rots && link->rots == *rots)) { in PetscSectionRestorePointSyms()
3825 if (perms) *perms = NULL; in PetscSectionRestorePointSyms()
3862 …cInt field, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar… in PetscSectionGetFieldPointSyms() argument
3867 PetscCall(PetscSectionGetPointSyms(section->field[field], numPoints, points, perms, rots)); in PetscSectionGetFieldPointSyms()
3890 …cInt field, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar… in PetscSectionRestoreFieldPointSyms() argument
3895 PetscCall(PetscSectionRestorePointSyms(section->field[field], numPoints, points, perms, rots)); in PetscSectionRestoreFieldPointSyms()