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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscMapSetType</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<A NAME="PetscMapSetType"><H1>PetscMapSetType</H1></A>
Builds a map, for a particular map implementation.
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#include "petscvec.h"
int PetscMapSetType(PetscMap map, PetscMapType method)
</PRE>
Collective on <A HREF="../Vec/PetscMap.html#PetscMap">PetscMap</A>
<P>
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>map </B></TD><TD>- The <A HREF="../Vec/PetscMap.html#PetscMap">PetscMap</A> object
</TD></TR>
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>method </B></TD><TD>- The name of the map type
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Options Database Command</FONT></H3>
<DT><B>-map_type <method> </B> -Sets the method; use -help for a list
of available methods (for instance, mpi)
<br>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
See "petsc/include/vec.h" for available vector types (for instance, MAPMPI).
<P>
<P>
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
map, set, type
<BR>
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
<A HREF="../Vec/PetscMapGetType.html#PetscMapGetType">PetscMapGetType</A>(), <A HREF="../Vec/PetscMapCreate.html#PetscMapCreate">PetscMapCreate</A>()
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>intermediate
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/vec/interface/mapreg.c.html#PetscMapSetType">src/vec/interface/mapreg.c</A>
<BR><A HREF="./index.html">Index of all Vec 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>
|