petsc-3.13.6 2020-09-29
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/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