Skip to content
/ espic1d Public

espic1d is a particle-in-cell code that simulates an electrostatic plasma in one dimension.

License

Notifications You must be signed in to change notification settings

letapk/espic1d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

espic1d is a particle-in-cell code that simulates an electrostatic plasma in one dimension.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages