-
Couldn't load subscription status.
- Fork 20
Source Code
main.rs includes the core code loop, I/O, constants and imports, and the data structures Vector and Vector4.
particle.rs includes the Particle struct, used for tracking ions and atoms in the code. Functions for rotation, advancement in space, and refraction of particles are also included.
material.rs contains the Material struct and associated functions. Material includes methods for determining the electronic stopping power, pulling information from the mesh, and determining whether points are inside or outside of the material.
mesh.rs contains the Mesh2D struct and associated data structures and functions for handling inhomogeneous composition of materials.
bca.rs contains the main BCA algorithms that involve both particles and materials, including distance of closest approach calculation and scattering angle determination.
interactions.rs contains the interatomic potentials used in the code.
Click Pages above to see all pages in the Wiki.
This page is a work in progress.