Inhaltsverzeichnis
HeatExample with PETSc
Heat Example
Discretization
From PDE to the linear difference equations system
Boundary conditions in the linear difference equations system
Matrix notation
Matrix notation, continued
Heat example: boundary and solution
Example with n=m=4, general boundary
Example with n=m=4, with solution & boundary u(x,y) := x
Solving heat equation with PETSc *)
Initialization of PETSc
Initialization of matrix A
Initialization of u, b, x
Initializing the values of b (and u)
Solving Ax=b
Printing the solution
Printing the solution via X Window
Check solution and clean up
Program start
Other Options
Runtime Script Example, I.
Runtime Script Example, II.
Runtime Script Example, III.
Output Example
Makefile
Installation
Customized installation
Customized installation
Example  /bmake/linux/packages
Example  /bmake/linux/packages
Summary
Practical
Results for heat_petsc (300x300) – time
PPTFolie

Autor:Rolf Rabenseifner
