Examples
ex15f.F90:
ex18.h:
ex2.c: testing SeqDense matrices with an LDA (leading dimension of the user-allocated array) larger than M.
ex20f.F90:
ex18cu.cu:
ex11.c: Tests MatMeshToDual()
ex12.c: Reads a PETSc matrix and vector from a file; expands the matrix with the vector
ex17.c: Example of using graph partitioning with a matrix in which some procs have empty ownership
ex18.c: Demonstrates the use of the COO interface to PETSc matrices for finite element computations
ex17f.F90:
ex7.c: Example use of PetscInfo() as a configurable informative logging or warning tool
ex16.c: Reads a matrix from PETSc binary file. Use for view or investigating matrix data structure.
ex15.c: Example of using graph partitioning to partition a graph
ex9.c: Tests MatCreateComposite()
ex4f.F90:
ex4.c:
ex6f.F90:
ex18kok.kokkos.cxx:
ex1.c: Reads a PETSc matrix and vector from a file and reorders it.
ex19.c: Test MatCreateDenseFromVecType()
ex10.c: Reads a PETSc matrix and computes the 2 norm of the columns
ex8.c: Shows how to add a new MatOperation to AIJ MatType
ex3.c: Illustration of MatIS using a 1D Laplacian assembly