Home
last modified time | relevance | path

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

/petsc/src/vec/is/section/interface/hdf5/
H A Dsectionhdf5.c133 PetscInt *coffsets; in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices() local
142 PetscCall(PetscMalloc1(m, &coffsets)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
146 for (i = 0; i < cdof; ++i) coffsets[m++] = coffs[p - pStart] + i; in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
155 PetscCall(PetscSFSetGraphLayout(sf, layout, m, NULL, PETSC_OWN_POINTER, coffsets)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
157 PetscCall(PetscFree(coffsets)); in PetscSectionLoad_HDF5_SingleField_SetConstraintIndices()
/petsc/src/dm/impls/plex/
H A Dplex.c8562 PetscInt foffsets[32], coffsets[32]; in DMPlexMatSetClosureRefined() local
8582 PetscCall(PetscArrayzero(coffsets, 32)); in DMPlexMatSetClosureRefined()
8604 coffsets[f + 1] += fdof; in DMPlexMatSetClosureRefined()
8608 for (f = 1; f < numFields; ++f) coffsets[f + 1] += coffsets[f]; in DMPlexMatSetClosureRefined()
8657coffsets[numFields] == numCIndices, PetscObjectComm((PetscObject)dmc), PETSC_ERR_PLIB, "Invalid si… in DMPlexMatSetClosureRefined()
8674 …SC_FALSE, cpoints[2 * p], globalOff < 0 ? -(globalOff + 1) : globalOff, coffsets, PETSC_FALSE, per… in DMPlexMatSetClosureRefined()
8725 PetscInt foffsets[32] = {0}, coffsets[32] = {0}; in DMPlexMatGetClosureIndicesRefined() local
8764 coffsets[f + 1] += fdof; in DMPlexMatGetClosureIndicesRefined()
8768 for (f = 1; f < numFields; ++f) coffsets[f + 1] += coffsets[f]; in DMPlexMatGetClosureIndicesRefined()
8817coffsets[numFields] == numCIndices, PetscObjectComm((PetscObject)dmc), PETSC_ERR_PLIB, "Invalid si… in DMPlexMatGetClosureIndicesRefined()
[all …]