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

« back to all changes in this revision

Viewing changes to src/ksp/pc/examples/tests/index.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
<HTML>
 
2
<HEAD>
 
3
<TITLE>Preconditioners - PC</TITLE>
 
4
</HEAD>
 
5
<BODY BGCOLOR="FFFFFF">
 
6
 
 
7
<H2> Preconditioners - PC: <A HREF="../../../../../src/ksp/examples/tutorials/index.html">Examples</A></H2>
 
8
 
 
9
The
 
10
<A HREF="../../../../../docs/manualpages/KSP/index.html">Scalable Linear Equations Solvers (KSP)</A>
 
11
component provides an easy-to-use interface to the combination of
 
12
a Krylov subspace iterative method and a preconditioner (in the
 
13
<A HREF="../../../../../docs/manualpages/KSP/index.html">KSP</A> and PC
 
14
components, respectively) or a sequential direct solver.  
 
15
KSP users can set various preconditioning
 
16
options at runtime via the options database (e.g., 
 
17
<font face ="Courier">
 
18
-pc_type jacobi
 
19
</font face>
 
20
).  
 
21
KSP users can also set PC options directly in application
 
22
codes by first extracting the PC context from the KSP context via
 
23
<A HREF="../../../../../docs/manualpages/KSP/KSPGetPC.html">KSPGetPC()</A>
 
24
and then directly calling the PC routines listed below (e.g., 
 
25
<A HREF="../../../../../docs/manualpages/PC/PCSetType.html">PCSetType()</A>
 
26
).
 
27
PC components can be used directly to create and
 
28
destroy solvers; this is not needed for users but
 
29
is for library developers.
 
30
 
 
31
<P>
 
32
 
 
33
 
 
34
<p>
 
35
<a href="ex1.c.html">ex1.c: Tests the creation of a PC context</a><br>
 
36
<a href="ex2.c.html">ex2.c: Tests PC and KSP on a tridiagonal matrix</a><br>
 
37
<a href="ex3.c.html">ex3.c: Demonstrates the use of fast Richardson for SOR</a><br>
 
38
<a href="ex4.c.html">ex4.c: Demonstrates the use of fast Richardson for SOR</a><br>
 
39
<a href="ex5.c.html">ex5.c: Tests the multigrid code</a><br>
 
40
<a href="ex6.c.html">ex6.c: Creates a matrix using 9 pt stensil, and uses it to test MatIncreaseOverlap (needed for aditive schwarts preconditioner</a><br>
 
41
<a href="ex7.c.html">ex7.c: Tests MatILUFactorSymbolic() on matrix with missing diagonal</a><br>
 
42
 
 
43
<a href="makefile.html">makefile</a><br>