lcpp-org / RustBCA

A free, open-source Binary Collision Approximation (BCA) code for ion-material interactions including sputtering, implantation, and reflection
https://github.com/lcpp-org/RustBCA/wiki
GNU General Public License v3.0
41 stars 14 forks source link

[feature] Bindings/library upgrade: particle tagging, weighting #147

Closed drobnyjt closed 3 years ago

drobnyjt commented 3 years ago

When coupling to a particle-based code, the current bindings have some drawbacks. Two things one might want to do is to preserve the statistical weight of particles from the coupled code, such that particles sputtered by a particle of weight w will also have weight w.

Another useful feature would be some sort of particle tagging - given an integer flag, retain it through the BCA such that one could keep track of which particles are sputtered by which incident particles.