Lines Matching refs:perms
356 const PetscInt **perms; in DMPlexOrientFieldPointIndex() local
359 PetscCall(PetscSectionGetFieldPointSyms(section, field, 1, point_ornt, &perms, NULL)); in DMPlexOrientFieldPointIndex()
360 …if (!perms) PetscFunctionReturn(PETSC_SUCCESS); // section may not have symmetries, such as Q2 fin… in DMPlexOrientFieldPointIndex()
368 if (perms[0]) array[off + perms[0][i]] = copy[i]; in DMPlexOrientFieldPointIndex()
371 PetscCall(PetscSectionRestoreFieldPointSyms(section, field, 1, point_ornt, &perms, NULL)); in DMPlexOrientFieldPointIndex()
381 const PetscInt **perms; in DMPlexOrientFieldPointVec() local
385 PetscCall(PetscSectionGetFieldPointSyms(section, field, 1, point_ornt, &perms, &rots)); in DMPlexOrientFieldPointVec()
386 …if (!perms) PetscFunctionReturn(PETSC_SUCCESS); // section may not have symmetries, such as Q2 fin… in DMPlexOrientFieldPointVec()
394 if (perms[0]) V_arr[off + perms[0][i]] = copy[i]; in DMPlexOrientFieldPointVec()
395 if (rots[0]) V_arr[off + perms[0][i]] *= rots[0][i]; in DMPlexOrientFieldPointVec()
398 PetscCall(PetscSectionRestoreFieldPointSyms(section, field, 1, point_ornt, &perms, &rots)); in DMPlexOrientFieldPointVec()