Skip to content
Snippets Groups Projects
Commit f043a66b authored by Hans Rabus's avatar Hans Rabus
Browse files

Update README.md

parent 5540a93d
No related branches found
No related tags found
1 merge request!1Add new directory
## How to get the code to run ## How to get the code to run
1. Download all *.f files into the same directory. <br /> 1. Download all *.f files into the same directory. <br />
2. Open a terminal an navigate to this directory. <br /> 2. Open a terminal and navigate to this directory. <br />
Condensed history simulation using Geant4 of the experiment, obtaining input data for the track structure simulations 3. Compile the code using a Fortran 90/95 compatible compiler. <br />
3. Track_Structure_Simulations <br /> Example using gfortran and producing an executable named PTra_HIT:
Track structure simulation using PTra of the particle field in the target volume of the nanodosimeter $ gfortran **PTra_c3h8_20170608HIT.f** > ~/bin/PTra_HIT
4. Create a text file containing the info on the simulation parameters. <br />
An example is provided here as the file **HITEIN_240513.txt**.
5. Create a steering text file (to avoid manual input). <br />
An example is provided here as the file **bco.dat**. (It will be necessary to change the first line to reflect the correct path to the text file containing the info on the simulation parameters.)
6. Open a terminal and navigate to the directory where the data files (produced by FilterExrAp) are situated. <br />
Start the simulation.<br />
Example with the steering file bco.dat:
$ ~/bin/PTra_HIT < bco.dat
in
## Contact ## Contact
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment