Home
last modified time | relevance | path

Searched refs:orients (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexceed.c129 const PetscInt *orients, *faces, *cells; in DMPlexGetLocalOffsets() local
139 PetscCall(DMPlexGetConeOrientation(dm, cells[0], &orients)); in DMPlexGetLocalOffsets()
140 if (orients[start] < 0) flip = PETSC_TRUE; in DMPlexGetLocalOffsets()
H A Dplexcreate.c1059 const PetscInt *orients, *cell_faces, *cells; in DMPlexSetBoxLabel_Internal() local
1070 PetscCall(DMPlexGetConeOrientation(dm, cells[0], &orients)); in DMPlexSetBoxLabel_Internal()
1071 if (orients[start] < 0) flip = -1; in DMPlexSetBoxLabel_Internal()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c917 PetscInt *orients; in DMFieldComputeFaceData_DS() local
986 PetscCall(PetscCalloc2(numOrient, &orients, numOrient, &orientPoints)); in DMFieldComputeFaceData_DS()
992 orients[co[p][s][1] - minOrient]++; in DMFieldComputeFaceData_DS()
997 if (orients[o]) { in DMFieldComputeFaceData_DS()
1119 if (orients[o]) PetscCall(PetscFree(orientPoints[o])); in DMFieldComputeFaceData_DS()
1121 PetscCall(PetscFree2(orients, orientPoints)); in DMFieldComputeFaceData_DS()
/petsc/doc/changes/
H A D313.md189 - Add DMPlexOrientCell() which orients a single cell