~ubuntu-branches/ubuntu/warty/petsc/warty

« back to all changes in this revision

Viewing changes to docs/manualpages/MatOrderings/MatColoringRegisterDynamic.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2004-06-07 13:41:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040607134143-92p586zrauvie0le
Tags: 2.2.0-2
* Upstream patch level 2.
* New PETSC_BOPT_EXTRA option for different BOPT and lib names, with _c++
  symlinks only for plain and single (closes: #249617).
* New DEBIAN_DIST=contrib option to link with hypre, parmetis (closes:
  #249619).
* Combined petsc-c and petsc-fortran substvars into petsc-compilers.
* Extra quote in -dev prerm eliminates "too many arguments" problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
2
 
<HTML>
3
 
<HEAD>
4
 
<META NAME="GENERATOR" CONTENT="DOCTEXT">
5
 
<TITLE>MatColoringRegisterDynamic</TITLE>
6
 
</HEAD>
7
 
<BODY BGCOLOR="FFFFFF">
8
 
<A NAME="MatColoringRegisterDynamic"><H1>MatColoringRegisterDynamic</H1></A>
9
 
Adds a new sparse matrix coloring to the  matrix package.  
10
 
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
11
 
<PRE>
12
 
int MatColoringRegisterDynamic(char *name_coloring,char *path,char *name_create,int (*routine_create)(MatColoring))
13
 
</PRE>
14
 
Not Collective
15
 
<P>
16
 
<H3><FONT COLOR="#CC3333">Input Parameters</FONT></H3>
17
 
<TABLE border="0" cellpadding="0" cellspacing="0">
18
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>sname </B></TD><TD>- name of Coloring (for example MATCOLORING_SL)
19
 
</TD></TR>
20
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>path </B></TD><TD>- location of library where creation routine is 
21
 
</TD></TR>
22
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>name </B></TD><TD>- name of function that creates the Coloring type, a string
23
 
</TD></TR>
24
 
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>function </B></TD><TD>- function pointer that creates the coloring
25
 
</TD></TR></TABLE>
26
 
<P>
27
 
 
28
 
<P>
29
 
If dynamic libraries are used, then the fourth input argument (function)
30
 
is ignored.
31
 
<P>
32
 
<H3><FONT COLOR="#CC3333">Sample usage</FONT></H3>
33
 
<PRE>
34
 
   <A HREF="../MatOrderings/MatColoringRegisterDynamic.html#MatColoringRegisterDynamic">MatColoringRegisterDynamic</A>("my_color",/home/username/my_lib/lib/libO/solaris/mylib.a,
35
 
               "MyColor",MyColor);
36
 
</PRE>
37
 
 
38
 
<P>
39
 
Then, your partitioner can be chosen with the procedural interface via
40
 
<pre>
41
 
    MatColoringSetType(part,"my_color")
42
 
</pre>
43
 
or at runtime via the option
44
 
<pre>
45
 
    -mat_coloring_type my_color
46
 
</pre>
47
 
<P>
48
 
$PETSC_ARCH and $BOPT occuring in pathname will be replaced with appropriate values.
49
 
<P>
50
 
<H3><FONT COLOR="#CC3333">Keywords</FONT></H3>
51
 
 matrix, Coloring, register
52
 
<BR>
53
 
<P>
54
 
<H3><FONT COLOR="#CC3333">See Also</FONT></H3>
55
 
 <A HREF="../MatOrderings/MatColoringRegisterDestroy.html#MatColoringRegisterDestroy">MatColoringRegisterDestroy</A>(), <A HREF="../MatOrderings/MatColoringRegisterAll.html#MatColoringRegisterAll">MatColoringRegisterAll</A>()
56
 
<BR><P><B><P><B><FONT COLOR="#CC3333">Level:</FONT></B>developer
57
 
<BR><FONT COLOR="#CC3333">Location:</FONT></B><A HREF="../../../src/mat/color/color.c.html#MatColoringRegisterDynamic">src/mat/color/color.c</A>
58
 
<BR><A HREF="./index.html">Index of all MatOrderings routines</A>
59
 
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
60
 
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
61
 
</BODY></HTML>