Lines Matching refs:pointWork
1547 PetscScalar ***refPointFieldMats, *pointWork; in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1569 PetscCall(PetscMalloc1(maxDof * maxDof * maxAnDof, &pointWork)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1707 pointWork[r * aNumFillCols + j] = inVal; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1717 …for (r = 0; r < cDof; r++) vals[matOffset + numFillCols * r + k] = pointWork[r * aNumFillCols + j]; in DMPlexComputeAnchorMatrix_Tree_FromReference()
1754 PetscCall(PetscFree(pointWork)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
2498 PetscScalar *pointWork; in DMPlexComputeInterpolatorTree() local
2678 PetscCall(PetscMalloc1(maxConDof * maxColumns, &pointWork)); in DMPlexComputeInterpolatorTree()
2774 pointWork[i * numCols + j] = val; in DMPlexComputeInterpolatorTree()
2777 …s(mat, numRows, &rowIndices[offsets[f]], numCols, &pInd[newOffsets[f]], pointWork, INSERT_VALUES)); in DMPlexComputeInterpolatorTree()
2790 pointWork[i * numCols + j] = val; in DMPlexComputeInterpolatorTree()
2793 … PetscCall(MatSetValues(mat, numRows, rowIndices, numCols, pInd, pointWork, INSERT_VALUES)); in DMPlexComputeInterpolatorTree()
2800 PetscCall(PetscFree(pointWork)); in DMPlexComputeInterpolatorTree()
3951 PetscScalar *pointWork; in DMPlexTransferVecTree_Interpolate() local
3955 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_SCALAR, &pointWork)); in DMPlexTransferVecTree_Interpolate()
4018 PetscScalar *rVal = &pointWork[offsets[f]]; in DMPlexTransferVecTree_Interpolate()
4049 PetscCall(DMRestoreWorkArray(fine, maxDof, MPIU_SCALAR, &pointWork)); in DMPlexTransferVecTree_Interpolate()