#
PETSc Help Index

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| AOData

| using an AOData database for grid information | Reads an AODatabase and displays the key and segment names

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| bags | sys/ex5.c

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| complex numbers | ksp/ex11f.F

| Solves a linear system in parallel with KSP

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| DA

| using distributed arrays | Bratu nonlinear PDE in 2d

| Bratu nonlinear PDE in 3d

| Grad-Shafranov solver for one dimensional CHI equilibrium

| Hall MHD with in two dimensions with time stepping and multigrid

| ksp/ex14f.F

| Nonlinear driven cavity with multigrid and pusedo timestepping 2d

| Nonlinear driven cavity with multigrid in 2d

| Nonlinear Radiative Transport PDE with multigrid in 2d

| Nonlinear Radiative Transport PDE with multigrid in 3d

| snes/ex25.c

| snes/ex5f.F

| snes/ex5f90.F

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| error handling

| using the macro __FUNCT__ to define routine names | Newton methods to solve u'' + u^{2} = f in parallel

| Using the macro __FUNCT__ to define routine names | Solves a linear system in parallel with KSP

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| Fortran90

| accessing indices in index set | vec/is/ex3f90.F

| accessing indices of index set | vec/is/ex1f90.F

| assembling vectors | vec/ex4f90.F

| using basic vector routines | vec/ex1f90.F

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| global to local mappings | Demonstrates using ISLocalToGlobalMappings

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| Helmholtz equation | Solves a linear system in parallel with KSP

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| index sets

| accessing indices from Fortran | vec/is/ex2f.F

| creating a block index set | Demonstrates creating a blocked index set

| creating a stride index set | Demonstrates creating a stride index set

| creating general | Creating a general index set

| manipulating a block index set | vec/is/ex3f90.F

| manipulating a general index set | Creating a general index set

| vec/is/ex1f.F

| vec/is/ex1f90.F

| manipulating a stride index set | vec/is/ex2f.F

| introduction to PETSc | Introductory example that illustrates printing

| Synchronized printing

| IS

| creating a block index set | Demonstrates creating a blocked index set

| creating a general index set | Creating a general index set

| creating a stride index set | Demonstrates creating a stride index set

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| KSP

| Additive Schwarz Method (ASM) with user-defined subdomains | Illustrates use of the preconditioner ASM

| basic parallel example | ksp/ex15f.F

| ksp/ex21f.F

| ksp/ex2f.F

| Solves a linear system in parallel with KSP

| Solves a tridiagonal linear system

| basic sequential example | ksp/ex13f90.F

| Solves a variable Poisson problem with KSP

| customizing the block Jacobi preconditioner | Block Jacobi preconditioner for solving a linear system in parallel with KSP

| different matrices for linear system and preconditioner | ksp/ex6f.F

| Uses a different preconditioner matrix and linear system matrix in the KSP solvers

| Laplacian, 2d | ksp/ex13f90.F

| Solves 2D inhomogeneous Laplacian using multigrid

| Solves a linear system in parallel with KSP

| Solves a sequence of linear systems with different right-hand-side vectors

| Solves a variable Poisson problem with KSP

| repeatedly solving linear systems | ksp/ex6f.F

| Solves a sequence of linear systems with different right-hand-side vectors

| Solves two linear systems in parallel with KSP

| The solution of 2 different linear systems with different linear solvers

| setting a user-defined monitoring routine | ksp/ex2f.F

| solving a Helmholtz equation | ksp/ex11f.F

| Solves a linear system in parallel with KSP

| solving a linear system | Reads a PETSc matrix and vector from a file and solves a linear system

| Reads a PETSc matrix and vector from a file and solves the normal equations

| solving a system of linear equations | ksp/ex1f.F

| Solves 2D inhomogeneous Laplacian using multigrid

| Solves a linear system in parallel with KSP

| Solves a tridiagonal linear system with KSP

| writing a user-defined nonlinear solver | ksp/ex14f.F

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| Laplacian, 2d | ksp/ex13f90.F

| Solves a linear system in parallel with KSP

| Solves a sequence of linear systems with different right-hand-side vectors

| Solves a variable Poisson problem with KSP

| local to global mappings | Demonstrates using ISLocalToGlobalMappings

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| Mat

| loading a binary matrix and vector | Reads a PETSc matrix and vector from a file and reorders it

| ordering a matrix - loading a binary matrix and vector | Reads a PETSc matrix and vector from a file and reorders it

| partitioning a matrix | Reads a a simple unstructured grid from a file

| mathematical functions | Demonstrates various vector routines

| Matrices

| inserting elements by blocks | Solves a linear system in parallel with KSP

| matrix-free methods | u`` + u^{2} = f

| multicomponent | Hall MHD with in two dimensions with time stepping and multigrid

| Nonlinear driven cavity with multigrid and pusedo timestepping 2d

| Nonlinear driven cavity with multigrid in 2d

| multigrid | Nonlinear Radiative Transport PDE with multigrid in 2d

| Nonlinear Radiative Transport PDE with multigrid in 3d

| snes/ex25.c

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| nonlinear problems | Solves the time dependent Bratu problem using pseudo-timestepping

| ts/ex1f.F

| Normal equations | Reads a PETSc matrix and vector from a file and solves the normal equations

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| PC

| registering preconditioners | Solves a linear system in parallel with KSP

| setting a user-defined shell preconditioner | ksp/ex15f.F

| ksp/ex21f.F

| Solves a linear system in parallel with KSP

| PetscLog

| activating/deactivating events for profiling | Augmenting PETSc profiling by add events

| activating/deactivating events for profiling (basic example) | sys/ex3f.F

| preloading executable | Reads a PETSc matrix and vector from a file and reorders it

| profiling multiple stages of code | Solves two linear systems in parallel with KSP

| The solution of 2 different linear systems with different linear solvers

| user-defined event profiling | Augmenting PETSc profiling by add events

| The solution of 2 different linear systems with different linear solvers

| user-defined event profiling (basic example) | sys/ex3f.F

| printf

| in parallel | Synchronized printing

| synchronized | Synchronized printing

| printing

| in parallel | Introductory example that illustrates printing

| Synchronized printing

| synchronized | Synchronized printing

| profiling

| activating/deactivating events | Augmenting PETSc profiling by add events

| user-defined event | Augmenting PETSc profiling by add events

| pseudo-timestepping | Solves the time dependent Bratu problem using pseudo-timestepping

| ts/ex1f.F

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| shared memory | 2d Bratu problem in shared memory parallel with SNES

| SNES

| basic parallel example | Newton methods to solve u'' + u^{2} = f in parallel

| basic uniprocessor example | Newton method to solve u'' + u^{2} = f, sequentially

| Newton's method to solve a two-variable system, sequentially

| snes/ex1f.F

| different matrices for the Jacobian and preconditioner | u`` + u^{2} = f

| matrix-free methods | u`` + u^{2} = f

| parallel Bratu example | 2d Bratu problem in shared memory parallel with SNES

| Bratu nonlinear PDE in 2d

| Bratu nonlinear PDE in 3d

| snes/ex5f.F

| snes/ex5f90.F

| parallel CHI equilibrium | Grad-Shafranov solver for one dimensional CHI equilibrium

| setting a user-defined monitoring routine | Newton method to solve u'' + u^{2} = f, sequentially

| Newton methods to solve u'' + u^{2} = f in parallel

| solving a system of nonlinear equations | Nonlinear Radiative Transport PDE with multigrid in 2d

| Nonlinear Radiative Transport PDE with multigrid in 3d

| snes/ex25.c

| solving a system of nonlinear equations (parallel multicomponent example) | Hall MHD with in two dimensions with time stepping and multigrid

| Nonlinear driven cavity with multigrid and pusedo timestepping 2d

| Nonlinear driven cavity with multigrid in 2d

| user-provided preconditioner | u`` + u^{2} = f

| stride

| creating a stride index set | Demonstrates creating a stride index set

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| TS

| diffusion equation | Solves a simple time-dependent linear PDE (the heat equation)

| heat equation | Solves a simple time-dependent linear PDE (the heat equation)

| pseudo-timestepping | Solves the time dependent Bratu problem using pseudo-timestepping

| ts/ex1f.F

| time-dependent linear problems | Solves a simple time-dependent linear PDE (the heat equation)

| time-dependent nonlinear problems | Solves a time-dependent nonlinear PDE

| ts/ex2f.F

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| user-provided preconditioner | u`` + u^{2} = f

###
| A | B | C | D | E | F | G | H | I | K | L | M | N | P | S | T | U | V |

| vectors

| arrays | vec/ex4f90.F

| arrays of vectors | vec/ex4f.F

| assembling | vec/ex2f.F

| vec/ex4f.F

| assembling vectors | Builds a parallel vector with 1 component on the firstprocessor, 2 on the second, etc

| Demonstrates use of VecCreateGhost()

| Tests PetscObjectPublish()

| vec/ex14f.F

| vec/ex4f90.F

| vec/ex9f.F

| assembling vectors with local ordering | Demonstrates using a local ordering to set values into a parallel vector

| basic routines | Basic vector routines

| Demonstrates the AMS Memory Snooper viewing

| Demonstrates various vector routines

| vec/ex1f.F

| drawing vectors | Parallel vector layout

| vec/ex3f.F

| ghost padding | Demonstrates use of VecCreateGhost()

| vec/ex14f.F

| vec/ex9f.F

| local access to | Parallel vector layout

| norms of sub-vectors | Demonstrates VecStrideNorm()

| vec/ex11f.F

| setting values | Parallel vector layout

| sub-vectors | Demonstrates VecStrideScatter() and VecStrideGather()

| Demonstrates VecStrideScatter() and VecStrideGather() with subvectors that are also strided

| using basic vector routines | vec/ex1f90.F

| Vectors

| loading a binary vector | Reads a PETSc matrix and vector from a file and reorders it