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

« back to all changes in this revision

Viewing changes to src/sles/interface/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>Linear Solvers - SLES</TITLE>
4
 
</HEAD>
5
 
<BODY BGCOLOR="FFFFFF">
6
 
 
7
 
<H2>Linear Solvers - SLES: <A HREF="../../../src/sles/examples/tutorials/index.html">Examples</A></H2>
8
 
 
9
 
The Scalable Linear Equations Solvers (SLES)
10
 
component provides an easy-to-use interface to the combination of
11
 
a Krylov subspace iterative method and a preconditioner (in the
12
 
<A HREF="../../../docs/manualpages/KSP/index.html">KSP</A> and 
13
 
<A HREF="../../../docs/manualpages/PC/index.html">PC</A> 
14
 
components, respectively) or a sequential direct solver. 
15
 
SLES users can set various Krylov
16
 
and preconditioning options at runtime via the options database (e.g., 
17
 
<font face ="Courier">
18
 
-pc_type jacobi -ksp_type gmres
19
 
</font face>
20
 
).  
21
 
SLES users can also set KSP and PC options directly in application
22
 
codes by first extracting the KSP and/or PC context from the SLES context via
23
 
<A HREF="../../../docs/manualpages/SLES/SLESGetKSP.html">SLESGetKSP()</A>/
24
 
<A HREF="../../../docs/manualpages/SLES/SLESGetPC.html">SLESGetPC()</A>
25
 
and then directly calling the KSP and PC routines (e.g., 
26
 
<A HREF="../../../docs/manualpages/KSP/KSPSetType.html">KSPSetType()</A>/
27
 
<A HREF="../../../docs/manualpages/PC/PCSetType.html">PCSetType()</A>
28
 
).
29
 
Both KSP and PC components can be used directly to create and
30
 
destroy solvers; this is not needed for users but
31
 
is intended for library developers.
32
 
 
33
 
<P>
34
 
 
35
 
 
36
 
<p>
37
 
 
38
 
<a href="sles.c.html">sles.c</a><br>
39
 
 
40
 
<a href="makefile.html">makefile</a><br>