42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
# Trim.SP - TRIM simulation #
|
|
|
|
### Contents ###
|
|
|
|
This is the fortran source code and GUI of TrimSP Monte-Carlo simulations.
|
|
|
|
* This code is specifically tuned to simulate implantation of low energy projectiles in materials.
|
|
* The code is maintained by the Low Energy Muons group at 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 ###
|
|
|
|
* Linux
|
|
* Online at: http://musruser.psi.ch/cgi-bin/TrimSP.cgi
|
|
|
|
### Installation ###
|
|
###### Fortran code compilation ######
|
|
|
|
Install gfortran compiler, then:
|
|
|
|
cd trimsp/fortran
|
|
make
|
|
make install
|
|
|
|
This will install the `trimspNL` in `/usr/local/bin`, but can be moved to any other directory in your `PATH`.
|
|
|
|
###### Running the GUI ######
|
|
|
|
Install Node.js (nodejs, nodejs-libs and npm), then
|
|
|
|
cd trimsp
|
|
npm install
|
|
npm start
|
|
|
|
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>
|
|
|