Searched refs:parentOffsets (Results 1 – 1 of 1) sorted by relevance
1239 PetscInt *childOffsets, *parentOffsets; in DMPlexComputeAnchorMatrix_Tree_Direct() local1273 PetscCall(PetscMalloc2(closureSize + 1, &childOffsets, closureSizeP + 1, &parentOffsets)); in DMPlexComputeAnchorMatrix_Tree_Direct()1286 parentOffsets[0] = 0; in DMPlexComputeAnchorMatrix_Tree_Direct()1296 parentOffsets[i + 1] = parentOffsets[i] + dof; in DMPlexComputeAnchorMatrix_Tree_Direct()1343 nWorkP = parentOffsets[j + 1] - parentOffsets[j]; in DMPlexComputeAnchorMatrix_Tree_Direct()1348 … < nWorkP; s++) scwork[r * nWorkP + s] = X[fSize * (r + childOffsets[i]) + (s + parentOffsets[j])]; in DMPlexComputeAnchorMatrix_Tree_Direct()1369 PetscCall(PetscFree2(childOffsets, parentOffsets)); in DMPlexComputeAnchorMatrix_Tree_Direct()