Commit graph

178 commits

Author SHA1 Message Date
alex-lyons
1312a1cc63 Obtain last statepoint from a glob of output dir. Reverted regex filter in executor as this is no longer needed 2020-03-27 07:47:49 -05:00
alex-lyons
f98c34b7c9 fix comment description 2020-03-27 07:47:44 -05:00
alex-lyons
954154fa48 Changed PyAPI model and executor to read correct last statepoint after runs with trigger, including new test case 2020-03-27 07:46:47 -05:00
Paul Romano
cf6b67c05d Remove explicit inheritance from object for Python classes 2020-03-23 12:12:31 -05:00
Paul Romano
bbb0b78383 Rename openmc.capi -> openmc.lib 2019-09-13 10:38:26 -05:00
Andrew Johnson
1e6f15236a
fiss_q_values -> fission_q for passing q values 2019-06-28 10:30:28 -05:00
Andrew Johnson
0e125b2548
Option to pass fission q values to Chain, Operator, Model
A dictionary of constant fission q values [eV] can be passed
into the initialization of deplete.Chain, deplete.Operator,
and model.Model objects. This can be used for direct
comparisons with other codes with readily available
constant Q-values.

Tests have been added on the Chain and Operator side.
The additional fiss_q_values passed into Model is forwarded
directly on to the Operator call.
2019-06-27 11:42:18 -05:00
Andrew Johnson
ed6c78a0e7
Fix documentation in openmc/model/model.py 2019-06-14 13:43:22 -04:00
Andrew Johnson
f1e930b8ba
Remove mention of OPENMC_DEPLETE_CHAIN in model.py 2019-06-13 19:06:07 -04:00
Paul Romano
17d778e57f Allow export_to_xml methods to take a directory 2019-03-12 11:42:51 -05:00
liangjg
760baa43d6 address review comments from @paulromano 2019-01-31 12:01:55 -05:00
liangjg
cbbac7df8d refactor CE/LI and LE/QI 2019-01-23 15:08:55 -05:00
liangjg
952bddb61e update doc of openmc.deplete and openmc.Model.deplete 2019-01-21 00:00:05 -05:00
Shikhar Kumar
ee9a6ab065 So begins the CMFD Fortran purge :D (~3.6K lines) 2018-11-24 00:13:37 -05:00
Patrick Shriwise
5cd52a4048 Fix variable name. 2018-11-07 15:23:40 -06:00
Patrick Shriwise
532667fba5 Adding a check for dagmc when exporting an OpenMC model. 2018-11-07 15:15:49 -06:00
Paul Romano
8487915f2a Use ufloat for k_combined in statepoint 2018-03-15 11:02:07 -05:00
Sterling Harper
80959dc82b Dont import capi (through model) on import openmc 2018-03-13 13:53:07 -04:00
Paul Romano
cc57551bd3 Fix bug in Model.run() 2018-02-25 15:22:30 -06:00
Paul Romano
4a500df455 Add Model.deplete method to make user's life easier 2018-02-20 16:40:18 -06:00
Paul Romano
d3d6dc87dc Remove a few more __future__ imports. Use collections.abc 2018-02-05 23:14:30 -05:00
Paul Romano
7156d7cd98 Respond to @nelsonag comments on #852 2017-04-08 15:48:20 -05:00
Paul Romano
44949016b5 Use del a[:] instead of a.clear() for lists (latter doesn't work in Py2) 2017-04-07 21:04:14 -05:00
Paul Romano
1099d8bd9d Use StatePoint context manager for keff search 2017-04-07 21:04:14 -05:00
Paul Romano
fc0c907030 Add openmc.examples module that replaces input_set.py from tests 2017-04-07 21:04:10 -05:00
Adam Nelson
b63e1133f9 Updated per @paulromano comments 2017-03-20 21:10:04 -04:00
Adam Nelson
2d848401c1 Added docstrings to model methods 2017-03-19 17:44:56 -04:00
Adam Nelson
4b7a7e900b Moved the ModelContainer to models.Model, and allowed for brackets and choices on the solver methods 2017-03-18 20:53:59 -04:00
Renamed from openmc/modelcontainer.py (Browse further)