Searched refs:rand_points (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/utils/tests/ |
| H A D | ex1.c | 69 PetscReal *rand_points; in main() local 73 …PetscCall(PetscMalloc3(rand_queries_size, &rand_points, num_rand_points, &indices, num_rand_points… in main() 74 PetscCall(PetscRandomGetValuesReal(random, rand_queries_size, rand_points)); in main() 75 …PetscCall(PetscKDTreeQueryPointsNearestNeighbor(tree, num_rand_points, rand_points, 0., indices, d… in main() 79 PetscReal *rand_point = &rand_points[dim * i], nearest_distance = PETSC_MAX_REAL; in main() 92 PetscCall(PetscFree3(rand_points, indices, distances)); in main()
|