Here is the source code for the parallel implementation of the Jacobi method applied to the Hemholtz equation.