openpixi/openpixi — pull request #22 by kstrel (2012-05-24 15:28:43+00:00)
Title: PoissonSolver implementation

The following has been changed:

* The PoissonSolver now calculates the fields and saves them to the arrays in Grid
* PoissonSolver also calculates the potential and stores it in Grid
* There is a Unit test that compares the potential of a point chagre to the analytic result: THIS TEST FAILS

* A charge interpolation algorithm has been added
* A unit tests for the charge interpolation has been added: THIS TEST FAILS

* Charge interpolation and the electrostatic field calculation with the PoissonSolver have been added to the Grid

* A new class in the ui package to play around with the PoissonSolver
* This class outputs data files that store the electric field and the potential, it also creates plots for both of them
* The WriteFile class has been extended, it does not close the stream after each output now, therefore enabling the user to write large files fast