PETSc Tutorial PETSc Team Presented by Matthew Knepley Mathematics and Computer Science Division Argonne National Laboratory First Latin-American SCAT Workshop and Summer School Universidad T´ecnica Federico Santa Mar´ıa January 10, 2007 M. Knepley (ANL) Tutorial SCAT ’07 1 / 112Disclaimer This PETSc Tutorial is still New! M. Knepley (ANL) Tutorial SCAT ’07 2 / 112Linear and Finite Difference and Finite Element Structured and Unstructured Triangles and Optimal Solvers Items in red not finished for tutorial Tutorial Goal Enable students to develop new simulations with PETSc. Serial and Parallel M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Finite Difference and Finite Element Structured and Unstructured Triangles and Optimal Solvers Items in red not finished for tutorial Tutorial Goal Enable students to develop new simulations with PETSc. Serial and Parallel Linear and Nonlinear M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Structured and Unstructured Triangles and Optimal Solvers Items in red not finished for tutorial Tutorial Goal Enable students to develop new simulations with PETSc. Serial and Parallel Linear and Nonlinear Finite Difference and Finite Element M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Triangles and Optimal Solvers Items in red not finished for tutorial Tutorial Goal Enable students to develop new simulations with PETSc. Serial and Parallel Linear and Nonlinear Finite Difference and Finite Element Structured and Unstructured M. Knepley (ANL) Tutorial SCAT ’07 3 / ...
PETSc Tutorial
PETSc Team
Presented by Matthew Knepley
Mathematics and Computer Science Division
Argonne National Laboratory
First Latin-American SCAT Workshop and Summer School
Universidad T´ecnica Federico Santa Mar´ıa
January 10, 2007
M. Knepley (ANL) Tutorial SCAT ’07 1 / 112Disclaimer
This PETSc Tutorial is still New!
M. Knepley (ANL) Tutorial SCAT ’07 2 / 112Linear and
Finite Difference and Finite Element
Structured and Unstructured
Triangles and
Optimal Solvers
Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Finite Difference and Finite Element
Structured and Unstructured
Triangles and
Optimal Solvers
Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Structured and Unstructured
Triangles and
Optimal Solvers
Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
Finite Difference and Finite Element
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Triangles and
Optimal Solvers
Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
Finite Difference and Finite Element
Structured and Unstructured
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Optimal Solvers
Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
Finite Difference and Finite Element
Structured and Unstructured
Triangles and Hexes
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Items in red not finished for tutorial
Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
Finite Difference and Finite Element
Structured and Unstructured
Triangles and Hexes
Optimal Solvers
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Tutorial Goal
Enable students to develop new simulations with
PETSc.
Serial and Parallel
Linear and Nonlinear
Finite Difference and Finite Element
Structured and Unstructured
Triangles and Hexes
Optimal Solvers
Items in red not finished for tutorial
M. Knepley (ANL) Tutorial SCAT ’07 3 / 112Outline
1 A Minimal PETSc Application
2 Creating a Simple 2D Mesh
3 Mesh Functions
4 Mesh Operators
5 Systems of Equations
6 Boundary Conditions
7 Higher Dimensions
8 Optimal Solvers
9 Unfinished Business
M. Knepley (ANL) Tutorial SCAT ’07 4 / 112