PIC1D-PETSc (pic1dp) is a code simulating 1D electrostatic plasma by solving Vlasov-Poisson equation using particle-in-cell (PIC) method. PIC1D-PETSc is a reimplementation of Zhihong Lin’s PIC1D. This reimplementation demonstrates the possibility of formulating PIC method in a vector-matrix form and tests the practicability of implementing the vector-matrix PIC formulation using PETSc.
PIC1D-PETSc is released under the GNU General Public License version 3.
PIC1D-PETSc also requires a Fortran 2003 compiler for compilation. PIC1D-PETSc has been tested with GNU Fortran 4.6.
The formulation document requires LaTeX to compile. If you don’t have LaTeX at hand, you can download a pdf copy of the formulation here:
New version is released on a rolling basis. Download the latest version here:
This project is hosted at GitHub, so if you have Git installed, you can also clone the project by executing in your terminal:
git clone git://github.com/wenjundeng/pic1dp.git
This way you can easily upgrade your copy to the latest version by executing:
cd pic1dp git pull
See README.md included in the download package.
Report bugs, request new features at: https://github.com/wenjundeng/pic1dp/issues.
Contribute patches or new features by forking the project on GitHub: https://github.com/wenjundeng/pic1dp, applying your contributions to the forked project, then submit a pull request at: https://github.com/wenjundeng/pic1dp/pulls.
See also: PIC1D-PETSc is used in Section 3 of Optimization by marker removal for δf particle simulations