Home
last modified time | relevance | path

Searched refs:num_roots (Results 1 – 2 of 2) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexpreallocate.c207 PetscInt root_index = -1, leaf_, num_roots, num_leaves; in AdjancencyContainsLeafRootPair() local
210 PetscCall(PetscSectionGetChart(myRankPairSection, NULL, &num_roots)); in AdjancencyContainsLeafRootPair()
215 PetscCall(PetscFindInt(padj, num_roots, roots, &root_index)); in AdjancencyContainsLeafRootPair()
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c1460 PetscInt num_roots, *plexFacesNew; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local
1467 … PetscCall(PetscSFGetGraph(*cg2plexSF, &num_roots, &num_leaves_old, NULL, &iremote_cg2plex_old)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1468 …PetscAssert(num_roots == fownedSize, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Inconsistent roots and owne… in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1479 …PetscCall(PetscSFSetGraph(*cg2plexSF, num_roots, num_plex_faces_found, NULL, PETSC_COPY_VALUES, ir… in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
1484 for (PetscInt r = 0; r < num_roots; r++) { in DMPlexCGNS_MatchCGNSFacesToPlexFaces()