PETSc in a nutshell#
See Tutorials, by Mathematical Problem to immediately jump in and run PETSc code.
PETSc/TAO is a tool for writing, analyzing, and optimizing large-scale numerical simulations.
Algebraic objects#
Solvers#
Linear solvers based on preconditioners (
PC
) and Krylov subspace methods (KSP
).Time integrators, (ODE/PDE), explicit, implicit, IMEX, (
TS
)Local and global error estimators
Optimization with equality and inequality constraints, first and second order (Newton) methods (
Tao
).Eigenvalue/Eigenvectors and related algorithms in the package SLEPc.
Model/Discretization Interfaces to Solvers#
Simple structured grids,
DMDA
.Staggered grids, DMSTAG: Staggered, Structured Grid,
DMSTAG
.Unstructured grids, DMPlex: Unstructured Grids,
DMPLEX
.Networks/graphs, for example the power grid, river networks, the nervous system, Networks,
DMNETWORK
.Quad or octree grids,
DMFOREST
.Particles,
DMSWARM
.
See also
For full feature list see:
Utilities for Simulations/Solvers#
Runtime
control of the simulation, Runtime Options
visualization of the solvers and simulation, Viewers: Looking at PETSc Objects,
monitoring of solution progress,
Profiling of the performance,
robust Error Handling.