Lines Matching refs:rowOffsets

2081 …PetscInt            *offsets, *newOffsets, *offsetsCopy, *newOffsetsCopy, *rowOffsets, *numD, *num…  in DMPlexComputeInterpolatorTree()  local
2133 …elds + 1, &newOffsets, maxFields + 1, &newOffsetsCopy, maxFields + 1, &rowOffsets, maxFields + 1, … in DMPlexComputeInterpolatorTree()
2698 rowOffsets[0] = 0; in DMPlexComputeInterpolatorTree()
2707 rowOffsets[f + 1] = pInd[numColIndices + f]; in DMPlexComputeInterpolatorTree()
2751 PetscInt numInRows = rowOffsets[f + 1] - rowOffsets[f]; in DMPlexComputeInterpolatorTree()
2766 PetscInt numInRows = rowOffsets[f + 1] - rowOffsets[f]; in DMPlexComputeInterpolatorTree()
2808 PetscCall(PetscFree7(offsets, offsetsCopy, newOffsets, newOffsetsCopy, rowOffsets, numD, numO)); in DMPlexComputeInterpolatorTree()
3521 PetscInt *offsets, *offsetsCopy, *rowOffsets; in DMPlexComputeInjectorTree() local
3546 PetscCall(PetscMalloc3(maxFields, &offsets, maxFields, &offsetsCopy, maxFields, &rowOffsets)); in DMPlexComputeInjectorTree()
3568 rowOffsets[0] = 0; in DMPlexComputeInjectorTree()
3576 rowOffsets[f + 1] = offsetsCopy[f + 1] = fDof + rowOffsets[f]; in DMPlexComputeInjectorTree()
3581 rowOffsets[1] = offsetsCopy[0]; in DMPlexComputeInjectorTree()
3634 PetscInt parentStart = rowOffsets[f], parentEnd = rowOffsets[f + 1]; in DMPlexComputeInjectorTree()
3672 rowOffsets[0] = 0; in DMPlexComputeInjectorTree()
3680 rowOffsets[f + 1] = offsetsCopy[f + 1] = fDof + rowOffsets[f]; in DMPlexComputeInjectorTree()
3685 rowOffsets[1] = offsetsCopy[0]; in DMPlexComputeInjectorTree()
3729 PetscInt *rowIndices = &parentIndices[rowOffsets[f]]; in DMPlexComputeInjectorTree()
3732 …PetscCall(MatSetValues(mat, rowOffsets[f + 1] - rowOffsets[f], rowIndices, offsets[f + 1] - offset… in DMPlexComputeInjectorTree()
3742 PetscCall(PetscFree3(offsets, offsetsCopy, rowOffsets)); in DMPlexComputeInjectorTree()
3765 PetscInt *offsets, *newOffsets, *offsetsCopy, *newOffsetsCopy, *rowOffsets, *numD, *numO; in DMPlexTransferVecTree_Interpolate() local
3826 …sCopy, maxFields, &newOffsets, maxFields, &newOffsetsCopy, maxFields, &rowOffsets, maxFields, &num… in DMPlexTransferVecTree_Interpolate()
4054 PetscCall(PetscFree7(offsets, offsetsCopy, newOffsets, newOffsetsCopy, rowOffsets, numD, numO)); in DMPlexTransferVecTree_Interpolate()
4071 PetscInt *offsets, *offsetsCopy, *rowOffsets; in DMPlexTransferVecTree_Inject() local
4096 PetscCall(PetscMalloc3(maxFields, &offsets, maxFields, &offsetsCopy, maxFields, &rowOffsets)); in DMPlexTransferVecTree_Inject()
4122 rowOffsets[0] = 0; in DMPlexTransferVecTree_Inject()
4130 rowOffsets[f + 1] = offsetsCopy[f + 1] = fDof + rowOffsets[f]; in DMPlexTransferVecTree_Inject()
4135 rowOffsets[1] = offsetsCopy[0]; in DMPlexTransferVecTree_Inject()
4185 PetscInt m = rowOffsets[f + 1] - rowOffsets[f]; in DMPlexTransferVecTree_Inject()
4192 parentValues[rowOffsets[f] + i] += val; in DMPlexTransferVecTree_Inject()
4204 PetscCall(PetscFree3(offsets, offsetsCopy, rowOffsets)); in DMPlexTransferVecTree_Inject()