Searched refs:num_targets (Results 1 – 1 of 1) sorted by relevance
173 PetscInt num_targets = 0; in PetscSFSetGraphFromCoordinates() local176 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()