Alternate Direct Iterative Method
Version 1.0.1 (2.11 KB) by
Rohith Warrier
ADI Solver script for 2D Poisson's equation of the form del^2(u) = S(x,y).
ADI Solver for 2D Poisson's equation of the form del^2(u) = S(x,y).
The solver uses Successive Over Relaxation (SOR) at each row/column sweep to solve u in that row/column. The descritzation equation used here to perform SOR update is
Column Sweep
[ApUp - w(AwUw + AeUe)]_k+1/2 = [ApUp(1-w) + w(AnUn + AsUs + S)]_k
Row Sweep
[ApUp - w(AnUn + AsUs)]_k+1 = [ApUp(1-w) + w(AeUe + S)]_k+1/2 + w[AwUw]_k+1
Cite As
Rohith Warrier (2026). Alternate Direct Iterative Method (https://in.mathworks.com/matlabcentral/fileexchange/107295-alternate-direct-iterative-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
