Skip to content

A program in fortran that simulates the scattering of particles off of an energy barrier. then a python program that turns the output csv from the fortran one into a density graph.

License

Notifications You must be signed in to change notification settings

Mythstik/scattering-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scattering-simulator

A program in fortran that simulates the scattering of particles off of an energy barrier. then a python program that turns the output csv from the fortran one into a density graph.

To use modify the paremeters within scattering_simulation.f90 at the top of the file and run

gfortran scattering_simulation.f90 -o scattering_simulation
./scattering_simulation

to generate a graph from the scatterplot.csv, you need have python with pip and do

pip install numpy matplotlib pandas scipy

you then need to run the python program like

python graph.py

this will open a window showing the density graph

About

A program in fortran that simulates the scattering of particles off of an energy barrier. then a python program that turns the output csv from the fortran one into a density graph.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published