Home
last modified time | relevance | path

Searched refs:lend (Results 1 – 3 of 3) sorted by relevance

/petsc/src/vec/is/is/utils/
H A Disdiff.c621 PetscInt *inds, *colors, llen, ilen, lstart, lend, lcount, l; in ISPairToList() local
651 lend = lstart + 1; in ISPairToList()
652 while (lend < llen && colors[lend] == colors[lstart]) ++lend; in ISPairToList()
671 lend = 0; in ISPairToList()
680 if (lstart == lend) { in ISPairToList()
681 lend = lstart + 1; in ISPairToList()
682 while (lend < llen && colors[lend] == colors[lstart]) ++lend; in ISPairToList()
699 …PetscCall(ISCreateGeneral(subcomm, lend - lstart, inds + lstart, PETSC_COPY_VALUES, *islist + lcou… in ISPairToList()
701 lstart = lend; in ISPairToList()
/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/
H A D_src_pos.py534 …def resized(self, lbegin: int = 0, lend: int = 0, cbegin: Union[int, None] = 0, cend: Union[int, N…
556 if cend == 0 and lbegin + lend + cbegin == 0:
562 self.translation_unit, start.line + lbegin, start.column + cbegin, end.line + lend, endcol
/petsc/src/dm/impls/da/
H A Dfdda.c825 PetscInt lstart, lend, pstart, pend, *dnz, *onz; in DMCreateMatrix_DA_2d_MPISELL() local
857 lend = (by == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, n - j - 1)); in DMCreateMatrix_DA_2d_MPISELL()
861 for (l = lstart; l < lend + 1; l++) { in DMCreateMatrix_DA_2d_MPISELL()
895 lend = (by == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, n - j - 1)); in DMCreateMatrix_DA_2d_MPISELL()
899 for (l = lstart; l < lend + 1; l++) { in DMCreateMatrix_DA_2d_MPISELL()
1037 PetscInt lstart, lend, pstart, pend, *dnz, *onz; in DMCreateMatrix_DA_2d_MPIAIJ() local
1076 lend = (by == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, n - j - 1)); in DMCreateMatrix_DA_2d_MPIAIJ()
1080 for (l = lstart; l < lend + 1; l++) { in DMCreateMatrix_DA_2d_MPIAIJ()
1114 lend = (by == DM_BOUNDARY_PERIODIC) ? s : (PetscMin(s, n - j - 1)); in DMCreateMatrix_DA_2d_MPIAIJ()
1117 for (l = lstart; l < lend + 1; l++) { in DMCreateMatrix_DA_2d_MPIAIJ()
[all …]