Lines Matching refs:flippedB
90 PetscInt face, dim, indC[3], indS[3], seenA, flippedA, seenB, flippedB, mismatch; in DMPlexCheckFace_Internal() local
114 flippedB = PetscBTLookup(flippedCells, indC[1]) ? 1 : 0; in DMPlexCheckFace_Internal()
155 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexCheckFace_Internal()
159 } else if (!seenB && !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
184 flippedB = PetscBTLookup(flippedCells, support[1] - cStart) ? 1 : 0; in DMPlexCheckFace_Old_Internal()
217 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexCheckFace_Old_Internal()
221 } else if (!seenB && !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
632 flippedB = PetscBTLookup(flippedProcs, nproc) ? 1 : 0; in DMPlexOrient()
634 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexOrient()
636 …PetscCheck(!flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Inconsistent mesh orientation: Fault … 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
1009 flippedB = PetscBTLookup(flippedProcs, nproc) ? 1 : 0; in DMPlexOrientCells_Internal()
1011 if (mismatch ^ (flippedA ^ flippedB)) { in DMPlexOrientCells_Internal()
1013 …PetscCheck(!flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Inconsistent mesh orientation: Fault … in DMPlexOrientCells_Internal()
1015 …} else PetscCheck(!mismatch || !flippedA || !flippedB, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Atte… in DMPlexOrientCells_Internal()