[petsc-users] coordinate point location in mesh

Dharmendar Reddy dharmareddy84 at gmail.com
Thu Apr 4 14:29:30 CDT 2013

         Is there any DMPlex function which will tell me to which DMPlex
point a given coordinate point  belongs to ?
I am looking for cell id given a coordinates of a point.

If not,  I can think of writing of a test for point in cell
and loop over cells to find the cell id. Any suggestions for doing this ?

The physical problem i am looking at is a Poisson equation in a given

- \Delta u(x) = rho(x)  where rho is a sum of delta functions randomly
located in the domain.
Dharmendar Reddy Palle
Graduate Student
Microelectronics Research center,
University of Texas at Austin,
10100 Burnet Road, Bldg. 160
MER 2.608F, TX 78758-4445
e-mail: dharmareddy84 at gmail.com
Phone: +1-512-350-9082
United States of America.
Homepage: https://webspace.utexas.edu/~dpr342
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130404/00dda260/attachment.html>

More information about the petsc-users mailing list