644d0479d8ea52732394ec0a9eaddbdbd2fa9efa
- 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.
Trim.SP - TRIM simulation
Contents
This repository contains the Fortran source code and an accompanying graphical user interface (GUI) for TrimSP - an application for performing Monte Carlo simulations of ion implantation.
- This code is specifically tuned to simulate implantation of low-energy projectiles in materials.
- The code is maintained by the Low Energy Muons (LEM) group at the Paul Scherrer Institute (PSI).
- The GUI is written in Node.js, JavaScript and Electron.
- The binary (statically linked) from the Fortran code is also included.
- RPM and DEB packages are also included.
Supported platforms
Installation
Fortran code compilation
Install the gfortran compiler, then:
cd trimsp/fortran
make
make install
This will install the trimspNL binary in /usr/local/bin,
but it can be moved to any other directory in your PATH.
Running the GUI
Install Node.js (nodejs, nodejs-libs and npm),
then run:
cd trimsp
npm install
npm start
Note: you do not need to run npm install every time.
Next time you can simply run npm start only.
Contact
Zaher Salman zaher.salman@psi.ch
Languages
Fortran
64.7%
JavaScript
24.5%
HTML
6%
CSS
4.5%
Makefile
0.3%