C/Fortran API#
The manual pages are split into four categories; we recommend beginning with basic functionality and then gradually exploring more sophisticated library features. See PETSc for Fortran Users for API differences.
- Beginner - Basic usage 
- Intermediate - Setting options for algorithms and data structures 
- Advanced - Setting more advanced options and customization 
- Developer - Interfaces intended primarily for library developers 
- Vectors and Index Sets
- Matrices and Matrix Operations
- Data Layout and Communication
- Data Management between Vec and Mat, and Distributed Mesh Data Structures- Data Management (DM)
- Structured Grids (DMDA)
- Staggered, Structured Grids (DMSTAG)
- Unstructured Grids and Cell Complexes (DMPLEX)
- Graphs and Networks (DMNETWORK)
- A Forest of Trees and Structured Adaptive Refinement (DMFOREST)
- Sequences of parallel mesh patches (DMPATCH)
- Particle Discretizations (DMSWARM)
- MOAB Mesh Representation (DMMOAB)
- Selecting Parts of Meshes (DMLabel)
- Tensor products of meshes (DMRODUCT)
 
- Discretization and Function Spaces
- Linear Solvers and Preconditioners
- Nonlinear Solvers
- Forward and Adjoint Timestepping
- Optimization
- Graphics and Visualization
- System Routines, Profiling, Data Structures
- Changes for each release
- Single Index of all PETSc Manual Pages