ex1.c: Solves a tridiagonal linear system with KSP

ex2.c: Solves a linear system in parallel with KSP

ex3.c: Bilinear elements on the unit square for Laplacian

ex4.c: Test MatSetValuesBatch: setting batches of elements using the GPU

ex5.c: Solves two linear systems in parallel with KSP

ex7.c: Block Jacobi preconditioner for solving a linear system in parallel with KSP

ex8.c: Illustrates use of the preconditioner ASM

ex8g.c: Illustrates use of the preconditioner GASM

ex9.c: The solution of 2 different linear systems with different linear solvers

ex10.c: Reads a PETSc matrix and vector from a file and solves a linear system

ex11.c: Solves a linear system in parallel with KSP

ex12.c: Solves a linear system in parallel with KSP

ex13.c: Solves a variable Poisson problem with KSP

ex15.c: Solves a linear system in parallel with KSP

ex16.c: Solves a sequence of linear systems with different right-hand-side vectors

ex18.c: Solves a (permuted) linear system in parallel with KSP

ex23.c: Solves a tridiagonal linear system

ex25.c: Solves 1D variable coefficient Laplacian using multigrid

ex27.c: Reads a PETSc matrix and vector from a file and solves the normal equations

ex28.c: Solves 1D wave equation using multigrid

ex29.c: Solves 2D inhomogeneous Laplacian using multigrid

ex30.c: * Example code testing SeqDense matrices with an LDA (leading dimension of the user-allocated arrray) larger than M

ex31.c: Solves 2D compressible Euler using multigrid

ex32.c: Solves 2D inhomogeneous Laplacian using multigrid

ex34.c: Solves 3D Laplacian using multigrid

ex38.c: Tests the aSA multigrid code

ex39.c: Lattice Gauge 2D model

ex40.c: Lattice Gauge 2D model

ex41.c: Reads a PETSc matrix and vector from a socket connection, solves a linear system and sends the result back

ex42.c: Solves the incompressible, variable viscosity stokes equation in 3d using Q1Q1 elements, \n\

ex43.c: Solves the incompressible, variable viscosity stokes equation in 2d on the unit domain \n\

ex45.c: Solves 3D Laplacian using multigrid

ex46.c: Solves a linear system in parallel with KSP and DM

ex49.c: Solves the compressible plane strain elasticity equations in 2d on the unit domain using Q1 finite elements

ex50.c: Solves 2D Poisson equation using multigrid

ex51.c: This example solves a linear system in parallel with KSP

ex52.c: Solves a linear system in parallel with KSP

ex53.c: Solves a tridiagonal linear system with KSP

ex54.c: Creates a matrix from quadrilateral finite elements in 2D, Laplacian \n\

ex55.c: 2D, bi-linear quadrilateral (Q1), displacement finite element formulation\n\

ex56.c: 3D, bi-linear quadrilateral (Q1), displacement finite element formulation\n\

ex58.c: Solves a tridiagonal linear system with KSP

makefile