Searched refs:newOffsets (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 2081 …PetscInt *offsets, *newOffsets, *offsetsCopy, *newOffsetsCopy, *rowOffsets, *numD, *num… in DMPlexComputeInterpolatorTree() local 2133 …(maxFields + 1, &offsets, maxFields + 1, &offsetsCopy, maxFields + 1, &newOffsets, maxFields + 1, … in DMPlexComputeInterpolatorTree() 2152 for (f = 0; f <= numFields; f++) newOffsets[f] = 0; in DMPlexComputeInterpolatorTree() 2169 newOffsets[f + 1] = offsets[f + 1]; in DMPlexComputeInterpolatorTree() 2172 …e, numRowIndices, closure, NULL, NULL, NULL, &numColIndices, NULL, NULL, newOffsets, PETSC_FALSE)); in DMPlexComputeInterpolatorTree() 2183 numCol = newOffsets[f + 1] - newOffsets[f]; in DMPlexComputeInterpolatorTree() 2209 newOffsets[f + 1] += fDof; in DMPlexComputeInterpolatorTree() 2214 for (f = 0; f < numFields; f++) matSize += offsets[f + 1] * newOffsets[f + 1]; in DMPlexComputeInterpolatorTree() 2246 newOffsets[f] = 0; in DMPlexComputeInterpolatorTree() 2313 newOffsets[f + 1] = offsets[f + 1]; in DMPlexComputeInterpolatorTree() [all …]
|
| H A D | plex.c | 7851 PetscInt newOffsets[32]; in DMPlexAnchorsGetSubMatModification() local 7865 PetscCall(PetscArrayzero(newOffsets, 32)); in DMPlexAnchorsGetSubMatModification() 7907 newOffsets[f + 1] += fDof; in DMPlexAnchorsGetSubMatModification() 7918 newOffsets[f + 1] += fDof; in DMPlexAnchorsGetSubMatModification() 7935 for (PetscInt f = 0; f < numFields; ++f) newOffsets[f + 1] += newOffsets[f]; in DMPlexAnchorsGetSubMatModification() 7940 for (PetscInt f = 0; f <= numFields; f++) offsets[f] = newOffsets[f]; in DMPlexAnchorsGetSubMatModification() 7946 …newOffsets[numFields] == newNumIndices, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Invalid size for closure… in DMPlexAnchorsGetSubMatModification() 7986 PetscCall(PetscArraycpy(newOffsetsCopy, newOffsets, 32)); in DMPlexAnchorsGetSubMatModification() 8005 PetscInt fNewStart = newOffsets[f]; in DMPlexAnchorsGetSubMatModification() 8064 for (PetscInt f = 0; f <= numFields; f++) offsets[f] = newOffsets[f]; in DMPlexAnchorsGetSubMatModification()
|