lehnertu / TEUFEL

THz Emission from Undulators and Free-Electron Lasers
GNU General Public License v3.0
6 stars 2 forks source link

Test Case to check Vay's algorithm- E cross B #3

Closed vipuljoshi92 closed 7 years ago

vipuljoshi92 commented 7 years ago

particle was tracked through an arbitrary magnetic field with some arbitrary velocity. A crossed electric field was set up and trajectory was checked. Vay algorithm seems to conserve the momentum and correct cancellation of E and B fields are observed

lehnertu commented 7 years ago

I can't pull the examples in. The homogeneous electric field class is missing. Please name it homogeneouselectricfield.h