Changes from @paulromano's 6th round of comments

- add more detail to `MicroXS` example in User's Guide
- Cleanup the `from_model` method
- Reduce repeated code between `MicroXS` and `CoupledOperator`
This commit is contained in:
yardasol 2022-08-03 17:43:48 -05:00
parent cbb0ee9964
commit c3921b735f
3 changed files with 62 additions and 44 deletions

View file

@ -216,9 +216,7 @@ and a path to a depletion chain file::
materials = openmc.Materials()
...
micro_xs = openmc.deplete.MicroXS
...
micro_xs = openmc.deplete.MicroXS.from_csv(micro_xs_path)
op = openmc.deplete.IndependentOperator(materials, micro_xs, chain_file)
.. note::