PETSc in a nutshell#
See Hands-On 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
).The package SLEPc provides highly scalable and efficient eigenvalue and related algorithms for PETSc.
DM: Model/Discretization Interface to Solvers#
DMDA
- for simulations computed on simple structured gridsDMSTAG: Staggered, Structured Grids in PETSc - for simulations computed on staggered grids, (
DMSTAG
)DMPlex: Unstructured Grids in PETSc - for simulations computed on unstructured meshes, (
DMPLEX
)Networks - for simulations on networks or graphs, for example the power grid, river networks, the nervous system, (
DMNETWORK
)DMFOREST
- for simulations on collections of quad or octree meshesDMSWARM
- for simulations on particles
See also
For full feature list and prerequisites 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.