Home
last modified time | relevance | path

Searched refs:subOff (Results 1 – 4 of 4) sorted by relevance

/petsc/src/dm/interface/
H A Ddmi.c84 PetscInt pStart, pEnd, Nc, subSize = 0, subOff = 0; in PetscSectionSelectFields_Private() local
202 subIndices[subOff++] = goff + poff + pfoff; in PetscSectionSelectFields_Private()
209 … for (PetscInt fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionSelectFields_Private()
215 …= subOff, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "The offset array size %" PetscInt_FMT " != %" Pe… in PetscSectionSelectFields_Private()
479 PetscInt subSize, subOff, pStart, pEnd, p, start, end, dummy; in DMCreateSectionSuperDM() local
484 for (p = pStart, subOff = 0; p < pEnd; ++p) { in DMCreateSectionSuperDM()
499 for (d = start; d < end; ++d, ++subOff) subIndices[subOff] = d; in DMCreateSectionSuperDM()
/petsc/src/vec/vec/utils/
H A Dvsection.c198 PetscInt Nc, subSize = 0, subOff = 0, p; in PetscSectionGetField_Internal() local
224 for (fc = 0; fc < fdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionGetField_Internal()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c584 PetscInt gstart, subSize = 0, extSize = 0, subOff = 0, newOff = 0; in VecView_Plex_Local_HDF5_Internal() local
618 for (fc = 0; fc < fdof; ++fc, ++subOff) suba[subOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal()
/petsc/src/dm/impls/plex/
H A Dplex.c10872 PetscInt subSize = 0, subOff = 0, pStart, pEnd, p; in DMCreateSubDomainDM_Plex() local
10933 for (fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in DMCreateSubDomainDM_Plex()