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.
(automatically pulled from GitHub)
- fixed a few bugs 12 May 2014, 4:03 pm
- [src/pic1dp_input.F90] set default value of input_species_nparticle_i… 6 February 2014, 4:21 pm
- [tools] retired XScalarFormatter.py 14 December 2013, 3:25 am
- Merge branch 'master' into dev 14 December 2013, 1:54 am
- ported to PETSc 3.4; renamed optimization technique "throw away marke… 12 December 2013, 3:07 am
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