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 32 33 34 35 36 37 38 39 40 41 42
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/PetscSF/PetscSFType.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscSFType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.7.5 2017-01-01</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.7.5 v3.7.5 docs/manualpages/PetscSF/PetscSFType.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscSFType"><H1>PetscSFType</H1></A>
String with the name of a <A HREF="../PetscSF/PetscSF.html#PetscSF">PetscSF</A> method or the creation function with an optional dynamic library name, for example http://www.mcs.anl.gov/petsc/lib.so:mysfcreate()
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
typedef const char *<A HREF="../PetscSF/PetscSFType.html#PetscSFType">PetscSFType</A>;
#define PETSCSFBASIC "basic"
#define PETSCSFWINDOW "window"
</PRE>
<P>
Notes: The two approaches provided are
<pre>
PETSCSFBASIC which uses MPI 1 message passing to perform the communication and
</pre>
<pre>
PETSCSFWINDOW which uses MPI 2 one-sided operations to perform the communication, this may be more efficient,
</pre>
<pre>
but may not be available for all MPI distributions. In particular OpenMPI has bugs in its one-sided
</pre>
<pre>
operations that prevent its use.
</pre>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../PetscSF/PetscSFSetType.html#PetscSFSetType">PetscSFSetType</A>(), <A HREF="../PetscSF/PetscSF.html#PetscSF">PetscSF</A>
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>beginner
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/vec/is/sf/../../../../include/petscsf.h.html#PetscSFType">src/vec/is/sf/../../../../include/petscsf.h</A>
<BR><A HREF="./index.html">Index of all PetscSF 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>
|