njoy / ENDFtk

Toolkit for reading and interacting with ENDF-6 formatted files
Other
33 stars 5 forks source link

Feature/has section #173

Closed whaeck closed 10 months ago

whaeck commented 1 year ago

This extends the tree and parsed material object interface by adding a has_mf_mt and has_section function that takes both the MF and MT number of a section.

Also adds a section(mf,mt) function that returns a Section object on the tree Material. Adding this to a parsed Material is slightly more complicated so I'll wait to add it.

whaeck commented 10 months ago

6 months waiting for a review. I'm admin merging this to get it over with.