| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename | the name of the SRIM output file - usually RANGE.txt |
||
| real(kind=8), | intent(out), | allocatable, dimension(:) | :: | x | the right hand x coordinate of the depth bin |
|
| real(kind=8), | intent(out), | allocatable, dimension(:) | :: | s | the amount of ions deposited in the bin |
This subroutine opens a SRIM output file and reads the distribution of ions in the sample, outputting those to x and s
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=100), | public | :: | buffer | ||||
| integer(kind=4), | public | :: | n | ||||
| integer(kind=4), | public | :: | j | ||||
| integer(kind=4), | public | :: | i | ||||
| integer(kind=4), | public | :: | eof | = | 0 | ||
| real(kind=8), | public | :: | dummy |