Home
last modified time | relevance | path

Searched refs:suboff (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/composite/
H A Dpack.c897 const PetscInt *suboff, *indices; in DMCompositeGetISLocalToGlobalMappings() local
908 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()
/petsc/src/dm/dt/dualspace/impls/sum/
H A Ddualspacesum.c441 PetscInt subdof, dof, off, suboff, stride; in PetscDualSpaceSumCreateMappings() local
443 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()