Lines Matching refs:off
350 …PetscInt numLeaves, numRoots, dim, h, cStart, cEnd, c, cell, fStart, fEnd, face, off, to… in DMPlexOrient() local
531 for (comp = 0, off = 0; comp < numComponents; ++comp) { in DMPlexOrient()
534 for (n = 0; n < numNeighbors[comp]; ++n, ++off) { in DMPlexOrient()
538 if (o < 0) match[off] = PETSC_TRUE; in DMPlexOrient()
539 else if (o > 0) match[off] = PETSC_FALSE; in DMPlexOrient()
541 nrankComp[off].rank = rpoints[neighbors[comp][n]].rank; in DMPlexOrient()
542 …nrankComp[off].index = lorntComp[lpoints ? lpoints[neighbors[comp][n]] : neighbors[comp][n]].index; in DMPlexOrient()
579 for (p = 0, off = 0; p < size; ++p) { in DMPlexOrient()
582 …+off) PetscCall(PetscPrintf(PETSC_COMM_SELF, " edge (%" PetscInt_FMT ", %" PetscInt_FMT ") (%s):\… in DMPlexOrient()
590 for (p = 0, off = 0; p < size; ++p) { in DMPlexOrient()
595 for (n = 0; n < N[r]; ++n, ++off) { in DMPlexOrient()
596 const PetscInt q = Noff[adj[off].rank] + adj[off].index; in DMPlexOrient()
597 const PetscScalar o = val[off] ? 1.0 : 0.0; in DMPlexOrient()
911 for (PetscInt comp = 0, off = 0; comp < Ncomp; ++comp) { in DMPlexOrientCells_Internal() local
912 for (PetscInt n = 0; n < numNeighbors[comp]; ++n, ++off) { in DMPlexOrientCells_Internal()
916 if (o < 0) match[off] = PETSC_TRUE; in DMPlexOrientCells_Internal()
917 else if (o > 0) match[off] = PETSC_FALSE; in DMPlexOrientCells_Internal()
920 nrankComp[off].rank = rpoints[neighbors[comp][n]].rank; in DMPlexOrientCells_Internal()
921 nrankComp[off].index = lorntComp[lpoints[neighbors[comp][n]]].index; in DMPlexOrientCells_Internal()
957 for (PetscInt p = 0, off = 0; p < size; ++p) { in DMPlexOrientCells_Internal() local
960 …+off) PetscCall(PetscPrintf(PETSC_COMM_SELF, " edge (%" PetscInt_FMT ", %" PetscInt_FMT ") (%s):\… in DMPlexOrientCells_Internal()
968 for (PetscInt p = 0, off = 0; p < size; ++p) { in DMPlexOrientCells_Internal() local
972 for (PetscInt n = 0; n < N[r]; ++n, ++off) { in DMPlexOrientCells_Internal()
973 const PetscInt q = Noff[adj[off].rank] + adj[off].index; in DMPlexOrientCells_Internal()
974 const PetscScalar o = val[off] ? 1.0 : 0.0; in DMPlexOrientCells_Internal()