mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 06:05:58 -04:00
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:
parent
cbb0ee9964
commit
c3921b735f
3 changed files with 62 additions and 44 deletions
|
|
@ -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::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue