Home
last modified time | relevance | path

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

/petsc/src/vec/is/utils/
H A Dkdtree.c32 PetscCount *bucket_indices; member
53 PetscCall(PetscFree((*tree)->bucket_indices)); in PetscKDTreeDestroy()
133 PetscSegBuffer stems, leaves, bucket_indices, bucket_coords; member
148 PetscCount *bucket_indices; in PetscKDTreeBuildStemAndLeaves() local
156 PetscCall(PetscSegBufferGetSize(kd_build->bucket_indices, &leaf->indices_handle)); in PetscKDTreeBuildStemAndLeaves()
157 PetscCall(PetscSegBufferGet(kd_build->bucket_indices, leaf->count, &bucket_indices)); in PetscKDTreeBuildStemAndLeaves()
158 PetscCall(PetscArraycpy(bucket_indices, &sorted_indices[start], leaf->count)); in PetscKDTreeBuildStemAndLeaves()
165 … = 0; d < dim; d++) bucket_coords[d * leaf->count + i] = tree->coords[bucket_indices[i] * dim + d]; in PetscKDTreeBuildStemAndLeaves()
290 PetscCall(PetscSegBufferCreate(sizeof(PetscCount), num_coords, &kd_build->bucket_indices)); in PetscKDTreeCreate()
297 PetscCall(PetscSegBufferGetSize(kd_build->bucket_indices, &tree->num_bucket_indices)); in PetscKDTreeCreate()
[all …]