Lines Matching refs:PetscMalloc1

35       PetscCall(PetscMalloc1(1, offsets));  in DMPlexCreatePartitionerGraph_Overlap()
81 PetscCall(PetscMalloc1(vOffsets[*numVertices], &vAdj)); in DMPlexCreatePartitionerGraph_Overlap()
137 PetscCall(PetscMalloc1(1, offsets)); in DMPlexCreatePartitionerGraph_Native()
266 PetscCall(PetscMalloc1(*numVertices + 1, &vOffsets)); in DMPlexCreatePartitionerGraph_Native()
293 PetscCall(PetscMalloc1(*numVertices + 1, &vOffsets)); in DMPlexCreatePartitionerGraph_Native()
338 PetscCall(PetscMalloc1(1, offsets)); in DMPlexCreatePartitionerGraph_ViaMat()
358 PetscCall(PetscMalloc1(m, &idxs)); in DMPlexCreatePartitionerGraph_ViaMat()
375 PetscCall(PetscMalloc1(m, &idxs)); in DMPlexCreatePartitionerGraph_ViaMat()
376 PetscCall(PetscMalloc1(m, &idxs2)); in DMPlexCreatePartitionerGraph_ViaMat()
454 PetscCall(PetscMalloc1(ii[m] - m, &idxs)); in DMPlexCreatePartitionerGraph_ViaMat()
593 PetscCall(PetscMalloc1(off[numCells], &adj)); in DMPlexCreateNeighborCSR()
594 PetscCall(PetscMalloc1(numCells + 1, &tmp)); in DMPlexCreateNeighborCSR()
677 PetscCall(PetscMalloc1(off[numCells], &adj)); in DMPlexCreateNeighborCSR()
769 PetscCall(PetscMalloc1(cEnd - cStart, &points)); in PetscPartitionerDMPlexPartition()
866 PetscCall(PetscMalloc1(localSize, &adjusted)); in PetscPartitionerDMPlexPartition()
869 PetscCall(PetscMalloc1(localSize, &map)); in PetscPartitionerDMPlexPartition()
1079 PetscCall(PetscMalloc1(nelems, &elems)); in DMPlexClosurePoints_Private()
1279 PetscCall(PetscMalloc1(rootSize, &rootPoints)); in DMPlexPartitionLabelInvert()
1336 PetscCall(PetscMalloc1(leafSize, &leafPoints)); in DMPlexPartitionLabelInvert()
1423 PetscCall(PetscMalloc1(numRemote, &remotePoints)); in DMPlexPartitionLabelCreateSF()
1510 PetscCall(PetscMalloc1(pEnd - pStart, &isLeaf)); in DMPlexRewriteSF()
1514 PetscCall(PetscMalloc1(pEnd - pStart + 1, &cumSumDegrees)); in DMPlexRewriteSF()
1520 PetscCall(PetscMalloc1(sumDegrees, &locationsOfLeafs)); in DMPlexRewriteSF()
1521 PetscCall(PetscMalloc1(pEnd - pStart, &rankOnLeafs)); in DMPlexRewriteSF()
1528 PetscCall(PetscMalloc1(sumDegrees, &remoteLocalPointOfLeafs)); in DMPlexRewriteSF()
1529 PetscCall(PetscMalloc1(pEnd - pStart, &points)); in DMPlexRewriteSF()
1535 PetscCall(PetscMalloc1(pEnd - pStart, &newOwners)); in DMPlexRewriteSF()
1536 PetscCall(PetscMalloc1(pEnd - pStart, &newNumbers)); in DMPlexRewriteSF()
1584 PetscCall(PetscMalloc1(leafCounter, &leafsNew)); in DMPlexRewriteSF()
1585 PetscCall(PetscMalloc1(leafCounter, &leafLocationsNew)); in DMPlexRewriteSF()
1730 PetscCall(PetscMalloc1(pEnd - pStart, &toBalance)); in DMPlexRebalanceSharedPoints()
1740 PetscCall(PetscMalloc1(pEnd - pStart, &isLeaf)); in DMPlexRebalanceSharedPoints()
1741 PetscCall(PetscMalloc1(pEnd - pStart, &isNonExclusivelyOwned)); in DMPlexRebalanceSharedPoints()
1742 PetscCall(PetscMalloc1(pEnd - pStart, &isExclusivelyOwned)); in DMPlexRebalanceSharedPoints()
1779 PetscCall(PetscMalloc1(pEnd - pStart, &globalNumbersOfLocalOwnedVertices)); in DMPlexRebalanceSharedPoints()
1793 PetscCall(PetscMalloc1(pEnd - pStart, &leafGlobalNumbers)); in DMPlexRebalanceSharedPoints()
1821 PetscCall(PetscMalloc1(ncon * nparts, &tpwgts)); in DMPlexRebalanceSharedPoints()
1823 PetscCall(PetscMalloc1(ncon, &ubvec)); in DMPlexRebalanceSharedPoints()
1826 PetscCall(PetscMalloc1(ncon * (1 + numNonExclusivelyOwned), &vtxwgt)); in DMPlexRebalanceSharedPoints()
1864 PetscCall(PetscMalloc1(cumSumVertices[rank + 1] - cumSumVertices[rank], &part)); in DMPlexRebalanceSharedPoints()
1867 PetscCall(PetscMalloc1(4, &options)); in DMPlexRebalanceSharedPoints()
1901 PetscCall(PetscMalloc1(cumSumVertices[rank + 1] - cumSumVertices[rank], &part)); in DMPlexRebalanceSharedPoints()
1907 PetscCall(PetscMalloc1(size, &numExclusivelyOwnedAll)); in DMPlexRebalanceSharedPoints()
1911 PetscCall(PetscMalloc1(numRows, &partGlobal)); in DMPlexRebalanceSharedPoints()
1917 PetscCall(PetscMalloc1(2 * numRows_g, &vtxwgt_g)); in DMPlexRebalanceSharedPoints()
1927 PetscCall(PetscMalloc1(64, &options)); in DMPlexRebalanceSharedPoints()
1946 PetscCall(PetscMalloc1(size, &counts)); in DMPlexRebalanceSharedPoints()
1947 PetscCall(PetscMalloc1(size + 1, &mpiCumSumVertices)); in DMPlexRebalanceSharedPoints()
2021 PetscCall(PetscMalloc1(numNonExclusivelyOwned, &pointsToRewrite)); in DMPlexRebalanceSharedPoints()