Searched refs:suboff (Results 1 – 2 of 2) sorted by relevance
897 const PetscInt *suboff, *indices; in DMCompositeGetISLocalToGlobalMappings() local908 PetscCall(VecGetOwnershipRanges(global, &suboff)); in DMCompositeGetISLocalToGlobalMappings()923 if (suboff[t] > subi) hi = t; in DMCompositeGetISLocalToGlobalMappings()926 idx[i] = subi - suboff[lo] + next->grstarts[lo]; in DMCompositeGetISLocalToGlobalMappings()
441 PetscInt subdof, dof, off, suboff, stride; in PetscDualSpaceSumCreateMappings() local443 PetscCall(PetscSectionGetOffset(subsection, p, &suboff)); in PetscDualSpaceSumCreateMappings()449 … for (PetscInt k = 0; k < subdof; k++) rows[suboff + k] = off + roffset[p - pStart] + k * stride; in PetscDualSpaceSumCreateMappings()