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] distinguish between sputtered and reflected particles in rustbca libraries #156

Closed drobnyjt closed 2 years ago

drobnyjt commented 2 years ago

Is your feature request related to a problem? Please describe. See title - just returning the "incident" flag to the C++ interface should be sufficient.

drobnyjt commented 2 years ago

This is implemented in the tagged BCA implementation. To avoid breaking changes where possible, I don't think it makes sense to implement this in the other library functions (simple_bca_py, compound_bca_c, etc.). Further functions should be added to ensure the Python and Fortran interfaces can take advantage of this.