Home
last modified time | relevance | path

Searched refs:newornt (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexorient.c22 PetscInt *newcone, *newornt; in DMPlexOrientPoint() local
34 PetscCall(DMGetWorkArray(dm, coneSize, MPIU_INT, &newornt)); in DMPlexOrientPoint()
42 newornt[c] = DMPolytopeTypeComposeOrientation(ft, arr[c * 2 + 1], ornt[arr[c * 2 + 0]]); in DMPlexOrientPoint()
43newornt[c] || !(newornt[c] >= nO || newornt[c] < -nO), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid o… in DMPlexOrientPoint()
46 PetscCall(DMPlexSetConeOrientation(dm, p, newornt)); in DMPlexOrientPoint()
48 PetscCall(DMRestoreWorkArray(dm, coneSize, MPIU_INT, &newornt)); in DMPlexOrientPoint()
/petsc/src/dm/impls/plex/transform/interface/
H A Dplextransform.c1499 PetscInt *newcone, *newornt; in DMPlexTransformGetCone_Internal() local
1503 PetscCall(DMGetWorkArray(dm, csizeNew, MPIU_INT, &newornt)); in DMPlexTransformGetCone_Internal()
1510 newornt[c] = DMPolytopeTypeComposeOrientation(ft, arr[c * 2 + 1], orntNew[arr[c * 2 + 0]]); in DMPlexTransformGetCone_Internal()
1511newornt[c] || !(newornt[c] >= nO || newornt[c] < -nO), PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid o… in DMPlexTransformGetCone_Internal()
1515 orntNew[c] = newornt[c]; in DMPlexTransformGetCone_Internal()
1518 PetscCall(DMRestoreWorkArray(dm, csizeNew, MPIU_INT, &newornt)); in DMPlexTransformGetCone_Internal()