Searched refs:nearest_neighbour (Results 1 – 1 of 1) sorted by relevance
608 PetscInt qn, nearest_neighbour = -1; in DMSwarmPICInsertPointsCellwise() local617 nearest_neighbour = plist_e[qn]; in DMSwarmPICInsertPointsCellwise()621 …PetscCheck(nearest_neighbour != -1, PETSC_COMM_SELF, PETSC_ERR_USER, "Cell %" PetscInt_FMT " is em… in DMSwarmPICInsertPointsCellwise()622 nnlist[q] = nearest_neighbour; in DMSwarmPICInsertPointsCellwise()