PETSc in a nutshell¶
PETSc/TAO is a tool for writing, analyzing, and optimizing properties of large-scale numerical simulations.
Algebraic objects¶
Solvers¶
PC
preconditioners - approximate solvers to algebra systems without a history of previous iterationsKSP
Krylov Subspace methods - approximate solvers with a history of previous iterationsSNES
nolinear equation solversTS
time integrators (ODE/PDE), explicit, implicit, local and global error estimatorsTSAdjoint
derivatives/sensitivities of functions of ODE/PDE integration solutionsTAO
- optimization, with equality and inequality constraints, first and second order (Newton) methods
Connectors of continuum models, meshes, and discretizations to solvers and algebraic objects¶
DMDA
- for simulations computed on simple structured gridsDMSTAG
- for simulations computed on staggered gridsDMPLEX
- for simulation computed on unstructured meshesDMNETWORK
- for simulations on networks or graphs, for example the power grid, river networks, the nervous systemDMP4EST
- for simulations on collections of quad or octree meshesDMSWARM
- for simulations on particles
Utilities¶
PetscOptions
- control of discretization and solution processPetscViewer
- visualizing algebraic objects, solvers, connectorsMonitor - monitoring of solution progress
Profiling
- profiling of the performance of the simulation solution process