Searched refs:newornt (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexorient.c | 22 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() 43 …newornt[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 D | plextransform.c | 1499 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() 1511 …newornt[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()
|