Lines Matching refs:childId

2574         PetscInt childId;  in DMPlexComputeInterpolatorTree()  local
2576 childId = childIds[p - pStartF]; in DMPlexComputeInterpolatorTree()
2577 if (childId < 0) { /* no child interpolation: one nnz per */ in DMPlexComputeInterpolatorTree()
2683 PetscInt childId; in DMPlexComputeInterpolatorTree() local
2688 childId = childIds[p - pStartF]; in DMPlexComputeInterpolatorTree()
2716 if (childId < 0) { /* no child interpolation: scatter */ in DMPlexComputeInterpolatorTree()
2733 …rowIndices[offsets[f]], numCols, &pInd[newOffsets[f]], refPointFieldMats[childId - pRefStart][f], … in DMPlexComputeInterpolatorTree()
2736 …tSetValues(mat, gDof, rowIndices, numColIndices, pInd, refPointFieldMats[childId - pRefStart][0], … in DMPlexComputeInterpolatorTree()
2745 if (childId < 0) { /* copy the incoming matrix */ in DMPlexComputeInterpolatorTree()
2769 …PetscCheck(refPointFieldN[childId - pRefStart][f] == numInRows, PETSC_COMM_SELF, PETSC_ERR_PLIB, "… in DMPlexComputeInterpolatorTree()
2773 …for (k = 0; k < numInRows; k++) val += refPointFieldMats[childId - pRefStart][f][i * numInRows + k… in DMPlexComputeInterpolatorTree()
2785 …PetscCheck(refPointFieldN[childId - pRefStart][0] == numInRows, PETSC_COMM_SELF, PETSC_ERR_PLIB, "… in DMPlexComputeInterpolatorTree()
2789 …for (k = 0; k < numInRows; k++) val += refPointFieldMats[childId - pRefStart][0][i * numInRows + k… in DMPlexComputeInterpolatorTree()
3383 PetscInt parent, childId; in DMPlexTransferInjectorTree() local
3384 PetscCall(DMPlexGetTreeParent(coarse, p, &parent, &childId)); in DMPlexTransferInjectorTree()
3387 parentNodeAndIdCoarse[p - pStartC][2] = (p == parent) ? -1 : childId; in DMPlexTransferInjectorTree()
3588 PetscInt numIndices, childId, offset; in DMPlexComputeInjectorTree() local
3593 childId = rootIndices[offset++]; in DMPlexComputeInjectorTree()
3597 if (childId == -1) { /* equivalent points: scatter */ in DMPlexComputeInjectorTree()
3614 PetscCall(DMPlexGetTreeParent(refTree, childId, &parentId, NULL)); in DMPlexComputeInjectorTree()
3623 PetscCall(PetscSectionGetFieldDof(cSecRef, childId, f, &fDof)); in DMPlexComputeInjectorTree()
3630 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexComputeInjectorTree()
3692 PetscInt numIndices, childId, offset; in DMPlexComputeInjectorTree() local
3697 childId = rootIndices[offset++]; in DMPlexComputeInjectorTree()
3701 if (childId == -1) { /* equivalent points: scatter */ in DMPlexComputeInjectorTree()
3708 PetscCall(DMPlexGetTreeParent(refTree, childId, &parentId, NULL)); in DMPlexComputeInjectorTree()
3717 PetscCall(PetscSectionGetFieldDof(cSecRef, childId, f, &fDof)); in DMPlexComputeInjectorTree()
3724 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexComputeInjectorTree()
3728 PetscScalar *childMat = &childrenMats[childId - pRefStart][f][0]; in DMPlexComputeInjectorTree()
3967 PetscInt childId; in DMPlexTransferVecTree_Interpolate() local
3984 childId = cids[p - pStartF]; in DMPlexTransferVecTree_Interpolate()
3994 …newOffsets[f + 1] = newOffsets[f] + ((childId == -1) ? rowDof : refPointFieldN[childId - pRefStart… in DMPlexTransferVecTree_Interpolate()
4001 newOffsets[1] = (childId == -1) ? lDof : refPointFieldN[childId - pRefStart][0]; in DMPlexTransferVecTree_Interpolate()
4004 if (childId == -1) { /* no child interpolation: one nnz per */ in DMPlexTransferVecTree_Interpolate()
4014 const PetscScalar *childMat = refPointFieldMats[childId - pRefStart][f]; in DMPlexTransferVecTree_Interpolate()
4022 …FieldN %" PetscInt_FMT " maxDof %" PetscInt_FMT "\n",childId,numRows,numCols,refPointFieldN[childI… in DMPlexTransferVecTree_Interpolate()
4143 PetscInt numIndices, childId, offset; in DMPlexTransferVecTree_Inject() local
4148 childId = (PetscInt)PetscRealPart(rootValues[offset++]); in DMPlexTransferVecTree_Inject()
4152 if (childId == -2) { /* skip */ in DMPlexTransferVecTree_Inject()
4154 } else if (childId == -1) { /* equivalent points: scatter */ in DMPlexTransferVecTree_Inject()
4163 PetscCall(DMPlexGetTreeParent(refTree, childId, &parentId, NULL)); in DMPlexTransferVecTree_Inject()
4172 PetscCall(PetscSectionGetFieldDof(cSecRef, childId, f, &fDof)); in DMPlexTransferVecTree_Inject()
4179 PetscCall(PetscSectionGetDof(cSecRef, childId, &cDof)); in DMPlexTransferVecTree_Inject()
4183 PetscScalar *childMat = &childrenMats[childId - pRefStart][f][0]; in DMPlexTransferVecTree_Inject()