PETSc in a nutshell#

PETSc/TAO is a tool for writing, analyzing, and optimizing properties of large-scale numerical simulations.

PETSc Structure Diagram

Algebraic objects#

  • Vectors - containers for simulation solutions, right hand sides of linear systems, etc (Vec).

  • Matrices - contain Jacobians and operators that define linear systems (Mat).

  • Indices - used to access portions of vectors and matrix, for example {1,2,4} or 1:10 (IS).


See also

For full feature list and prerequisites see:

DM: Interfacing Solvers to Models/Discretizations#

Utilities for the Simulation/Solver Process#