ZPIC codes
The ZPIC project implements a suite of 1D/2D fully relativistic electromagnetic PIC codes, as well as 1D electrostatic, geared towards plasma physics education and research. For a brief discussion about the particle-in-cell algorithm, check the PIC algorithm section.
The ZPIC codes
The ZPIC project consists of 5 different PIC codes, implementing different variants of the PIC algorithm:
- em1d and em2d - Implement fully-relativistic electro-magnetic particle-in-cell codes in 1D and 2D, using a finite difference field solver.
- em1d and em2ds - Implement fully-relativistic electro-magnetic particle-in-cell codes in 1D and 2D, using a spectral field solver.
- es1d - Implements an electro-static particle-in-cell code in 1D.
All codes work in cartesian geometry, meaning that particles will behave as infinite planes (1D codes) or infinite wires (2D codes). No other geometry is currently supported.
The ZPIC implementation
As in any PIC code, the main algorithm of any ZPIC code can essencially be divided into 4 parts. See below for the ZPIC implementation details on each of these parts:
Also check the following sections for details on the units used in ZPIC codes, as well as aditional implementation details.