Commit Graph

42 Commits

Author SHA1 Message Date
salman b35fabe853 Cannot compile with large MAXD 2023-01-04 10:32:46 +01:00
salman 281f4e1e02 Merge branch 'master' of bitbucket.org:zaher-salman/trimsp 2023-01-04 09:50:44 +01:00
salman 87682645bc Different path handeling 2023-01-04 09:50:29 +01:00
ext-mcfadd_r 004b306ca5 Merged in main (pull request #1)
miscellaneous improvements & bugfixes

Approved-by: Zaher Salman
2023-01-04 08:42:44 +00:00
ext-mcfadd_r 61084337c7 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
ext-mcfadd_r 282f36ea9d add literature links to the readme 2023-01-01 11:56:32 -04:00
ext-mcfadd_r debb193247 further refinement to the "other parameters" tab
- expand/improve parameter descriptions
- use ordered lists to display value options
- allow text wrapping in table cells
2022-12-31 20:04:46 -04:00
ext-mcfadd_r f3302ad5be 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
ext-mcfadd_r e65a0993ec 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
ext-mcfadd_r 62ae84382c fix "smart" matching of projectile & parameter defaults
- mismatch caused by changes in commit 29da5776af
2022-12-29 19:54:01 -04:00
ext-mcfadd_r 7fc4cb06e7 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2022-12-29 18:48:15 -04:00
ext-mcfadd_r eb3aac43e6 add explanatory text for the "other" simulation parameters
- also include link to Eckstein's book
2022-12-28 12:45:48 -04:00
ext-mcfadd_r 29da5776af 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
salman 7ac303a99e Better handeling of working path 2022-12-13 13:29:37 +01:00
salman bea03ac0cf Adjust GUI to accept chemical formulae with floats instead of intigers 2022-09-21 17:11:00 +02:00
salman 9724c86a40 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
salman 630f3b742d Added He projectiles. 2022-09-16 20:06:12 +02:00
Zaher Salman 9032336e7c Readme.md edited online with Bitbucket 2022-09-16 14:11:28 +00:00
ext-mcfadd_r b9029a33b3 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
ext-mcfadd_r 14629e0e1e 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
ext-mcfadd_r 838de27298 fix typo 2021-09-29 11:27:03 -07:00
ext-mcfadd_r 2e31e46e37 add .gitignore template for javascript
- from: https://github.com/github/gitignore
2021-09-29 11:24:16 -07:00
ext-mcfadd_r 4f5de75a81 update the README
- add some hyperlinks
- small updates to the text/formatting
2021-09-29 10:48:02 -07:00
ext-mcfadd_r c2d8618bd2 add magnesium-31 as a projectile option
- use its AME2020 mass
2021-09-29 09:28:44 -07:00
ext-mcfadd_r b06395ed89 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
ext-mcfadd_r 1ccbda43b1 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 27fbc380cb Check if trimspNL found. 2021-06-14 23:16:48 +02:00
Zaher Salman 47a135b1ee Use app path to determine where trimspNL binary is. 2021-06-14 22:46:07 +02:00
salman 97b6969af1 Added icons 2021-06-11 17:23:07 +02:00
salman 11e3741ee0 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2021-06-11 17:22:22 +02:00
salman 8b8e163b78 Added browse folder button. 2021-06-11 17:22:01 +02:00
Zaher Salman 1369acb012 Readme.md edited online with Bitbucket 2021-06-08 14:24:39 +00:00
Zaher Salman 12c77c6456 Readme.md edited online with Bitbucket 2021-06-08 14:14:07 +00:00
salman e95de87532 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2021-06-08 16:07:48 +02:00
salman 6ec10e7df3 Take trimspNL from standard path 2021-06-08 16:07:25 +02:00
Zaher Salman b9b4d40c0d Readme.md edited online with Bitbucket 2021-06-08 13:49:06 +00:00
Zaher Salman cc0e559185 Readme.md edited online with Bitbucket 2021-06-08 13:44:29 +00:00
salman b0b2d2593b Updated the readme file 2021-06-08 15:40:22 +02:00
salman eb3388a0b7 Add Readme file 2021-06-08 15:31:04 +02:00
salman ca075e7619 Added fortran code 2021-06-08 15:30:15 +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