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_simulationto generate a graph from the scatterplot.csv, you need have python with pip and do
pip install numpy matplotlib pandas scipyyou then need to run the python program like
python graph.pythis will open a window showing the density graph
