Skip to content

seb45tian/poisson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Coursework for CY901, Assignment 6 - Poisson

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published