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 43 44 45 46 47 48 49 50 51 52 53 54
|
<!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/PetscPartitionerSetFromOptions.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscPartitionerSetFromOptions</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/PetscPartitionerSetFromOptions.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscPartitionerSetFromOptions"><H1>PetscPartitionerSetFromOptions</H1></A>
sets parameters in a <A HREF="../DM/PetscPartitioner.html#PetscPartitioner">PetscPartitioner</A> from the options database
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscpartitioner.h"
<A HREF="../Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../DM/PetscPartitionerSetFromOptions.html#PetscPartitionerSetFromOptions">PetscPartitionerSetFromOptions</A>(<A HREF="../DM/PetscPartitioner.html#PetscPartitioner">PetscPartitioner</A> part)
</PRE>
Collective on <A HREF="../DM/PetscPartitioner.html#PetscPartitioner">PetscPartitioner</A>
<P>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>part </B></TD><TD>- the <A HREF="../DM/PetscPartitioner.html#PetscPartitioner">PetscPartitioner</A> object to set options for
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Options Database Keys</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-petscpartitioner_type <type> </B></TD><TD>- Sets the <A HREF="../DM/PetscPartitioner.html#PetscPartitioner">PetscPartitioner</A> type; use -help for a list of available types
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-petscpartitioner_use_vertex_weights </B></TD><TD>- Uses weights associated with the graph vertices
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>-petscpartitioner_view_graph </B></TD><TD>- View the graph each time <A HREF="../DM/PetscPartitionerPartition.html#PetscPartitionerPartition">PetscPartitionerPartition</A> is called. Viewer can be customized, see <A HREF="../Viewer/PetscOptionsGetViewer.html#PetscOptionsGetViewer">PetscOptionsGetViewer</A>()
</TD></TR></TABLE>
<P>
<P>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../DM/PetscPartitionerView.html#PetscPartitionerView">PetscPartitionerView</A>(), <A HREF="../DM/PetscPartitionerSetType.html#PetscPartitionerSetType">PetscPartitionerSetType</A>(), <A HREF="../DM/PetscPartitionerPartition.html#PetscPartitionerPartition">PetscPartitionerPartition</A>()
<BR><P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>developer<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/dm/partitioner/interface/partitioner.c.html#PetscPartitionerSetFromOptions">src/dm/partitioner/interface/partitioner.c</A>
<P><H3><FONT COLOR="#CC3333">Examples</FONT></H3>
<A HREF="../../../src/dm/impls/plex/tutorials/ex5.c.html">src/dm/impls/plex/tutorials/ex5.c.html</A><BR>
<A HREF="../../../src/dm/impls/plex/tutorials/ex7.c.html">src/dm/impls/plex/tutorials/ex7.c.html</A><BR>
<A HREF="../../../src/snes/tutorials/ex12.c.html">src/snes/tutorials/ex12.c.html</A><BR>
<A HREF="../../../src/snes/tutorials/ex17.c.html">src/snes/tutorials/ex17.c.html</A><BR>
<A HREF="../../../src/snes/tutorials/ex56.c.html">src/snes/tutorials/ex56.c.html</A><BR>
<A HREF="../../../src/snes/tutorials/ex77.c.html">src/snes/tutorials/ex77.c.html</A><BR>
<P><H3><FONT COLOR="CC3333">Implementations</FONT></H3><A HREF="../../../src/dm/partitioner/impls/matpart/partmatpart.c.html#PetscPartitionerSetFromOptions_MatPartitioning">PetscPartitionerSetFromOptions_MatPartitioning in src/dm/partitioner/impls/matpart/partmatpart.c</A><BR>
<A HREF="../../../src/dm/partitioner/impls/parmetis/partparmetis.c.html#PetscPartitionerSetFromOptions_ParMetis">PetscPartitionerSetFromOptions_ParMetis in src/dm/partitioner/impls/parmetis/partparmetis.c</A><BR>
<A HREF="../../../src/dm/partitioner/impls/ptscotch/partptscotch.c.html#PetscPartitionerSetFromOptions_PTScotch">PetscPartitionerSetFromOptions_PTScotch in src/dm/partitioner/impls/ptscotch/partptscotch.c</A><BR>
<A HREF="../../../src/dm/partitioner/impls/shell/partshell.c.html#PetscPartitionerSetFromOptions_Shell">PetscPartitionerSetFromOptions_Shell in src/dm/partitioner/impls/shell/partshell.c</A><BR>
<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>
|