svalinn / r2s-act

Rigorous 2 Step Activation Workflow
4 stars 7 forks source link

Step 1 failure due to not tagging materials #49

Closed erelson closed 11 years ago

erelson commented 11 years ago

In the case where the workflow is being done with native MCNP geometry and an unstructured mesh tally, r2s_step1.py does not tag the mesh with materials, and subsequently throws an error.

When refactoring r2s_step1, the unofficial test cases used (1) unstructured mesh with dagmc model tagged in cubit; and (2) structured mesh with materials via mmgrid.py; Thus the above case was missed.

This should be tested for, as well.

erelson commented 11 years ago

Was in fact a conditionals bug. Fixed.