34 Commits

Author SHA1 Message Date
61b91707cf Fix bug in producing fiels to download on web. 2023-04-21 15:38:53 +02:00
b18ec1c5fe First working implementation of more than 5 elements. 2023-01-25 16:40:13 +01:00
43c3f75764 Fix bug in plotting multiple rge files. 2023-01-25 10:37:14 +01:00
3c7d8a0e65 Ground work for larger number of elements. 2023-01-24 15:43:08 +01:00
84d97b95c9 Final touches for chemical formula feature. 2023-01-23 15:26:51 +01:00
c738032ada Finished including chemical formula in input file. Bump version. 2023-01-22 10:52:48 +01:00
1e25128009 Include chemical formula in output files from the fortran code and optimize Javascript code to use a const object rather than multiple functions. 2023-01-21 12:51:14 +01:00
c2f0513f4a Insert chem formula in input/output files of fortran code. 2023-01-20 16:01:58 +01:00
96a42156d4 Prepare for RPMs 2023-01-17 13:49:36 +01:00
edbcd9b3dc Add new staticly linked binary. 2023-01-17 12:47:51 +01:00
407440aa35 fix typo in file extension 2023-01-12 10:18:12 -04:00
cfdd7db2ec Bug fixes and final modifications. 2023-01-11 23:54:19 +01:00
bfe8ace466 Unified web and standalone versions done. 2023-01-11 22:40:43 +01:00
d68655aaed First working version for both web and node.js 2023-01-11 21:53:42 +01:00
66a1387ed0 More work towards unification of online and standalone versions. 2023-01-10 21:52:34 +01:00
ce5aafd076 Simplify javascript code, towards unification of online and standalone versions. 2023-01-09 11:41:12 +01:00
163935e2ba Add option to force the use of the old ICRU parameters. 2023-01-04 11:46:40 +01:00
632ccf3867 Revert to standardarized elemnt naming to allow expanding to any projectile element. Give warning when density is estimated from weighted average to make sure the user is are aware. 2023-01-04 11:29:49 +01:00
9916d70d84 use updated stopping coefficients for hydrogen-like projectiles
- The stopping coefficients from ICRU Report 49 (published in 1993) are now
  fairly old, with many originating from the even older compilation by
  Anderson & Ziegler (published in 1977). For some target elements, little
  experimental data was available at the time of publication and the tabulated
  values are not necessarily reliable.
- This patch provides revised values for stopping coefficients in select
  elemental targets derived from Varelas-Biersack fits to stopping data
  compiled in the IAEA's database (https://www-nds.iaea.org/stopping/).
  For further details on their determination, see e.g.:
  https://doi.org/10.48550/arXiv.2212.11081
- When creating input files for trimspNL using the GUI, the default behaviour
  is changed to prefer using the revised coefficients. In instances where
  updated values are unavailable (e.g., due to lack of experimental data),
  fall back to using the coefficients from ICRU Report 49.
2023-01-03 12:35:26 -04:00
7c9360875c improve handeling of layer densities
- when a layer's composition isn't found in the (internal) dictionary of
  compounds, estimate its density using a weighted average of elemental
  densities.
- this fixes the annoying behaviour of having an "undefined" density passed
  to the generated input file when the user forgets to update the density
  manually.
2022-12-29 22:02:15 -04:00
4e68962937 fix "smart" matching of projectile & parameter defaults
- mismatch caused by changes in commit 4683945a71
2022-12-29 19:54:01 -04:00
3527d57b40 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2022-12-29 18:48:15 -04:00
4683945a71 add better labelling of internals/externals
- use clearer notation for isotope-specific projectiles
- harmonize formatting of GUI labels (consistent naming, add missing units, fix typos, etc.)
- use more verbose/descriptive naming of the function/dictionary handelling the electronic stopping coefficients (for easier extension later).
2022-12-27 17:06:52 -04:00
0e0aef010f Better handeling of working path 2022-12-13 13:29:37 +01:00
af500b2918 Adjust GUI to accept chemical formulae with floats instead of intigers 2022-09-21 17:11:00 +02:00
d3de8b2365 Added He projectiles. 2022-09-16 20:06:12 +02:00
d2c985ed87 add magnesium-31 as a projectile option
- use its AME2020 mass
2021-09-29 09:28:44 -07:00
42d131ebae update the masses of lithium-8 and boron-12
- use results from the new atomic mass evaluation AME2020:
  https://doi.org/10.1088/1674-1137/abddb0
  https://doi.org/10.1088/1674-1137/abddaf
2021-09-29 09:18:52 -07:00
e286702731 update the muon mass
- use the 2018 CODATA recommended value, see:
  https://doi.org/10.1103/RevModPhys.93.025010
  https://physics.nist.gov/cuu/Constants/index.html
2021-09-29 09:07:06 -07:00
Zaher Salman
f6536d961e Check if trimspNL found. 2021-06-14 23:16:48 +02:00
Zaher Salman
984aef11cd Use app path to determine where trimspNL binary is. 2021-06-14 22:46:07 +02:00
27077c802d Take trimspNL from standard path 2021-06-08 16:07:25 +02:00
Zaher Salman
52bd6ec981 Fixed relative path for trimspNL binary. 2021-06-06 22:33:06 +02:00
Zaher Salman
7735c3d78d First upload 2021-06-06 18:34:29 +02:00