Lines Matching refs:maxDof
1167 PetscInt fSize, maxDof; in DMPlexComputeAnchorMatrix_Tree_Direct() local
1200 for (i = 0, maxDof = 0; i <= spdim; i++) maxDof = PetscMax(maxDof, numDof[i]); in DMPlexComputeAnchorMatrix_Tree_Direct()
1219 …ef, spdim * nPoints, &pointsReal, nPoints * fSize * Nc, &work, maxDof, &workIndRow, maxDof, &workI… in DMPlexComputeAnchorMatrix_Tree_Direct()
1220 PetscCall(PetscMalloc1(maxDof * maxDof, &scwork)); in DMPlexComputeAnchorMatrix_Tree_Direct()
1391 …PetscInt numFields, maxFields, f, pRefStart, pRefEnd, p, *rows, *cols, maxDof, maxAnDof… in DMPlexReferenceTreeGetChildrenMatrices() local
1410 PetscCall(PetscSectionGetMaxDof(refConSec, &maxDof)); in DMPlexReferenceTreeGetChildrenMatrices()
1412 PetscCall(PetscMalloc1(maxDof, &rows)); in DMPlexReferenceTreeGetChildrenMatrices()
1413 PetscCall(PetscMalloc1(maxDof * maxAnDof, &cols)); in DMPlexReferenceTreeGetChildrenMatrices()
1546 …PetscInt numFields, maxFields, f, pRefStart, pRefEnd, p, maxDof, maxAnDof, *perm, *iperm, p… in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1567 PetscCall(PetscSectionGetMaxDof(refConSec, &maxDof)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1569 PetscCall(PetscMalloc1(maxDof * maxDof * maxAnDof, &pointWork)); in DMPlexComputeAnchorMatrix_Tree_FromReference()
2491 PetscInt maxDof; in DMPlexComputeInterpolatorTree() local
2507 PetscCall(PetscSectionGetMaxDof(localFine, &maxDof)); in DMPlexComputeInterpolatorTree()
2509 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()
2799 PetscCall(DMRestoreWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexComputeInterpolatorTree()
3160 PetscInt numFields, f, pRefStart, pRefEnd, p, *rows, *cols, maxDof; in DMPlexReferenceTreeGetChildrenMatrices_Injection() local
3171 PetscCall(PetscSectionGetMaxDof(refConSec, &maxDof)); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3172 PetscCall(PetscMalloc1(maxDof, &rows)); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3173 PetscCall(PetscMalloc1(maxDof * maxDof, &cols)); in DMPlexReferenceTreeGetChildrenMatrices_Injection()
3280 PetscInt pStartF, pEndF, pStartC, pEndC, p, maxDof, numMulti; in DMPlexTransferInjectorTree() local
3296 PetscCall(PetscSectionGetMaxDof(localFine, &maxDof)); in DMPlexTransferInjectorTree()
3316 PetscCall(PetscMalloc1((gatheredIndices ? numIndices : (maxDof + 1)), &leafInds)); in DMPlexTransferInjectorTree()
3519 PetscInt numFields, maxDof; in DMPlexComputeInjectorTree() local
3543 PetscCall(PetscSectionGetMaxDof(localCoarse, &maxDof)); in DMPlexComputeInjectorTree()
3551 PetscCall(PetscMalloc1(maxDof, &parentIndices)); in DMPlexComputeInjectorTree()
3944 PetscInt maxDof; in DMPlexTransferVecTree_Interpolate() local
3953 PetscCall(PetscSectionGetMaxDof(localFine, &maxDof)); in DMPlexTransferVecTree_Interpolate()
3954 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexTransferVecTree_Interpolate()
3955 PetscCall(DMGetWorkArray(fine, maxDof, MPIU_SCALAR, &pointWork)); in DMPlexTransferVecTree_Interpolate()
4022 …xDof %" PetscInt_FMT "\n",childId,numRows,numCols,refPointFieldN[childId - pRefStart][f], maxDof)); in DMPlexTransferVecTree_Interpolate()
4049 PetscCall(DMRestoreWorkArray(fine, maxDof, MPIU_SCALAR, &pointWork)); in DMPlexTransferVecTree_Interpolate()
4050 PetscCall(DMRestoreWorkArray(fine, maxDof, MPIU_INT, &rowIndices)); in DMPlexTransferVecTree_Interpolate()
4069 PetscInt numFields, maxDof; in DMPlexTransferVecTree_Inject() local
4093 PetscCall(PetscSectionGetMaxDof(localCoarse, &maxDof)); in DMPlexTransferVecTree_Inject()
4101 PetscCall(PetscMalloc2(maxDof, &parentIndices, maxDof, &parentValues)); in DMPlexTransferVecTree_Inject()