Sparse Linear Systems Solver With SOR

Αυγούστου 5, 2008

This is a very simple Pascal program I wrote in mid 1990s, which solves a sparse NxN linear system using the Succesive Overrelaxation Method (SOR), which in turn is based on Gauss Seidel Method. Both methods are iterative. N is initially set at maximum …64. You need the W factor for the SOR to complete [...]

0

Tridiagonal Linear System Solver

Αυγούστου 5, 2008

This Pascal program is usefull in solving large tridiagonal linear systems. An example is the systems emerging from numerically integrating parabolic PDE’s by Finite Differences method. It was ported to Turbo Pascal from a Fortran 77 program. Its usage is very simple. All you have to do is to enter dimension of the system and [...]

0