Lines Matching refs:maxChildIds
2080 PetscInt *maxChildIds; in DMPlexComputeInterpolatorTree() local
2111 PetscCall(PetscMalloc1(pEndC - pStartC, &maxChildIds)); in DMPlexComputeInterpolatorTree()
2112 for (p = pStartC; p < pEndC; p++) maxChildIds[p - pStartC] = -2; in DMPlexComputeInterpolatorTree()
2113 PetscCall(PetscSFReduceBegin(coarseToFineEmbedded, MPIU_INT, childIds, maxChildIds, MPI_MAX)); in DMPlexComputeInterpolatorTree()
2114 PetscCall(PetscSFReduceEnd(coarseToFineEmbedded, MPIU_INT, childIds, maxChildIds, MPI_MAX)); in DMPlexComputeInterpolatorTree()
2142 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexComputeInterpolatorTree()
2239 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexComputeInterpolatorTree()
2456 PetscCall(PetscFree(maxChildIds)); in DMPlexComputeInterpolatorTree()
3764 PetscInt *maxChildIds; in DMPlexTransferVecTree_Interpolate() local
3805 PetscCall(PetscMalloc1(pEndC - pStartC, &maxChildIds)); in DMPlexTransferVecTree_Interpolate()
3806 for (p = pStartC; p < pEndC; p++) maxChildIds[p - pStartC] = -2; in DMPlexTransferVecTree_Interpolate()
3807 PetscCall(PetscSFReduceBegin(coarseToFineEmbedded, MPIU_INT, cids, maxChildIds, MPIU_MAX)); in DMPlexTransferVecTree_Interpolate()
3808 PetscCall(PetscSFReduceEnd(coarseToFineEmbedded, MPIU_INT, cids, maxChildIds, MPIU_MAX)); in DMPlexTransferVecTree_Interpolate()
3852 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexTransferVecTree_Interpolate()
3892 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexTransferVecTree_Interpolate()
3923 PetscCall(PetscFree(maxChildIds)); in DMPlexTransferVecTree_Interpolate()