openpixi/openpixi — pull request #19 by okapetan (2012-05-19 15:29:48+00:00)
Title: Corrections of relativistic routines and in Boris prepare/complete

Correction in the prepare() and complete() methods in Boris in BorisRelativistic. In order to do these corrections, definning new help variables in Particle was necessary. Corrections in the relativistic versions of the solvers was also done and a basis class for them was created. A new methode for calculating the relativistic factor gamma was created (in the basis class of the relativistic solvers). The constructors of the classes for the relativistic solvers were changed, in order to obtain c (velocity of light) from the simulation. A few errors that were made from changing the contructors in Particle2DPanel were corrected. A new test class was also created for the relativistic version of the Boris solver in order to test the new prepare() and complete() methods.