24 Commits

Author SHA1 Message Date
d2ff626c8c Changed array sizes to be able to compile with mcmodel=medium and produce statically linked binary. Max rge points 500, max layers 60 and max elements per layer 12. 2023-01-26 22:18:59 +01:00
b18ec1c5fe First working implementation of more than 5 elements. 2023-01-25 16:40:13 +01:00
065fc74269 More fortran code optimizations and cleanup. 2023-01-25 14:38:51 +01:00
e5a0a8048a Optimize fortran code and make it more readable. Omit multiple loops on the layer and fold everything in one loop. 2023-01-25 10:35:21 +01:00
3c7d8a0e65 Ground work for larger number of elements. 2023-01-24 15:43:08 +01:00
12186a8f2f Multiple elements feature started. 2023-01-24 09:49:19 +01:00
84d97b95c9 Final touches for chemical formula feature. 2023-01-23 15:26:51 +01:00
a7ffcaeefe Removed support for old input file format. 2023-01-23 13:05:32 +01:00
c738032ada Finished including chemical formula in input file. Bump version. 2023-01-22 10:52:48 +01:00
c2f0513f4a Insert chem formula in input/output files of fortran code. 2023-01-20 16:01:58 +01:00
d865e7ef08 Add chem formula to input file 2023-01-20 15:34:55 +01:00
edbcd9b3dc Add new staticly linked binary. 2023-01-17 12:47:51 +01:00
7ffa9547f0 Add ToDo.txt and meaning-of-params.txt 2023-01-09 11:42:55 +01:00
76988379d9 Cannot compile with large MAXD 2023-01-04 10:32:46 +01:00
400a507ca2 Merge branch 'master' of bitbucket.org:zaher-salman/trimsp 2023-01-04 09:50:44 +01:00
2589274f73 Different path handeling 2023-01-04 09:50:29 +01:00
98e79d861f better formatting of *.rge output
- increase both the width & decimals when formatting the bin centres
- this fixes a "rounding" bug in the formatting of bin centres when small depth increments (e.g., <= 1 angstrom) were used.
2022-12-31 17:05:13 -04:00
3527d57b40 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2022-12-29 18:48:15 -04:00
af500b2918 Adjust GUI to accept chemical formulae with floats instead of intigers 2022-09-21 17:11:00 +02:00
ecf0105c73 Add some comments to the file. Old input file format to be phased out by end of 2022. 2022-09-21 10:03:46 +02:00
d3de8b2365 Added He projectiles. 2022-09-16 20:06:12 +02:00
644d0479d8 increase the maximum number of points in the depth distribution
- this mitigates the liklihood of truncated output when the "bin"
  size is small (e.g., < 1 nm).
- an additional compiler flag is needed for this (-mcmodel=medium),
  which relaxes some of the assumptions about addresses and sizes
  of sections in the generated code. See:
  https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
- improve the Makefile during the update, too.
2021-09-30 09:17:20 -07:00
1bb1972e9e add optimizations when compiling trimspNL
- this shortens the runtime a simulation significantly (by a factor of ~2).
- the output from trimspNL is identical to when no optimizations are used
2021-09-29 12:51:54 -07:00
8f748e4362 Added fortran code 2021-06-08 15:30:15 +02:00