Lines Matching refs:Ncomp
249 static PetscErrorCode DMPlexOrient_Serial(DM dm, IS cellIS, IS faceIS, PetscInt *Ncomp, PetscInt ce… in DMPlexOrient_Serial() argument
264 *Ncomp = 0; in DMPlexOrient_Serial()
296 if (PetscBTLookup(seenCells, c)) cellComp[c] = *Ncomp; in DMPlexOrient_Serial()
299 if (PetscBTLookup(seenFaces, f)) faceComp[f] = *Ncomp; in DMPlexOrient_Serial()
304 ++(*Ncomp); in DMPlexOrient_Serial()
754 PetscInt numLeaves, numRoots, dim, Ncomp, totNeighbors = 0; in DMPlexOrientCells_Internal() local
802 PetscCall(DMPlexOrient_Serial(dm, cellIS, faceIS, &Ncomp, cellComp, faceComp, flippedCells)); in DMPlexOrientCells_Internal()
866 PetscCall(PetscMalloc2(Ncomp, &numNeighbors, Ncomp, &neighbors)); in DMPlexOrientCells_Internal()
870 for (PetscInt comp = 0; comp < Ncomp; ++comp) { in DMPlexOrientCells_Internal()
911 for (PetscInt comp = 0, off = 0; comp < Ncomp; ++comp) { in DMPlexOrientCells_Internal()
936 PetscCall(PetscCalloc1(Ncomp, &flipped)); in DMPlexOrientCells_Internal()
939 PetscCallMPI(MPI_Gather(&Ncomp, 1, MPI_INT, Nc, 1, MPI_INT, 0, comm)); in DMPlexOrientCells_Internal()
942 PetscCall(PetscMPIIntCast(Ncomp, &iNcomp)); in DMPlexOrientCells_Internal()
1040 PetscCall(PetscMPIIntCast(Ncomp, &iNcomp)); in DMPlexOrientCells_Internal()