Commit Graph

89 Commits

Author SHA1 Message Date
ext-mcfadd_r fc754e2a31 update the revised stopping power coefficients for O, Si, and Nb
- the revised values use data from version 2023-03 of the IAEA's stopping power database, which includes error estimates that were absent from earlier versions (i.e., versions 2021-12 and earlier).
2024-08-12 16:58:33 -07:00
ext-mcfadd_r b3685ec6e4 move text outside of ordered list 2024-08-12 16:52:05 -07:00
ext-mcfadd_r 1129ae00a5 clarify the default behaviour in the tooltip text 2024-08-12 16:46:53 -07:00
ext-mcfadd_r 391c25ef93 more stopping power coefficient options
This patch modularizes the code responsible for selecting the stopping power coefficients. Specifically, it:

- moves the data in `elemPars` to seperate JSON files in the `data/` directory. This makes it easier to modify the existing data or add new data sources. Note that this refactoring does not alter the previous functionality - the contents of each file are simply read and deep-merged into an initially empty `elemPars` object.
- adds the original Varelas-Biersack parameters from Anderson & Ziegler (1977).
- updates the "Other Parameters" tab in the GUI for easy toggling between the different stopping power coefficient data sources.
2024-08-12 16:24:42 -07:00
salman 8222bab5ea Fix bug in producing fiels to download on web. 2023-04-21 15:38:53 +02:00
salman c44af3b4d6 Added Ar projectile. 2023-04-20 17:28:59 +02:00
salman aa2766a69d Use POST instead of GET to exchange info with webservers and load ascii data with the correct mimetype. 2023-04-07 16:15:49 +02:00
salman 97f0753f76 Workaround bug with open button in GNOME file browser 2023-03-21 11:23:53 +01:00
salman eef35b4d2d Workaround bug with open button in GNOME file browser 2023-03-17 16:23:30 +01:00
Zaher Salman 4b9883618d Merged master into feature/numElem 2023-01-27 08:13:38 +00:00
salman a9fe878d87 Add LICENSE GPLv3 2023-01-27 08:10:05 +00:00
salman 2a01fbcbde 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
salman b1f3ecd5b0 First working implementation of more than 5 elements. 2023-01-25 16:40:13 +01:00
salman 687537eb45 More fortran code optimizations and cleanup. 2023-01-25 14:38:51 +01:00
salman 6cc2ccf353 Fix bug in plotting multiple rge files. 2023-01-25 10:37:14 +01:00
salman 2f0d2fafa1 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
salman f690462446 Ground work for larger number of elements. 2023-01-24 15:43:08 +01:00
salman 9958c12717 Multiple elements feature started. 2023-01-24 09:49:19 +01:00
salman a584605c6d Final touches for chemical formula feature. 2023-01-23 15:26:51 +01:00
salman 587c20636e Removed support for old input file format. 2023-01-23 13:05:32 +01:00
Zaher Salman 586dee5aca Merged feature/chemcormula into master 2023-01-22 09:59:15 +00:00
salman b2802c9841 Resolve conflict before merge 2023-01-22 10:58:33 +01:00
salman b391a15c92 Finished including chemical formula in input file. Bump version. 2023-01-22 10:52:48 +01:00
salman 9bddb5aae1 Update Readme.md file. 2023-01-21 13:04:20 +01:00
salman 1fa7f7a27a 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
salman 837b3e858e Insert chem formula in input/output files of fortran code. 2023-01-20 16:01:58 +01:00
salman f9b5cbff7a Add chem formula to input file 2023-01-20 15:34:55 +01:00
salman 1472fc4d48 Start with clean nodes 2023-01-20 15:32:02 +01:00
salman 8cea9aa520 Update ToDo and .gitignore 2023-01-19 16:30:20 +01:00
salman 0a09b29af8 Remove animation and ignore some files. 2023-01-19 15:10:42 +01:00
salman daa8be67b3 Prepare for RPMs 2023-01-17 13:49:36 +01:00
suter_a 15c9413276 Fix icon issues. 2023-01-17 12:54:18 +01:00
salman 74a2668a2e Add new staticly linked binary. 2023-01-17 12:47:51 +01:00
ext-mcfadd_r 27533498aa Merged in main (pull request #2)
fix typo in file extension
2023-01-12 17:09:33 +00:00
ext-mcfadd_r 109919a18c fix typo in file extension 2023-01-12 10:18:12 -04:00
salman 0eab71ca40 Code reorganization and fix regresion. 2023-01-12 11:14:57 +01:00
salman 58e3b44706 Fix bug with html link not being updated. 2023-01-12 10:19:56 +01:00
salman 79b35a9f78 Cleanup. 2023-01-11 23:56:27 +01:00
salman 0bf513a9ad Bug fixes and final modifications. 2023-01-11 23:54:19 +01:00
salman 7fce9c5d12 Unified web and standalone versions done. 2023-01-11 22:40:43 +01:00
salman ac3e1ea0d6 First working version for both web and node.js 2023-01-11 21:53:42 +01:00
salman 274cd54133 More work towards unification of online and standalone versions. 2023-01-10 21:52:34 +01:00
salman 8f8def70f2 Add ToDo.txt and meaning-of-params.txt 2023-01-09 11:42:55 +01:00
salman 2836b178ba Simplify javascript code, towards unification of online and standalone versions. 2023-01-09 11:41:12 +01:00
salman dc2d5dd866 Use tooltips instead of <details>. 2023-01-04 14:42:08 +01:00
salman c7d29781ee Add option to force the use of the old ICRU parameters. 2023-01-04 11:46:40 +01:00
salman db0389de8b 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 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