Commit Graph

53 Commits

Author SHA1 Message Date
salman cfdd7db2ec Bug fixes and final modifications. 2023-01-11 23:54:19 +01:00
salman bfe8ace466 Unified web and standalone versions done. 2023-01-11 22:40:43 +01:00
salman d68655aaed First working version for both web and node.js 2023-01-11 21:53:42 +01:00
salman 66a1387ed0 More work towards unification of online and standalone versions. 2023-01-10 21:52:34 +01:00
salman 7ffa9547f0 Add ToDo.txt and meaning-of-params.txt 2023-01-09 11:42:55 +01:00
salman ce5aafd076 Simplify javascript code, towards unification of online and standalone versions. 2023-01-09 11:41:12 +01:00
salman 78fb7c616d Use tooltips instead of <details>. 2023-01-04 14:42:08 +01:00
salman 163935e2ba Add option to force the use of the old ICRU parameters. 2023-01-04 11:46:40 +01:00
salman 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
salman 76988379d9 Cannot compile with large MAXD 2023-01-04 10:32:46 +01:00
salman 400a507ca2 Merge branch 'master' of bitbucket.org:zaher-salman/trimsp 2023-01-04 09:50:44 +01:00
salman 2589274f73 Different path handeling 2023-01-04 09:50:29 +01:00
ext-mcfadd_r 8547e2997c Merged in main (pull request #1)
miscellaneous improvements & bugfixes

Approved-by: Zaher Salman
2023-01-04 08:42:44 +00:00
ext-mcfadd_r 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
ext-mcfadd_r 183e2ac360 add literature links to the readme 2023-01-01 11:56:32 -04:00
ext-mcfadd_r 86992133f0 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 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
ext-mcfadd_r 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
ext-mcfadd_r 4e68962937 fix "smart" matching of projectile & parameter defaults
- mismatch caused by changes in commit 4683945a71
2022-12-29 19:54:01 -04:00
ext-mcfadd_r 3527d57b40 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2022-12-29 18:48:15 -04:00
ext-mcfadd_r 9551cbdd01 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 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
salman 0e0aef010f Better handeling of working path 2022-12-13 13:29:37 +01:00
salman af500b2918 Adjust GUI to accept chemical formulae with floats instead of intigers 2022-09-21 17:11:00 +02:00
salman 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
salman d3de8b2365 Added He projectiles. 2022-09-16 20:06:12 +02:00
Zaher Salman d7c1ec7fee Readme.md edited online with Bitbucket 2022-09-16 14:11:28 +00:00
ext-mcfadd_r 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
ext-mcfadd_r 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
ext-mcfadd_r 5fa07b0e39 fix typo 2021-09-29 11:27:03 -07:00
ext-mcfadd_r 824f24261b add .gitignore template for javascript
- from: https://github.com/github/gitignore
2021-09-29 11:24:16 -07:00
ext-mcfadd_r 306fe57d32 update the README
- add some hyperlinks
- small updates to the text/formatting
2021-09-29 10:48:02 -07:00
ext-mcfadd_r d2c985ed87 add magnesium-31 as a projectile option
- use its AME2020 mass
2021-09-29 09:28:44 -07:00
ext-mcfadd_r 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
ext-mcfadd_r 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 349b625b98 Replace dep and rpm packages with a better version. 2021-06-14 22:49:13 +02:00
Zaher Salman 984aef11cd Use app path to determine where trimspNL binary is. 2021-06-14 22:46:07 +02:00
salman ccf8170c8b Added icons 2021-06-11 17:23:07 +02:00
salman 0295d9b531 Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2021-06-11 17:22:22 +02:00
salman c9d3132cdb Added browse folder button. 2021-06-11 17:22:01 +02:00
Zaher Salman 95ddff56a2 Readme.md edited online with Bitbucket 2021-06-08 14:24:39 +00:00
Zaher Salman 961fc41ed6 Readme.md edited online with Bitbucket 2021-06-08 14:14:07 +00:00
salman adc627efce Merge branch 'master' of https://bitbucket.org/zaher-salman/trimsp 2021-06-08 16:07:48 +02:00
salman 27077c802d Take trimspNL from standard path 2021-06-08 16:07:25 +02:00
Zaher Salman b65cf52fb4 Readme.md edited online with Bitbucket 2021-06-08 13:49:06 +00:00
Zaher Salman e3aad63e85 Readme.md edited online with Bitbucket 2021-06-08 13:44:29 +00:00
salman 5ebcdfda2f Updated the readme file 2021-06-08 15:40:22 +02:00
salman 6cc166a17a Add Readme file 2021-06-08 15:31:04 +02:00
salman 8f748e4362 Added fortran code 2021-06-08 15:30:15 +02:00