8 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
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
12186a8f2f Multiple elements feature started. 2023-01-24 09:49:19 +01:00
edbcd9b3dc Add new staticly linked binary. 2023-01-17 12:47:51 +01: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