| 3a93e3b7 | 22-Mar-2016 |
Toby Isaac <tisaac@uchicago.edu> |
DMLocatePoints: change output from an IS to a PetscSF, and allow initial guesses.
A PetscSF is a more natural return value from DMLocatePoints() because: - In the event that the mesh has overlapping
DMLocatePoints: change output from an IS to a PetscSF, and allow initial guesses.
A PetscSF is a more natural return value from DMLocatePoints() because: - In the event that the mesh has overlapping cells, it's clearer which in which process/cell the point is located. - A natural next step after DMLocatePoints() is to send each point to its cell for some local computation. With a PetscSF this is easy with PetscSFGatherBegin()/PetscSFGatherEnd().
show more ...
|