nbia-astro / skeletor

Parallel PIC code written in Python and based on the skeleton codes provided by PICKSC
GNU General Public License v3.0
1 stars 0 forks source link

Generalize tests to non-zero ky #104

Open tobson opened 7 years ago

tobson commented 7 years ago

Most wave-tests have ky=0. In order for us to catch xy-errors, all those tests should work for arbitrary kx and ky. This means that if the components of the wave vector are defined as

kx = 2*pi*ikx/Lx
ky = 2*pi*iky/Ly

then the tests should work for any integer ikx and iky.

tberlok commented 7 years ago

Tests that already work for any integer ikx and iky

  1. test_plasmafrequency
  2. test_ionacoustic
  3. test_fastwave
  4. test_circular

Tests that could use this improvement

  1. test_twostream

Examples that could use this improvement

Landau damping and circular damping tests.