Lines Matching refs:ornt
21 const PetscInt *arr, *cone, *ornt, *support; in DMPlexOrientPoint() local
32 PetscCall(DMPlexGetConeOrientation(dm, p, &ornt)); in DMPlexOrientPoint()
42 newornt[c] = DMPolytopeTypeComposeOrientation(ft, arr[c * 2 + 1], ornt[arr[c * 2 + 0]]); in DMPlexOrientPoint()
55 PetscCall(DMPlexGetConeOrientation(dm, support[s], &ornt)); in DMPlexOrientPoint()
61 po = DMPolytopeTypeComposeOrientationInv(ct, ornt[c], o); in DMPlexOrientPoint()
456 const PetscInt *cone, *support, *ornt; in DMPlexOrient() local
475 PetscCall(DMPlexGetConeOrientation(dm, neighbor, &ornt)); in DMPlexOrient()
483 … if (PetscBTLookup(flippedCells, neighbor - cStart)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrient()
484 else rorntComp[face].rank = ornt[c] < 0 ? 1 : -1; in DMPlexOrient()
620 const PetscScalar *ornt; in DMPlexOrient() local
626 PetscCall(MatGetRow(G, proc, &numNeighbors, &neighbors, &ornt)); in DMPlexOrient()
630 mismatch = PetscRealPart(ornt[n]) > 0.5 ? 0 : 1; in DMPlexOrient()
826 const PetscInt *cone, *supp, *ornt; in DMPlexOrientCells_Internal() local
848 PetscCall(DMPlexGetConeOrientation(dm, neighbor, &ornt)); in DMPlexOrientCells_Internal()
856 if (PetscBTLookup(flippedCells, nind)) rorntComp[face].rank = ornt[c] < 0 ? -1 : 1; in DMPlexOrientCells_Internal()
857 else rorntComp[face].rank = ornt[c] < 0 ? 1 : -1; in DMPlexOrientCells_Internal()
997 const PetscScalar *ornt; in DMPlexOrientCells_Internal() local
1003 PetscCall(MatGetRow(G, proc, &numNeighbors, &neighbors, &ornt)); in DMPlexOrientCells_Internal()
1007 mismatch = PetscRealPart(ornt[n]) > 0.5 ? 0 : 1; in DMPlexOrientCells_Internal()