Relaxation Method for Partial Differential Equations

relax(A, B, C, D, E, S, U, rjac)
multigrid(M, ncycle)

Return a square matrix in which an element's location in the matrix corresponds to its location within a square region, and an element's value approximates the solution to Poisson's PDE

Poisson's PDE

at that point. The relax function solves Poisson's Equation using modified Gauss-Seidel with successive overrelaxation over the grid. The multigrid function solves for the special case where all boundary conditions in U are zero, using the multigrid method.

Arguments:

Notes:

QuickSheet

Related Topics