mit-crpg / opendeplete

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

Fails with OpenMC natural elements #31

Closed wbinventor closed 7 years ago

wbinventor commented 7 years ago

I'm trying to update mit-crpg/ecp-benchmarks to use the latest OpenMC and OpenDeplete. It appears that the OpenDeplete no longer plays nicely with the natural elements used in my OpenMC models. I'm not really sure how to fix this yet, but it appears that lines 199-200 and 209-210 should be expanded to also include elemental number densities. Perhaps this should be done with OpenMC's Material.get_nuclide_densities() which expands natural elements. Thoughts @cjosey?

wbinventor commented 7 years ago

I don't really know what I'm doing, but I think that the OpenMCOperator.set_number_from_mat(...) should also use the Material.get_nuclide_densities() to work with natural elements.

cjosey commented 7 years ago

Closed with #32