Particle in Cell Method, written in C++
You will need a C++ compiler, for example gcc, as well as the Eigen library installed on your system. Make sure that the directory /usr/include/Eigen exists on your system, if not you can create a symlink to where Eigen was installed, usually it is /usr/include/eigen3
ln -s /usr/include/eigen3 /usr/include/Eigen
Now you are all set, just run make in the root directory and the code should compile. With make run you can run a test case from the tests directory. Check out the Makefile to see how to use libcpic in your own code.
phi_analyticis the analytic solutionphi_BRis the Boltzmann-electron model solutionphi_GAis the fully kinetic solution using Garcia's infolow boundary conditionphi_GCis the fully kinetic solution using the ghost cell inflow boundary condition