Lines Matching refs:sl

3713 …PetscInt           numRoots, numLeaves, numSubpoints = 0, numSubroots, numSubleaves = 0, l, sl = 0…  in DMPlexCreateSubmeshGeneric_Interpolated()  local
3857 … if (newLocalPoints[point - pStart].rank >= 0 && newLocalPoints[point - pStart].rank != rank) ++sl; in DMPlexCreateSubmeshGeneric_Interpolated()
3859 PetscCall(PetscMalloc1(sl, &slocalPoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3860 PetscCall(PetscMalloc1(sl, &sremotePoints)); in DMPlexCreateSubmeshGeneric_Interpolated()
3861 for (p = 0, sl = 0; p < numSubpoints; ++p) { in DMPlexCreateSubmeshGeneric_Interpolated()
3865 slocalPoints[sl] = p; in DMPlexCreateSubmeshGeneric_Interpolated()
3866 sremotePoints[sl].rank = newLocalPoints[point - pStart].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3867 sremotePoints[sl].index = newLocalPoints[point - pStart].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3868 … PetscCheck(sremotePoints[sl].rank >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote rank"); in DMPlexCreateSubmeshGeneric_Interpolated()
3869 …PetscCheck(sremotePoints[sl].index >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote subpoint… in DMPlexCreateSubmeshGeneric_Interpolated()
3870 ++sl; in DMPlexCreateSubmeshGeneric_Interpolated()
3885 slocalPoints[sl] = subpoint; in DMPlexCreateSubmeshGeneric_Interpolated()
3886 sremotePoints[sl].rank = newLocalPoints[point].rank; in DMPlexCreateSubmeshGeneric_Interpolated()
3887 sremotePoints[sl].index = newLocalPoints[point].index; in DMPlexCreateSubmeshGeneric_Interpolated()
3888 …PetscCheck(sremotePoints[sl].rank >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote rank for … in DMPlexCreateSubmeshGeneric_Interpolated()
3889 …PetscCheck(sremotePoints[sl].index >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote subpoint… in DMPlexCreateSubmeshGeneric_Interpolated()
3890 ++sl; in DMPlexCreateSubmeshGeneric_Interpolated()
3892 …(sl + ll == numSubleaves, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Mismatch in number of subleaves %" Pet… in DMPlexCreateSubmeshGeneric_Interpolated()
3895 …PetscCall(PetscSFSetGraph(sfPointSub, numSubroots, sl, slocalPoints, PETSC_OWN_POINTER, sremotePoi… in DMPlexCreateSubmeshGeneric_Interpolated()
4094 …ubRoots = numSubCells + numSubFaces + numSubVertices, numSubLeaves = 0, l, sl, ll, pStart, pEnd, p… in DMPlexCreateCohesiveSubmesh_Uninterpolated() local
4139 for (l = 0, sl = 0, ll = 0; l < numLeaves; ++l) { in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4148 slocalPoints[sl] = subPoint; in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4149 sremotePoints[sl].rank = newLocalPoints[point].rank; in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4150 sremotePoints[sl].index = newLocalPoints[point].index; in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4151 …PetscCheck(sremotePoints[sl].rank >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote rank for … in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4152 …PetscCheck(sremotePoints[sl].index >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid remote subpoint… in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4153 ++sl; in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4156 …(sl + ll == numSubLeaves, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Mismatch in number of subleaves %" Pet… in DMPlexCreateCohesiveSubmesh_Uninterpolated()
4157 …PetscCall(PetscSFSetGraph(sfPointSub, numSubRoots, sl, slocalPoints, PETSC_OWN_POINTER, sremotePoi… in DMPlexCreateCohesiveSubmesh_Uninterpolated()