Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 673 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 673 Bytes

poisson

This program will perform an iterative calculation of the 2D poisson equation using Jacobis's method. It outputs two data files potential.dat and field.dat. Two python scripts are provided for visualising the potential and field (plot.py) and for calculating and plotting an analytical approximation.

Usage

A Makefile is provided using the mpicc compiler which outputs a poisson binary.

The python scripts require the matplotlib and numpy library.

A normal run would lool like the following:

$ make
$ mpirun -np 2 ./poisson
$ python plot.py

Author

Sebastian Potthoff: [email protected]

University of Warwick, April 2016