Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

fvalle1/cosmicrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

res.png

cosmicrays

Fortran openmp Gplv3

This is intended to simulate the distribution of cosmic ray coming throw atmosphere

compile and run

compile: make

run: ./raggi 8 Files 1

note: you need openMP to run in multi proccessors machines.

how it works

This generates many rays randomly through all directions, then the function:

real function Prob(esse)
real:: esse
real, parameter:: a = 1.2 !Factor to try
	Prob = 1 - e**(-a*esse)
end function

simulates the decadence caused by atmosphere.

license

Gplv3

For further details see LICENSE.

Releases

No releases published

Packages

No packages published