petsc-3.5.4 2015-05-23
Report Typos and Errors
KSP solving a linear system
ex30.c
Reads a PETSc matrix and vector from a file and solves a linear system.
It is copied and intended to move dirty codes from ksp/examples/tutorials/ex10.c and simplify ex10.c.
Input parameters include
-f0 <input_file> : first file to load (small system)
-f1 <input_file> : second file to load (larger system)
-trans : solve transpose system instead