Skip to content
Three dimensional binary collision Monte Carlo library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
analysis
apps
cmake/Modules
data
inputs
performance
shim
tests
validation
.clang-format
.gitignore
.travis.yml
.travis_bootstrap.sh
.travis_clang-format_test.sh
CMakeLists.txt
LICENSE
README.md
config.h.cmake
element.C
element.h
functions.h
invert.C
invert.h
ion.C Enable clang-format, update headers Aug 6, 2018
ion.h
material.C
material.h
sample.C
sample.h
sample_burried_wire.C Enable clang-format, update headers Aug 6, 2018
sample_burried_wire.h
sample_clusters.C Enable clang-format, update headers Aug 6, 2018
sample_clusters.h
sample_dynamic.C
sample_dynamic.h
sample_layers.C Enable clang-format, update headers Aug 6, 2018
sample_layers.h
sample_solid.C Enable clang-format, update headers Aug 6, 2018
sample_solid.h
sample_wire.C
sample_wire.h
simconf.C
simconf.h
trim.C
trim.h

README.md

MyTRIM Build Status

Three dimensional binary collision Monte Carlo library for sampling ion collision cascades in materials.

The math behind this is based on the book "The Stopping and Range of Ions in Solids" New York: Pergamon Press. By J. F. Ziegler, J. P. Biersack, and U. Littmark (1985 (new edition in 1996)).

Wikipedia article

TRIM Schema

MyTRIM is fully tree dimensional and extendable to arbitrary sample geometries.

Examples

Energy deposition

TRIM Schema

Displacement events calculated by MyTRIM, colored by inelastic energy loss. The cube is 100nm on the side.

Gas resolution

The video linked below shows ion cascades in a ceramic material knocking gas atoms out of a bubble inclusion.

MyTRIM cascade video

JSONCPP

The runmytrim executable needs the jsoncpp library compile it in teh jsoncpp directory with

mkdir build && cd build
cmake -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF  -G "Unix Makefiles" ..
sudo make install

About

The MyTRIM source code is licensed under the LGPL 2.1 license. The data files supplied in data/ are prepared by James. F. Ziegler as part of the SRIM distribution.

This software is provided "AS IS" without any express or implied warranty.

You can’t perform that action at this time.