Lines Matching refs:mismatch

90   PetscInt        face, dim, indC[3], indS[3], seenA, flippedA, seenB, flippedB, mismatch;  in DMPlexCheckFace_Internal()  local
150 mismatch = posA == posB; in DMPlexCheckFace_Internal()
152 mismatch = coneOA[posA] == coneOB[posB]; in DMPlexCheckFace_Internal()
155 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexCheckFace_Internal()
162 …} else PetscCheck(!mismatch || !flippedA || !flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Atte… in DMPlexCheckFace_Internal()
172 PetscInt face, dim, seenA, flippedA, seenB, flippedB, mismatch, c; in DMPlexCheckFace_Old_Internal() local
212 mismatch = posA == posB; in DMPlexCheckFace_Old_Internal()
214 mismatch = coneOA[posA] == coneOB[posB]; in DMPlexCheckFace_Old_Internal()
217 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexCheckFace_Old_Internal()
224 …} else PetscCheck(!mismatch || !flippedA || !flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Atte… in DMPlexCheckFace_Old_Internal()
622 PetscInt proc, nproc, seen, flippedA, flippedB, mismatch, numNeighbors, n; in DMPlexOrient() local
630 mismatch = PetscRealPart(ornt[n]) > 0.5 ? 0 : 1; in DMPlexOrient()
634 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexOrient()
638 …} else PetscCheck(!mismatch || !flippedA || !flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Atte… in DMPlexOrient()
999 PetscInt proc, nproc, seen, flippedA, flippedB, mismatch, numNeighbors; in DMPlexOrientCells_Internal() local
1007 mismatch = PetscRealPart(ornt[n]) > 0.5 ? 0 : 1; in DMPlexOrientCells_Internal()
1011 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexOrientCells_Internal()
1015 …} else PetscCheck(!mismatch || !flippedA || !flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Atte… in DMPlexOrientCells_Internal()