Lines Matching refs:pStartC
2078 PetscInt pStartC, pEndC, pStartF, pEndF, p; in DMPlexComputeInterpolatorTree() local
2086 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexComputeInterpolatorTree()
2111 PetscCall(PetscMalloc1(pEndC - pStartC, &maxChildIds)); in DMPlexComputeInterpolatorTree()
2112 for (p = pStartC; p < pEndC; p++) maxChildIds[p - pStartC] = -2; in DMPlexComputeInterpolatorTree()
2129 PetscCall(PetscSectionSetChart(rootIndicesSec, pStartC, pEndC)); in DMPlexComputeInterpolatorTree()
2130 PetscCall(PetscSectionSetChart(rootMatricesSec, pStartC, pEndC)); in DMPlexComputeInterpolatorTree()
2138 for (p = pStartC; p < pEndC; p++) { /* count the sizes of the indices and matrices */ in DMPlexComputeInterpolatorTree()
2142 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexComputeInterpolatorTree()
2235 for (p = pStartC; p < pEndC; p++) { in DMPlexComputeInterpolatorTree()
2239 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexComputeInterpolatorTree()
3280 PetscInt pStartF, pEndF, pStartC, pEndC, p, maxDof, numMulti; in DMPlexTransferInjectorTree() local
3290 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexTransferInjectorTree()
3360 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexTransferInjectorTree()
3379 …PetscCall(PetscMalloc2(pEndC - pStartC, &parentNodeAndIdCoarse, pEndF - pStartF, &parentNodeAndIdF… in DMPlexTransferInjectorTree()
3382 for (p = pStartC; p < pEndC; p++) { in DMPlexTransferInjectorTree()
3385 parentNodeAndIdCoarse[p - pStartC][0] = rank; in DMPlexTransferInjectorTree()
3386 parentNodeAndIdCoarse[p - pStartC][1] = parent - pStartC; in DMPlexTransferInjectorTree()
3387 parentNodeAndIdCoarse[p - pStartC][2] = (p == parent) ? -1 : childId; in DMPlexTransferInjectorTree()
3394 leaf = p - pStartC; in DMPlexTransferInjectorTree()
3397 parentNodeAndIdCoarse[p - pStartC][0] = iremote[leaf].rank; in DMPlexTransferInjectorTree()
3398 parentNodeAndIdCoarse[p - pStartC][1] = iremote[leaf].index; in DMPlexTransferInjectorTree()
3437 …PetscCall(PetscSFSetGraph(sfToParents, pEndC - pStartC, nleavesToParents, ilocalToParents, PETSC_O… in DMPlexTransferInjectorTree()
3450 for (p = pStartC, numPointsWithDofs = 0; p < pEndC; p++) { in DMPlexTransferInjectorTree()
3456 for (p = pStartC, offset = 0; p < pEndC; p++) { in DMPlexTransferInjectorTree()
3459 if ((dof - cdof) > 0) pointsWithDofs[offset++] = p - pStartC; in DMPlexTransferInjectorTree()
3471 PetscCall(PetscSectionSetChart(multiRootSec, pStartC, pEndC)); in DMPlexTransferInjectorTree()
3472 …for (p = pStartC; p < pEndC; p++) PetscCall(PetscSectionSetDof(multiRootSec, p, rootDegrees[p - pS… in DMPlexTransferInjectorTree()
3520 PetscInt pStartC, pEndC, pStartF, pEndF, p; in DMPlexComputeInjectorTree() local
3540 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexComputeInjectorTree()
3560 for (p = pStartC; p < pEndC; p++) { in DMPlexComputeInjectorTree()
3664 for (p = pStartC; p < pEndC; p++) { in DMPlexComputeInjectorTree()
3762 PetscInt pStartC, pEndC, pStartF, pEndF, p, cellStart, cellEnd; in DMPlexTransferVecTree_Interpolate() local
3774 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexTransferVecTree_Interpolate()
3805 PetscCall(PetscMalloc1(pEndC - pStartC, &maxChildIds)); in DMPlexTransferVecTree_Interpolate()
3806 for (p = pStartC; p < pEndC; p++) maxChildIds[p - pStartC] = -2; in DMPlexTransferVecTree_Interpolate()
3822 PetscCall(PetscSectionSetChart(rootValuesSec, pStartC, pEndC)); in DMPlexTransferVecTree_Interpolate()
3850 for (p = pStartC; p < pEndC; p++) { /* count the sizes of the indices and matrices */ in DMPlexTransferVecTree_Interpolate()
3852 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexTransferVecTree_Interpolate()
3888 for (p = pStartC; p < pEndC; p++) { in DMPlexTransferVecTree_Interpolate()
3892 PetscInt maxChildId = maxChildIds[p - pStartC]; in DMPlexTransferVecTree_Interpolate()
4070 PetscInt pStartC, pEndC, pStartF, pEndF, p; in DMPlexTransferVecTree_Inject() local
4090 PetscCall(DMPlexGetChart(coarse, &pStartC, &pEndC)); in DMPlexTransferVecTree_Inject()
4112 for (p = pStartC; p < pEndC; p++) { in DMPlexTransferVecTree_Inject()