On Fri, Apr 5, 2013 at 6:29 AM, Dharmendar Reddy <dharmareddy84 at gmail.com>wrote:
> Hello, > 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. > I have experimental code to do this, DMPlexLocatePoint(). There are tests, but they are not that stringent for hexes. Let me know if this works for you. Matt > 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 > domain. > > - \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 > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130405/068ae2a1/attachment.html>
