mit-crpg / opendeplete

A depletion framework for OpenMC
MIT License
15 stars 5 forks source link

Fixed issue with material name #11

Closed wbinventor closed 7 years ago

wbinventor commented 7 years ago

This short PR ensures that only cells filled with materials are considered for depletion, while those filled with universes or lattices are ignored.

cjosey commented 7 years ago

I'm glad you caught this. I'm not as familiar with the OpenMC API as I'd like, so I would not have found out about this function.

I ran both this and the version in which lines 206-209 were removed. Both passed my test suite.

wbinventor commented 7 years ago

This is up-to-date per your comments @cjosey.