File: ksp_solving_a_linear_system.html

package info (click to toggle)
petsc 3.2.dfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 124,660 kB
  • sloc: ansic: 342,250; cpp: 62,975; python: 32,761; fortran: 17,337; makefile: 15,867; xml: 621; objc: 594; sh: 492; java: 381; f90: 347; csh: 245
file content (15 lines) | stat: -rw-r--r-- 639 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<title>KSP solving a linear system</title><body bgcolor="FFFFFF">
<h2>KSP solving a linear system</h2>
<menu>
<LI><A HREF="../../../src/ksp/ksp/examples/tests/ex30.c.html"><CONCEPT>ex30.c</CONCEPT></A>
<menu>
Reads a PETSc matrix and vector from a file and solves a linear system.<BR>It is copied and intended to move dirty codes from ksp/examples/tutorials/ex10.c and simplify ex10.c.<BR>
  Input parameters include<BR>
  -f0 &lt;input_file&gt; : first file to load (small system)<BR>
  -f1 &lt;input_file&gt; : second file to load (larger system)<BR>
  -trans  : solve transpose system instead<BR>
</menu>
</menu>
</body>
</html>