1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/DM/DMPointLocationType.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>DMPointLocationType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/DM/DMPointLocationType.html "><small>Report Typos and Errors</small></a></div>
<A NAME="DMPointLocationType"><H1>DMPointLocationType</H1></A>
Describes the method to handle point location failure
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
typedef enum {<A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_NONE</A>, <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_NEAREST</A>, <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_REMOVE</A>} <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DMPointLocationType</A>;
</PRE>
<P>
If a search using <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_NONE</A> fails, the failure is signaled with a negative cell number. On the
other hand, if <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_NEAREST</A> is used, on failure, the (approximate) nearest point in the mesh is
used, replacing the given point in the input vector. <A HREF="../DM/DMPointLocationType.html#DMPointLocationType">DM_POINTLOCATION_REMOVE</A> returns values only for points
which were located.
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DM/DMLocatePoints.html#DMLocatePoints">DMLocatePoints</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/../../include/petscdmtypes.h.html#DMPointLocationType">src/dm/../../include/petscdmtypes.h</A>
<BR><A HREF="./index.html">Index of all DM routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|