Computational Physics, Physics, Math, Python.
continues to iteratively apply the relaxation scheme until the difference between two successive iterations is small enough. To compare two successive potential fields, a good option is to use the L2 norm of the difference. It’s defined as But there’s one flaw with this formula. We are summing the