Lines Matching refs:adjSize
23 PetscInt p, q, a, aSize, *offsets, aStart, aEnd, *inverse, iSize, *adj, adjSize; in DMPlexComputeAnchorAdjacencies() local
105 PetscCall(PetscSectionGetStorageSize(adjSec, &adjSize)); in DMPlexComputeAnchorAdjacencies()
106 PetscCall(PetscMalloc1(adjSize, &adj)); in DMPlexComputeAnchorAdjacencies()
249 PetscInt dim, pStart, pEnd, numDof, globalOffStart, globalOffEnd, numCols, adjSize; in DMPlexCreateAdjacencySection_Static() local
430 PetscCall(PetscSectionGetStorageSize(leafSectionAdj, &adjSize)); in DMPlexCreateAdjacencySection_Static()
431 PetscCall(PetscCalloc1(adjSize, &adj)); in DMPlexCreateAdjacencySection_Static()
471 PetscCall(PetscSectionGetStorageSize(rootSectionAdj, &adjSize)); in DMPlexCreateAdjacencySection_Static()
472 PetscCall(PetscMalloc1(adjSize, &rootAdj)); in DMPlexCreateAdjacencySection_Static()
473 for (r = 0; r < adjSize; ++r) rootAdj[r] = -1; in DMPlexCreateAdjacencySection_Static()
480 for (p = 0; p < adjSize; ++p) radjsize += indegree[p]; in DMPlexCreateAdjacencySection_Static()
484 for (p = 0, l = 0, r = 0; p < adjSize; ++p, l = PetscMax(p, l + indegree[p - 1])) { in DMPlexCreateAdjacencySection_Static()
489 …etscCheck(l == adjSize, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Inconsistency in communication %" PetscI… in DMPlexCreateAdjacencySection_Static()