Lines Matching refs:flips
653 PetscBool *flips = NULL; in DMPlexOrient() local
656 PetscCall(PetscMalloc1(Noff[size], &flips)); in DMPlexOrient()
658 flips[p] = PetscBTLookup(flippedProcs, p) ? PETSC_TRUE : PETSC_FALSE; in DMPlexOrient()
659 if (flg && flips[p]) PetscCall(PetscPrintf(comm, "Flipping Proc+Comp %d:\n", p)); in DMPlexOrient()
663 …PetscCallMPI(MPI_Scatterv(flips, Nc, displs, MPI_C_BOOL, flipped, numComponents, MPI_C_BOOL, 0, co… in DMPlexOrient()
664 PetscCall(PetscFree(flips)); in DMPlexOrient()
1030 PetscBool *flips = NULL; in DMPlexOrientCells_Internal() local
1033 PetscCall(PetscMalloc1(Noff[size], &flips)); in DMPlexOrientCells_Internal()
1035 flips[p] = PetscBTLookup(flippedProcs, p) ? PETSC_TRUE : PETSC_FALSE; in DMPlexOrientCells_Internal()
1036 … if (view && flips[p]) PetscCall(PetscPrintf(comm, "Flipping Proc+Comp %" PetscInt_FMT ":\n", p)); in DMPlexOrientCells_Internal()
1041 … PetscCallMPI(MPI_Scatterv(flips, Nc, displs, MPI_C_BOOL, flipped, iNcomp, MPI_C_BOOL, 0, comm)); in DMPlexOrientCells_Internal()
1042 PetscCall(PetscFree(flips)); in DMPlexOrientCells_Internal()