Lines Matching refs:numIndices
2264 PetscInt numIndices, *indices; in DMPlexComputeInterpolatorTree() local
2265 …exGetClosureIndices(coarse, localCoarse, globalCoarse, p, PETSC_TRUE, &numIndices, &indices, offse… in DMPlexComputeInterpolatorTree()
2266 …PetscCheck(numIndices == numColIndices, PETSC_COMM_SELF, PETSC_ERR_PLIB, "mismatching constraint i… in DMPlexComputeInterpolatorTree()
2272 …storeClosureIndices(coarse, localCoarse, globalCoarse, p, PETSC_TRUE, &numIndices, &indices, offse… in DMPlexComputeInterpolatorTree()
3298 PetscInt l, nleaves, dof, cdof, numPointsWithDofs, offset, *pointsWithDofs, numIndices; in DMPlexTransferInjectorTree() local
3315 PetscCall(PetscSectionGetStorageSize(leafIndicesSec, &numIndices)); in DMPlexTransferInjectorTree()
3316 PetscCall(PetscMalloc1((gatheredIndices ? numIndices : (maxDof + 1)), &leafInds)); in DMPlexTransferInjectorTree()
3317 if (gatheredValues) PetscCall(PetscMalloc1(numIndices, &leafVals)); in DMPlexTransferInjectorTree()
3588 PetscInt numIndices, childId, offset; in DMPlexComputeInjectorTree() local
3591 PetscCall(PetscSectionGetDof(rootIndicesSec, l, &numIndices)); in DMPlexComputeInjectorTree()
3595 numIndices--; in DMPlexComputeInjectorTree()
3600 for (i = 0; i < numIndices; i++) { in DMPlexComputeInjectorTree()
3692 PetscInt numIndices, childId, offset; in DMPlexComputeInjectorTree() local
3695 PetscCall(PetscSectionGetDof(rootIndicesSec, l, &numIndices)); in DMPlexComputeInjectorTree()
3699 numIndices--; in DMPlexComputeInjectorTree()
3704 …for (i = 0; i < numIndices; i++) PetscCall(MatSetValue(mat, parentIndices[i], childIndices[i], 1.,… in DMPlexComputeInjectorTree()
4143 PetscInt numIndices, childId, offset; in DMPlexTransferVecTree_Inject() local
4146 PetscCall(PetscSectionGetDof(rootIndicesSec, l, &numIndices)); in DMPlexTransferVecTree_Inject()
4150 numIndices--; in DMPlexTransferVecTree_Inject()
4158 for (m = 0; m < numIndices; m++) parentValues[m] = childValues[m]; in DMPlexTransferVecTree_Inject()