Lines Matching refs:maxFields

1391 …PetscInt            numFields, maxFields, f, pRefStart, pRefEnd, p, *rows, *cols, maxDof, maxAnDof…  in DMPlexReferenceTreeGetChildrenMatrices()  local
1402 maxFields = PetscMax(1, numFields); in DMPlexReferenceTreeGetChildrenMatrices()
1421 PetscCall(PetscMalloc1(maxFields, &refPointFieldMats[p - pRefStart])); in DMPlexReferenceTreeGetChildrenMatrices()
1422 PetscCall(PetscCalloc1(maxFields, &refPointFieldN[p - pRefStart])); in DMPlexReferenceTreeGetChildrenMatrices()
1424 for (f = 0; f < maxFields; f++) { in DMPlexReferenceTreeGetChildrenMatrices()
1502 PetscInt numFields, maxFields, pRefStart, pRefEnd, p, f; in DMPlexReferenceTreeRestoreChildrenMatrices() local
1512 maxFields = PetscMax(1, numFields); in DMPlexReferenceTreeRestoreChildrenMatrices()
1522 for (f = 0; f < maxFields; f++) { in DMPlexReferenceTreeRestoreChildrenMatrices()
1546 …PetscInt numFields, maxFields, f, pRefStart, pRefEnd, p, maxDof, maxAnDof, *perm, *iperm, p… in DMPlexComputeAnchorMatrix_Tree_FromReference() local
1556 maxFields = PetscMax(1, numFields); in DMPlexComputeAnchorMatrix_Tree_FromReference()
1637 for (f = 0; f < maxFields; f++) { in DMPlexComputeAnchorMatrix_Tree_FromReference()
2077 PetscInt numFields, maxFields; in DMPlexComputeInterpolatorTree() local
2132 maxFields = PetscMax(1, numFields); in DMPlexComputeInterpolatorTree()
2133maxFields + 1, &offsets, maxFields + 1, &offsetsCopy, maxFields + 1, &newOffsets, maxFields + 1, &… in DMPlexComputeInterpolatorTree()
2134 …PetscCall(PetscMalloc2(maxFields + 1, (PetscInt ****)&perms, maxFields + 1, (PetscScalar ****)&fli… in DMPlexComputeInterpolatorTree()
2135 PetscCall(PetscMemzero((void *)perms, (maxFields + 1) * sizeof(const PetscInt **))); in DMPlexComputeInterpolatorTree()
2136 PetscCall(PetscMemzero((void *)flips, (maxFields + 1) * sizeof(const PetscScalar **))); in DMPlexComputeInterpolatorTree()
2296 for (f = 0; f < maxFields; f++) { in DMPlexComputeInterpolatorTree()
2319 for (f = 0; f < maxFields; f++) { in DMPlexComputeInterpolatorTree()
2323 for (f = 0; f < maxFields; f++) { in DMPlexComputeInterpolatorTree()
2359 for (f = 0; f < maxFields; f++) { in DMPlexComputeInterpolatorTree()
3545 PetscInt maxFields = PetscMax(1, numFields) + 1; in DMPlexComputeInjectorTree() local
3546 PetscCall(PetscMalloc3(maxFields, &offsets, maxFields, &offsetsCopy, maxFields, &rowOffsets)); in DMPlexComputeInjectorTree()
3825 PetscInt maxFields = PetscMax(1, numFields) + 1; in DMPlexTransferVecTree_Interpolate() local
3826 …7(maxFields, &offsets, maxFields, &offsetsCopy, maxFields, &newOffsets, maxFields, &newOffsetsCopy… in DMPlexTransferVecTree_Interpolate()
4095 PetscInt maxFields = PetscMax(1, numFields) + 1; in DMPlexTransferVecTree_Inject() local
4096 PetscCall(PetscMalloc3(maxFields, &offsets, maxFields, &offsetsCopy, maxFields, &rowOffsets)); in DMPlexTransferVecTree_Inject()