Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added method to remove unused materials / elements / isotopes #42

Merged
merged 2 commits into from
Dec 2, 2021

Conversation

lobis
Copy link
Contributor

@lobis lobis commented Nov 29, 2021

#41

Code should work but it is not tested with geometry where material is composed of other materials (only tested when material is composed of multiple elements).

There are a few assertions commented in the test because I couldn't get them to work but if implemented they should provide a decent check.

I also updated the babyIAXO.gdml geometry for a new one with excess materials, in order to use in the test.

lobis added a commit to lobis/radiation-transport that referenced this pull request Nov 29, 2021
…to remove excess materials SciProgCentre/gdml.kt#42 improving load speed significantly
@altavir
Copy link
Member

altavir commented Nov 30, 2021

Thanks a lot. I will review and merge soon.

@lobis lobis requested a review from altavir December 2, 2021 16:12
@altavir altavir merged commit bfd113f into SciProgCentre:dev Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants