Skip to content
A C++ programm which solves the discrete poisson equation with boundary condition
C++ JavaScript HTML CSS Other
Branch: master
Clone or download
Michael Bauer Michael Bauer
Michael Bauer and Michael Bauer Better Readme. Nicer structure.
Latest commit 5e2abab May 27, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
plot New way of BA. Mar 23, 2014
website Finished everythinggit add -A! :) Feb 16, 2014
IterativeMethodsForTheDiscretizedPoissonEquation.pdf Better Readme. Nicer structure. May 27, 2015 Better Readme. Nicer structure. May 27, 2015


This program solves the discrete poisson equation in the unit square in two dimensions.


1.) Download the source code

2.) Run the Makefile


1.) Execute ./poissonSolver program

2.) add three more command line arguments:

  • m: the parameter which specifies h = 1/m (you observer N = m - 1 grid points in x and y direction respectively)
  • x: the chosen algorithm (CG-Method, PCG-Method with incomplete LU decomposition, Jacobi-Method, Multigrid-Method)
  • k: the chose function -> default: laplace(u) = -4 in Omega and u(x) = x^2 + y^2 in the bound of Omega


1.) Please, visit and try the website!

You can’t perform that action at this time.