Particle in Fourier Discretization of the Vlasov-Poisson and Vlasov-Maxwell system
All details can be found in the following thesis:
https://mediatum.ub.tum.de/1395335
You can do whatever you want with this code, but you could then cite:
@phdthesis {
author = "Ameres, Jakob",
title = "Stochastic and Spectral Particle Methods for Plasma Physics",
type = "Dissertation",
school = "Technische Universität München",
address = "München",
year = 2018
}