petsc-3.3-p7 2013-05-11

Matrices Mat: : Examples

PETSc matrices (Mat objects) are used to store Jacobians and other sparse matrices in PDE-based (or other) simulations.

ex1.c: Reads a PETSc matrix and vector from a file and reorders it
ex2.c:
ex4.c: Reads U and V matrices from a file and performs y = V*U'*x
ex5.c:
ex8.c: Shows how to add a new MatOperation to AIJ MatType\n\n
ex9.c: Tests MatCreateComposite()\n\n
ex10.c: Reads a PETSc matrix and computes the 2 norm of the columns\n\n
ex11.c: Tests MatMeshToDual()\n\n
ex12.c: Reads a PETSc matrix and vector from a file appends the vector the matrix\n\n
ex13.c: Test MatFwkAIJ: a block matrix with an AIJ-like datastructure keeping track of nonzero blocks
ex14.c: Tests basic assembly of MATIJ using the edges of a 2d parallel DA
ex15.c: Example of using graph partitioning to segment an image\n\n
ex16.c: Reads a matrix from PETSc binary file
ex17.c: Example of using graph partitioning with a matrix in which some procs have empty ownership\n\n
makefile