Lines Matching refs:rots
3551 PetscScalar **rots = (PetscScalar **)link->rots; in PetscSectionSymDestroy() local
3552 PetscCall(PetscFree2(perms, rots)); in PetscSectionSymDestroy()
3755 …on, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar ***rots) in PetscSectionGetPointSyms() argument
3763 if (rots) *rots = NULL; in PetscSectionGetPointSyms()
3765 if (sym && (perms || rots)) { in PetscSectionGetPointSyms()
3776 PetscScalar **rots = (PetscScalar **)link->rots; in PetscSectionGetPointSyms() local
3777 PetscCall(PetscFree2(perms, rots)); in PetscSectionGetPointSyms()
3778 …Call(PetscMalloc2(numPoints, (PetscInt ***)&link->perms, numPoints, (PetscScalar ***)&link->rots)); in PetscSectionGetPointSyms()
3784 PetscCall(PetscArrayzero((PetscInt **)link->rots, numPoints)); in PetscSectionGetPointSyms()
3785 PetscUseTypeMethod(sym, getpoints, section, numPoints, points, link->perms, link->rots); in PetscSectionGetPointSyms()
3787 if (rots) *rots = link->rots; in PetscSectionGetPointSyms()
3810 …on, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar ***rots) in PetscSectionRestorePointSyms() argument
3817 if (sym && (perms || rots)) { in PetscSectionRestorePointSyms()
3821 if ((perms && link->perms == *perms) || (rots && link->rots == *rots)) { in PetscSectionRestorePointSyms()
3826 if (rots) *rots = NULL; in PetscSectionRestorePointSyms()
3862 …ld, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar ***rots) in PetscSectionGetFieldPointSyms() argument
3867 PetscCall(PetscSectionGetPointSyms(section->field[field], numPoints, points, perms, rots)); in PetscSectionGetFieldPointSyms()
3890 …ld, PetscInt numPoints, const PetscInt *points, const PetscInt ***perms, const PetscScalar ***rots) in PetscSectionRestoreFieldPointSyms() argument
3895 PetscCall(PetscSectionRestorePointSyms(section->field[field], numPoints, points, perms, rots)); in PetscSectionRestoreFieldPointSyms()