-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
35 lines (22 loc) · 784 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
README
------
espic1d.c and display.c are programs released under the GNU GPL ver 2 or later.
E-Mail:letapk@gmail.com
Download: https://letapk.wordpress.com
See the file COPYING for details
espic1d is a 1-D electrostatic PIC code, for non-relativistic electrons mobile along the x-axis,
the ions are stationary. The electric field is along the x-axis, and a constant magnetic field
is present along the z-axis.
It uses CGS units everywhere.
Compile:
gcc espic1d.c -lm -o espic1d
Run:
$> ./espic1d
------
display.c is a code for the display of data created by espic1d.
It uses Gnuplot for creating the graphs. This should be accessible from the path.
Compile:
gcc display.c -lm -o display
Run:
$> ./display <argument>
See the comments inside the code further information.