<html>
<title>KSP solving a linear system</title><body bgcolor="FFFFFF">
<div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>
<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 <input_file> : first file to load (small system)<BR>
-f1 <input_file> : second file to load (larger system)<BR>
-trans : solve transpose system instead<BR>
</menu>
</menu>
</body>
</html>
|