xref: /petsc/doc/tutorials/index.md (revision 7ab0661e7bf890d52e64979ba468952a11c5843a)
1*aa9a5b67SBarry Smith# Tutorials
2*aa9a5b67SBarry Smith
3*aa9a5b67SBarry SmithThis page provides connections to PETSc tutorial examples by type of physics being modeled,
4*aa9a5b67SBarry Smithdiscretization technique being used, solvers used, etc.
5*aa9a5b67SBarry Smith
6*aa9a5b67SBarry Smith```{toctree}
7*aa9a5b67SBarry Smith:maxdepth: 2
8*aa9a5b67SBarry Smith
9*aa9a5b67SBarry Smithguide_to_examples_by_physics
10*aa9a5b67SBarry Smithhandson
11*aa9a5b67SBarry Smithmeshing/guide_to_subsurface
12*aa9a5b67SBarry Smithperformance/guide_to_TAS
13*aa9a5b67SBarry Smithin_person
14*aa9a5b67SBarry Smith```
15*aa9a5b67SBarry Smith
16*aa9a5b67SBarry SmithIn addition, PETSc has many additionally poorly curated tutorial examples, found in the `tutorials/`
17*aa9a5b67SBarry Smithdirectories throughout the PETSc `src/` tree.
18*aa9a5b67SBarry Smith
19*aa9a5b67SBarry Smith- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/index.html">Linear problems</a>
20*aa9a5b67SBarry Smith
21*aa9a5b67SBarry Smith- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/snes/tutorials/index.html">Nonlinear problems</a>
22*aa9a5b67SBarry Smith
23*aa9a5b67SBarry Smith- <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ts/tutorials/index.html">Time integration</a>
24*aa9a5b67SBarry Smith
25*aa9a5b67SBarry Smith- Optimization
26*aa9a5b67SBarry Smith
27*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/leastsquares/tutorials/index.html">Least-squares</a> (Manual: {any}`sec_tao_leastsquares`)
28*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/quadratic/tutorials/index.html">Quadratic</a> (Manual: {any}`sec_tao_quadratic`)
29*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/unconstrained/tutorials/index.html">Unconstrained</a> (Manual: {any}`sec_tao_unconstrained`)
30*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/bound/tutorials/index.html">Bound</a> (Manual: {any}`sec_tao_bound`)
31*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/constrained/tutorials/index.html">Constrained</a> (Manual: {any}`sec_tao_constrained`)
32*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/complementarity/tutorials/index.html">Complementarity</a> (Manual: {any}`sec_tao_complementary`)
33*aa9a5b67SBarry Smith  - <a href="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/tao/pde_constrained/tutorials/index.html">PDE constrained</a> (Manual: {any}`sec_tao_pde_constrained`)n
34