Searched refs:num_leaves (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/vec/is/utils/ ! |
| H A D | kdtree.c | 28 PetscCount num_coords, num_leaves, num_stems, num_bucket_indices; member 281 PetscInt num_leaves = (PetscInt)PetscCeilInt64(num_coords, tree->max_bucket_size); in PetscKDTreeCreate() local 282 PetscInt num_stems = RoundToNextPowerOfTwo((uint32_t)num_leaves); in PetscKDTreeCreate() 289 PetscCall(PetscSegBufferCreate(sizeof(KDLeaf), num_leaves, &kd_build->leaves)); in PetscKDTreeCreate() 296 PetscCall(PetscSegBufferGetSize(kd_build->leaves, &tree->num_leaves)); in PetscKDTreeCreate() 487 for (PetscCount i = 0; i < tree->num_leaves; i++) { in PetscKDTreeView()
|
| /petsc/src/dm/impls/plex/ ! |
| H A D | plexpreallocate.c | 207 PetscInt root_index = -1, leaf_, num_roots, num_leaves; in AdjancencyContainsLeafRootPair() local 211 PetscCall(PetscSectionGetStorageSize(myRankPairSection, &num_leaves)); in AdjancencyContainsLeafRootPair()
|
| /petsc/src/dm/impls/plex/cgns/ ! |
| H A D | plexcgns2.c | 1653 PetscInt *leaf, num_leaves = 0; in DMPlexCreateCGNS_Internal_Parallel() local 1691 num_leaves++; in DMPlexCreateCGNS_Internal_Parallel() 1696 …PetscAssert(num_leaves == nleaves, PETSC_COMM_SELF, PETSC_ERR_PLIB, "leaf count in closure does no… in DMPlexCreateCGNS_Internal_Parallel()
|