Home
last modified time | relevance | path

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

/petsc/src/vec/is/sf/utils/
H A Dsfcoord.c173 PetscInt num_targets = 0; in PetscSFSetGraphFromCoordinates() local
176 premote[num_targets] = premote[i]; in PetscSFSetGraphFromCoordinates()
177 …for (PetscInt d = 0; d < dim; d++) target_coords[num_targets * dim + d] = target_coords[i * dim + … in PetscSFSetGraphFromCoordinates()
178 num_targets++; in PetscSFSetGraphFromCoordinates()
189 …PetscCall(PetscKDTreeCreate(num_targets, dim, target_coords, PETSC_USE_POINTER, PETSC_DETERMINE, &… in PetscSFSetGraphFromCoordinates()